Uses of Class
java.lang.Class
-
Packages that use 类 软件包 描述 com.sun.java.accessibility.util 提供组成Java Accessibility Utilities的接口和类的集合。com.sun.source.tree 提供将源代码表示为抽象语法树(AST)的接口。java.awt 包含用于创建用户界面和绘制图形和图像的所有类。java.awt.datatransfer 提供用于在应用程序之间和之内传输数据的接口和类。java.awt.dnd 拖放是在许多图形用户界面系统中发现的直接操纵手势,其提供了在GUI中与表示元素逻辑相关联的两个实体之间传递信息的机制。java.awt.image.renderable 提供用于生成与渲染无关的图像的类和接口。java.beans 包含与开发 bean相关的类 - 基于JavaBeans™体系结构的组件。java.beans.beancontext 提供与bean上下文相关的类和接口。java.io 通过数据流,序列化和文件系统提供系统输入和输出。java.lang 提供对Java编程语言设计至关重要的类。java.lang.annotation 为Java编程语言注释工具提供库支持。java.lang.instrument 提供允许Java编程语言代理程序检测在JVM上运行的程序的服务。java.lang.invoke java.lang.invoke程序包提供用于与Java虚拟机交互的低级基元。java.lang.management 提供用于监视和管理Java虚拟机以及Java运行时中的其他组件的管理界面。java.lang.reflect 提供用于获取有关类和对象的反射信息的类和接口。java.net 提供实现网络应用程序的类。java.nio.file 定义Java虚拟机的接口和类,以访问文件,文件属性和文件系统。java.nio.file.spi java.nio.file程序包的服务提供程序类。java.rmi.server 提供用于支持RMI服务器端的类和接口。java.security 提供安全框架的类和接口。java.sql 提供使用Java™编程语言访问和处理存储在数据源(通常是关系数据库)中的数据的API。java.util 包含集合框架,一些国际化支持类,服务加载器,属性,随机数生成,字符串解析和扫描类,base64编码和解码,位数组和几个其他实用程序类。java.util.concurrent.atomic 一个小型工具包,支持对单个变量进行无锁线程安全编程。java.util.prefs 该软件包允许应用程序存储和检索用户和系统首选项和配置数据。javax.annotation.processing 用于声明注释处理器和允许注释处理器与注释处理工具环境通信的工具。javax.crypto 提供加密操作的类和接口。javax.imageio.metadata 处理读取和写入元数据的Java Image I / O API包。javax.imageio.spi 一个Java Image I / O API包,包含读取器,编写器,转码器和流的插件接口,以及运行时注册表。javax.lang.model 用于为Java编程语言建模的包的类和层次结构。javax.lang.model.element 用于建模Java编程语言元素的接口。javax.management 提供Java Management Extensions的核心类。javax.management.loading 提供实现高级动态加载的类。javax.management.openmbean 提供开放数据类型和Open MBean描述符类。javax.naming.spi 提供通过javax.naming及相关软件包动态插入支持访问命名和目录服务的javax.naming。javax.print 提供Java™打印服务API的主要类和接口。javax.print.attribute 提供描述Java™打印服务属性类型的类和接口,以及如何将它们收集到属性集中。javax.print.attribute.standard 包javax.print.attribute.standard包含特定打印属性的类。javax.script 脚本API由定义Java脚本引擎的接口和类组成,并为它们在Java应用程序中的使用提供了框架。javax.security.auth 该包提供了身份验证和授权的框架。javax.sound.midi 为MIDI(乐器数字接口)数据的I / O,排序和合成提供接口和类。javax.sound.sampled 提供用于捕获,处理和回放采样音频数据的接口和类。javax.sql 提供用于从Java™编程语言访问和处理服务器端数据源的API。javax.sql.rowset JDBCRowSet实现的标准接口和基类。javax.sql.rowset.serial 提供实用程序类,以允许Java类型和Java编程语言中的数据类型之间的可序列化映射。javax.swing 提供一组“轻量级”(全Java语言)组件,这些组件在所有平台上尽可能地工作。javax.swing.event 提供由Swing组件触发的事件。javax.swing.plaf.synth Synth是一种可换肤的外观和感觉,其中所有的绘画都被委派。javax.swing.table 提供用于处理javax.swing.JTable类和接口。javax.swing.text 提供处理可编辑和不可编辑文本组件的类和接口。javax.swing.tree 提供用于处理javax.swing.JTree类和接口。javax.tools 为可以从程序调用的工具提供接口,例如编译器。javax.xml.xpath 提供 对象模型中性 API,用于评估XPath表达式和访问评估环境。jdk.dynalink.beans 包含普通Java对象的链接器。jdk.dynalink.linker 包含语言运行时所需的接口和类,以实现其自己的语言特定对象模型和类型转换。jdk.dynalink.linker.support 包含类,通过提供某些类的基本实现以及各种实用程序,使语言运行时更方便地实现自己的语言特定对象模型和类型转换。jdk.jfr 该软件包提供了用于创建事件和控制Flight Recorder的类。jdk.jshell.execution 为构建JShell执行引擎提供实现支持。jdk.nashorn.api.scripting 该软件包提供了javax.script集成,这是使用Nashorn的首选方式。jdk.nashorn.api.tree Nashorn解析器API提供接口以将ECMAScript源代码表示为抽象语法树(AST)和解析器以解析ECMAScript源脚本。jdk.net java.net和java.nio.channels套接字类的特定于平台的套接字选项。 -
-
Uses of 类 in com.sun.java.accessibility.util
Methods in com.sun.java.accessibility.util that return 类 变量和类型 方法 描述 protected static 类<?>Translator. getTranslatorClass(类<?> c)找到这个班的翻译。Methods in com.sun.java.accessibility.util with parameters of type 类 变量和类型 方法 描述 voidAccessibilityListenerList. add(类<? extends EventListener> t, EventListener l)将侦听器添加为指定类型的侦听器。intAccessibilityListenerList. getListenerCount(类<? extends EventListener> t)返回此侦听器列表提供的类型的侦听器总数。protected static 类<?>Translator. getTranslatorClass(类<?> c)找到这个班的翻译。voidAccessibilityListenerList. remove(类<? extends EventListener> t, EventListener l)删除侦听器作为指定类型的侦听器。 -
Uses of 类 in com.sun.source.tree
Methods in com.sun.source.tree that return 类 变量和类型 方法 描述 类<? extends 树>Tree.Kind. asInterface()返回使用此类型的关联接口类型。 -
Uses of 类 in java.awt
Methods in java.awt with parameters of type 类 变量和类型 方法 描述 <T extends DragGestureRecognizer>
TToolkit. createDragGestureRecognizer(类<T> abstractRecognizerClass, DragSource ds, Component c, int srcActions, DragGestureListener dgl)创建请求的抽象DragGestureRecognizer类的具体的,平台相关的子类,并将其与指定的DragSource,Component和DragGestureListener相关联。static <T extends EventListener>
T[]AWTEventMulticaster. getListeners(EventListener l, 类<T> listenerType)返回由指定的java.util.EventListener链接为FooListener的所有对象的数组。<T extends EventListener>
T[]Button. getListeners(类<T> listenerType)返回当前注册的所有对象的数组FooListener在这个SButton。<T extends EventListener>
T[]Checkbox. getListeners(类<T> listenerType)返回此Checkbox当前注册为FooListener的所有对象的数组。<T extends EventListener>
T[]CheckboxMenuItem. getListeners(类<T> listenerType)返回此CheckboxMenuItem当前注册为FooListener的所有对象的数组。<T extends EventListener>
T[]Choice. getListeners(类<T> listenerType)返回当前注册的所有对象的数组FooListener在这个SChoice。<T extends EventListener>
T[]Component. getListeners(类<T> listenerType)返回当前注册的所有对象的数组FooListener在这个SComponent。<T extends EventListener>
T[]Container. getListeners(类<T> listenerType)返回此Container当前注册为FooListener的所有对象的数组。<T extends EventListener>
T[]List. getListeners(类<T> listenerType)返回此List当前注册为FooListeners的所有对象的数组。<T extends EventListener>
T[]MenuItem. getListeners(类<T> listenerType)返回当前注册的所有对象的数组FooListener在这个SMenuItem。<T extends EventListener>
T[]Scrollbar. getListeners(类<T> listenerType)返回此Scrollbar当前注册为FooListener的所有对象的数组。<T extends EventListener>
T[]TextComponent. getListeners(类<T> listenerType)返回当前注册的所有对象的数组FooListener在这个STextComponent。<T extends EventListener>
T[]TextField. getListeners(类<T> listenerType)返回此TextField当前注册为FooListener的所有对象的数组。<T extends EventListener>
T[]Window. getListeners(类<T> listenerType)返回此Window当前注册为FooListener的所有对象的数组。protected static voidAWTKeyStroke. registerSubclass(类<?> subclass)已过时。 -
Uses of 类 in java.awt.datatransfer
Methods in java.awt.datatransfer that return 类 变量和类型 方法 描述 类<?>DataFlavor. getDefaultRepresentationClass()返回默认的表示形式类。类<?>DataFlavor. getRepresentationClass()返回类其对象支持此DataFlavor时,这将返回DataFlavor要求。protected static 类<?>DataFlavor. tryToLoadClass(String className, ClassLoader fallback)尝试从以下方面加载类:引导加载程序,系统加载程序,上下文加载程序(如果存在)以及最后指定的加载程序。Constructors in java.awt.datatransfer with parameters of type 类 构造器 描述 DataFlavor(类<?> representationClass, String humanPresentableName)构造表示Java类的DataFlavor。 -
Uses of 类 in java.awt.dnd
Methods in java.awt.dnd with parameters of type 类 变量和类型 方法 描述 <T extends DragGestureRecognizer>
TDragSource. createDragGestureRecognizer(类<T> recognizerAbstractClass, Component c, int actions, DragGestureListener dgl)创建一个新的DragGestureRecognizer实现的指定抽象子类DragGestureRecognizer,并设置指定Component和DragGestureListener新创建的对象上。<T extends EventListener>
T[]DragSource. getListeners(类<T> listenerType)获取当前注册的所有对象FooListener在这个SDragSource。 -
Uses of 类 in java.awt.image.renderable
Methods in java.awt.image.renderable that return 类 变量和类型 方法 描述 类<?>[]ParameterBlock. getParamClasses()返回描述参数类型的Class对象数组。 -
Uses of 类 in java.beans
Methods in java.beans that return 类 变量和类型 方法 描述 类<?>BeanDescriptor. getBeanClass()获取bean的Class对象。类<?>BeanDescriptor. getCustomizerClass()获取bean的定制器的Class对象。类<?>IndexedPropertyDescriptor. getIndexedPropertyType()返回索引属性的Java类型信息。类<?>EventSetDescriptor. getListenerType()获取目标接口的类对象。类<?>PropertyDescriptor. getPropertyEditorClass()获取已为此属性注册的任何显式PropertyEditor类。类<?>PropertyDescriptor. getPropertyType()返回属性的Java类型信息。Methods in java.beans with parameters of type 类 变量和类型 方法 描述 static <T> TEventHandler. create(类<T> listenerInterface, Object target, String action)创建listenerInterface的实现,其中侦听器接口中的 所有方法将处理程序的action应用于target。static <T> TEventHandler. create(类<T> listenerInterface, Object target, String action, String eventPropertyName)/ **创建listenerInterface的实现,其中 所有方法都将事件表达式的值eventPropertyName给语句action的最终方法,该方法应用于target。static <T> TEventHandler. create(类<T> listenerInterface, Object target, String action, String eventPropertyName, String listenerMethodName)创建的实施listenerInterface,其中命名方法listenerMethodName传递事件表达,的值eventPropertyName,在语句中的最终方法,action,其被施加到target。static PropertyEditorPropertyEditorManager. findEditor(类<?> targetType)找到给定目标类型的值编辑器。static voidIntrospector. flushFromCaches(类<?> clz)刷新Introspector的给定类的内部缓存信息。static BeanInfoIntrospector. getBeanInfo(类<?> beanClass)对Java Bean进行内省并了解其所有属性,公开方法和事件。static BeanInfoIntrospector. getBeanInfo(类<?> beanClass, int flags)对Java bean进行内省并了解其所有属性,公开方法和事件,并遵守一些控制标志。static BeanInfoIntrospector. getBeanInfo(类<?> beanClass, 类<?> stopClass)对Java bean进行内省,并在给定的“停止”点下了解其属性,公开方法。static BeanInfoIntrospector. getBeanInfo(类<?> beanClass, 类<?> stopClass, int flags)对Java Bean进行内省并了解其所有属性,公开的方法和事件,低于给定的stopClass点,受某些控制flags。static ObjectBeans. getInstanceOf(Object bean, 类<?> targetType)从给定的bean中,获取表示该源对象的指定类型视图的对象。PersistenceDelegateEncoder. getPersistenceDelegate(类<?> type)返回给定类型的持久委托。protected voidDefaultPersistenceDelegate. initialize(类<?> type, Object oldInstance, Object newInstance, Encoder out)initialize方法的此默认实现假定此类对象中保存的所有状态都是通过匹配的“setter”和“getter”方法按Introspector返回的顺序公开的。protected voidPersistenceDelegate. initialize(类<?> type, Object oldInstance, Object newInstance, Encoder out)在newInstance上生成一系列带有副作用的语句,以便新实例 等效于oldInstance。static booleanBeans. isInstanceOf(Object bean, 类<?> targetType)检查bean是否可以被视为给定的目标类型。static voidPropertyEditorManager. registerEditor(类<?> targetType, 类<?> editorClass)注册编辑器类以编辑给定目标类的值。voidEncoder. setPersistenceDelegate(类<?> type, PersistenceDelegate delegate)将指定的持久性委托与给定的类型相关联。voidPropertyDescriptor. setPropertyEditorClass(类<?> propertyEditorClass)通常使用PropertyEditorManager找到PropertyEditors。Constructors in java.beans with parameters of type 类 构造器 描述 BeanDescriptor(类<?> beanClass)为没有自定义程序的bean创建BeanDescriptor。BeanDescriptor(类<?> beanClass, 类<?> customizerClass)为具有自定义程序的bean创建BeanDescriptor。EventSetDescriptor(类<?> sourceClass, String eventSetName, 类<?> listenerType, String listenerMethodName)创建一个EventSetDescriptor假设您遵循最简单的标准设计模式,其中命名事件“fred”是(1)作为调用在接口FredListener的单个方法上传递,(2)具有类型FredEvent的单个参数,并且( 3)FredListener可以通过对源组件的addFredListener方法的调用进行注册,并通过对removeFredListener方法的调用来删除。EventSetDescriptor(类<?> sourceClass, String eventSetName, 类<?> listenerType, String[] listenerMethodNames, String addListenerMethodName, String removeListenerMethodName)使用字符串名称从头开始创建EventSetDescriptor。EventSetDescriptor(类<?> sourceClass, String eventSetName, 类<?> listenerType, String[] listenerMethodNames, String addListenerMethodName, String removeListenerMethodName, String getListenerMethodName)此构造函数使用字符串名称从头开始创建EventSetDescriptor。EventSetDescriptor(String eventSetName, 类<?> listenerType, MethodDescriptor[] listenerMethodDescriptors, 方法 addListenerMethod, 方法 removeListenerMethod)创建一个EventSetDescriptor使用从无到有java.lang.reflect.MethodDescriptor个java.lang.Class对象。EventSetDescriptor(String eventSetName, 类<?> listenerType, 方法[] listenerMethods, 方法 addListenerMethod, 方法 removeListenerMethod)创建一个EventSetDescriptor使用从无到有java.lang.reflect.Method个java.lang.Class对象。EventSetDescriptor(String eventSetName, 类<?> listenerType, 方法[] listenerMethods, 方法 addListenerMethod, 方法 removeListenerMethod, 方法 getListenerMethod)此构造函数使用java.lang.reflect.Method和java.lang.Class对象从头开始创建EventSetDescriptor。IndexedPropertyDescriptor(String propertyName, 类<?> beanClass)此构造函数通过为索引访问和数组访问提供getFoo和setFoo访问器方法,为遵循标准Java约定的属性构造IndexedPropertyDescriptor。IndexedPropertyDescriptor(String propertyName, 类<?> beanClass, String readMethodName, String writeMethodName, String indexedReadMethodName, String indexedWriteMethodName)此构造函数采用简单属性的名称,以及用于读取和写入属性的方法名称,包括索引和非索引。PropertyDescriptor(String propertyName, 类<?> beanClass)通过使用getFoo和setFoo访问器方法为遵循标准Java约定的属性构造PropertyDescriptor。PropertyDescriptor(String propertyName, 类<?> beanClass, String readMethodName, String writeMethodName)此构造函数采用简单属性的名称,以及用于读取和写入属性的方法名称。 -
Uses of 类 in java.beans.beancontext
Fields in java.beans.beancontext declared as 类 变量和类型 字段 描述 protected 类<?>BeanContextServiceAvailableEvent. serviceClass类对新可用服务的引用protected 类<?>BeanContextServiceRevokedEvent. serviceClass类对正在撤销的服务的引用。Methods in java.beans.beancontext that return 类 变量和类型 方法 描述 类<?>BeanContextServiceAvailableEvent. getServiceClass()获取作为此通知主题的服务类。类<?>BeanContextServiceRevokedEvent. getServiceClass()获取作为此通知主题的服务类Methods in java.beans.beancontext with parameters of type 类 变量和类型 方法 描述 booleanBeanContextServices. addService(类<?> serviceClass, BeanContextServiceProvider serviceProvider)向此BeanContext添加服务。booleanBeanContextServicesSupport. addService(类<?> serviceClass, BeanContextServiceProvider bcsp)添加服务protected booleanBeanContextServicesSupport. addService(类<?> serviceClass, BeanContextServiceProvider bcsp, boolean fireEvent)添加服务protected static booleanBeanContextSupport. classEquals(类<?> first, 类<?> second)测试两个类对象或它们的名称是否相等。protected BeanContextServicesSupport.BCSSServiceProviderBeanContextServicesSupport. createBCSSServiceProvider(类<?> sc, BeanContextServiceProvider bcsp)子类可以重写此方法以创建BCSSServiceProvider的新子类,而无需重写addService()以进行实例化。protected voidBeanContextServicesSupport. fireServiceAdded(类<?> serviceClass)触发BeanContextServiceEvent通知新服务。protected voidBeanContextServicesSupport. fireServiceRevoked(类<?> serviceClass, boolean revokeNow)触发BeanContextServiceRevokedEvent指示特定服务不再可用。Iterator<?>BeanContextServiceProvider. getCurrentServiceSelectors(BeanContextServices bcs, 类<?> serviceClass)该方法由BeanContextServices调用,获取指定服务的当前服务选择器。Iterator<?>BeanContextServices. getCurrentServiceSelectors(类<?> serviceClass)通过在底层BeanContextServiceProvider上调用getCurrentServiceSelectors(),获取指定服务的服务相关服务参数(服务选择器)列表。Iterator<?>BeanContextServicesSupport. getCurrentServiceSelectors(类<?> serviceClass)ObjectBeanContextServiceProvider. getService(BeanContextServices bcs, Object requestor, 类<?> serviceClass, Object serviceSelector)通过调用BeanContextServices,该方法从这个请求服务的实例BeanContextServiceProvider。ObjectBeanContextServices. getService(BeanContextChild child, Object requestor, 类<?> serviceClass, Object serviceSelector, BeanContextServiceRevokedListener bcsrl)BeanContextChild或与BeanContextChild相关联的任何任意对象可以通过调用该方法从其嵌套BeanContextServices获得对当前注册的服务的引用。ObjectBeanContextServicesSupport. getService(BeanContextChild child, Object requestor, 类<?> serviceClass, Object serviceSelector, BeanContextServiceRevokedListener bcsrl)获得可以委派的服务booleanBeanContextServices. hasService(类<?> serviceClass)报告此上下文中当前是否提供给定服务。booleanBeanContextServicesSupport. hasService(类<?> serviceClass)有一项服务,可以委派booleanBeanContextServiceRevokedEvent. isServiceClass(类<?> service)检查此事件以确定被撤销的服务是否属于特定类。voidBeanContextServices. revokeService(类<?> serviceClass, BeanContextServiceProvider serviceProvider, boolean revokeCurrentServicesNow)希望从此上下文中删除当前已注册服务的BeanContextServiceProviders可以通过调用此方法来执行此操作。voidBeanContextServicesSupport. revokeService(类<?> serviceClass, BeanContextServiceProvider bcsp, boolean revokeCurrentServicesNow)删除服务Constructors in java.beans.beancontext with parameters of type 类 构造器 描述 BeanContextServiceAvailableEvent(BeanContextServices bcs, 类<?> sc)构建一个BeanContextAvailableServiceEvent。BeanContextServiceRevokedEvent(BeanContextServices bcs, 类<?> sc, boolean invalidate)构建一个BeanContextServiceEvent。 -
Uses of 类 in java.io
Methods in java.io that return 类 变量和类型 方法 描述 类<?>ObjectStreamClass. forClass()返回此版本映射到的本地VM中的类。类<?>ObjectStreamField. getType()获取字段的类型。protected 类<?>ObjectInputStream. resolveClass(ObjectStreamClass desc)加载等效于指定流类描述的本地类。protected 类<?>ObjectInputStream. resolveProxyClass(String[] interfaces)返回实现代理类描述符中指定的接口的代理类; 子类可以实现此方法以从流中读取自定义数据以及动态代理类的描述符,从而允许它们为接口和代理类使用备用加载机制。类<?>ObjectInputFilter.FilterInfo. serialClass()被反序列化的对象的类。Methods in java.io with parameters of type 类 变量和类型 方法 描述 protected voidObjectOutputStream. annotateClass(类<?> cl)子类可以实现此方法以允许类数据存储在流中。protected voidObjectOutputStream. annotateProxyClass(类<?> cl)子类可以实现此方法以将流中的自定义数据与动态代理类的描述符一起存储。static ObjectStreamClassObjectStreamClass. lookup(类<?> cl)找到可以序列化的类的描述符。static ObjectStreamClassObjectStreamClass. lookupAny(类<?> cl)返回任何类的描述符,无论它是否实现Serializable。Constructors in java.io with parameters of type 类 构造器 描述 ObjectStreamField(String name, 类<?> type)创建具有指定类型的Serializable字段。ObjectStreamField(String name, 类<?> type, boolean unshared)创建一个ObjectStreamField,表示具有给定名称和类型的可序列化字段。 -
Uses of 类 in java.lang
Fields in java.lang declared as 类 变量和类型 字段 描述 static 类<Boolean>Boolean. TYPEClass对象表示基本类型boolean。static 类<Byte>Byte. TYPE类实例表示基本类型byte。static 类<Character>Character. TYPE类实例表示基本类型char。static 类<Double>Double. TYPE类实例表示基本类型double。static 类<Float>Float. TYPE类实例表示基本类型float。static 类<Integer>Integer. TYPE类实例表示基本类型int。static 类<Long>Long. TYPE类实例表示基元类型long。static 类<Short>Short. TYPE类实例表示基本类型short。static 类<Void>Void. TYPE类对象表示与关键字void对应的伪类型。Methods in java.lang that return 类 变量和类型 方法 描述 <U> 类<? extends U>Class. asSubclass(类<U> clazz)转换此类对象以表示由指定的类对象表示的类的子类。protected 类<?>ClassLoader. defineClass(byte[] b, int off, int len)protected 类<?>ClassLoader. defineClass(String name, byte[] b, int off, int len)将字节数组转换为类类的实例。protected 类<?>ClassLoader. defineClass(String name, byte[] b, int off, int len, ProtectionDomain protectionDomain)将一个字节数组转换为类类的实例,给定的是ProtectionDomain。protected 类<?>ClassLoader. defineClass(String name, ByteBuffer b, ProtectionDomain protectionDomain)使用给定的ProtectionDomain将ByteBuffer转换为类类的实例。类<? extends Enum>EnumConstantNotPresentException. enumType()返回缺少的枚举常量的类型。protected 类<?>ClassLoader. findClass(String name)查找具有指定的 binary name的类。protected 类<?>ClassLoader. findClass(String moduleName, String name)在为此类加载器定义的模块中查找具有给定 binary name的类。protected 类<?>ClassLoader. findLoadedClass(String name)返回给定类 binary name如果装载机已记录由Java虚拟机作为与一类的初始化加载器 binary name 。protected 类<?>ClassLoader. findSystemClass(String name)查找具有指定的 binary name的类,必要时加载它。static 类<?>Class. forName(模块 module, String name)返回类给定 binary name给定的模块中。static 类<?>Class. forName(String className)返回与具有给定字符串名称的类或接口关联的类对象。static 类<?>Class. forName(String name, boolean initialize, ClassLoader loader)使用给定的类加载器返回与具有给定字符串名称的类或接口关联的类对象。类<?>StackWalker. getCallerClass()获取调用者调用getCallerClass的方法的调用者的类对象。类<?>Object. getClass()返回此Object的运行时类。protected 类<?>[]SecurityManager. getClassContext()将当前执行堆栈作为类数组返回。类<?>[]Class. getClasses()返回一个数组,其中包含类对象,这些对象表示作为此类对象所表示的类的成员的所有公共类和接口。类<?>Class. getComponentType()返回表示数组的组件类型的类。类<?>[]Class. getDeclaredClasses()返回类对象的数组,类对象反映声明为此类对象所表示的类的成员的所有类和接口。类<?>Class. getDeclaringClass()如果此类对象表示的类或接口是另一个类的成员,则返回表示声明它的类的类对象。类<E>Enum. getDeclaringClass()返回与此枚举常量的枚举类型对应的Class对象。类<?>StackWalker.StackFrame. getDeclaringClass()获取此堆栈帧表示的方法的声明类。类<?>Class. getEnclosingClass()返回基础类的直接封闭类。类<?>[]Class. getInterfaces()返回由此对象表示的类或接口直接实现的接口。类<?>Class. getNestHost()返回类对象所代表的类或接口所属的 nest的嵌套主机。类<?>[]Class. getNestMembers()返回一个数组,其中包含类对象,这些对象表示作为此类对象所表示的类或接口所属的嵌套成员的所有类和接口。类<? super T>Class. getSuperclass()返回类表示此所表示的实体(类,接口,基本类型或void)的直接超类类。类<?>ClassLoader. loadClass(String name)使用指定的 binary name加载类。protected 类<?>ClassLoader. loadClass(String name, boolean resolve)使用指定的 binary name加载类。Methods in java.lang that return types with arguments of type 类 变量和类型 方法 描述 TypeVariable<类<T>>[]Class. getTypeParameters()返回的数组TypeVariable对象表示通过此表示的一般声明声明的类型变量GenericDeclaration目的,在声明的顺序。Methods in java.lang with parameters of type 类 变量和类型 方法 描述 模块Module. addUses(类<?> service)如果调用者的模块是此模块,则更新此模块以添加对给定服务类型的服务依赖性。<U> 类<? extends U>Class. asSubclass(类<U> clazz)转换此类对象以表示由指定的类对象表示的类的子类。booleanModule. canUse(类<?> service)指示此模块是否具有对给定服务类型的服务依赖性。static booleanCompiler. compileClass(类<?> clazz)不推荐使用,要删除:此API元素将在以后的版本中删除。编译指定的类。protected abstract TClassValue. computeValue(类<?> type)计算此ClassValue的给定类的派生值。TClassValue. get(类<?> type)返回给定类的值。<A extends Annotation>
AClass. getAnnotation(类<A> annotationClass)<T extends Annotation>
TModule. getAnnotation(类<T> annotationClass)返回该元素的,如果这样的注释 ,否则返回null指定类型的注释。<A extends Annotation>
APackage. getAnnotation(类<A> annotationClass)<A extends Annotation>
A[]Class. getAnnotationsByType(类<A> annotationClass)<A extends Annotation>
A[]Package. getAnnotationsByType(类<A> annotationClass)构造器<T>Class. getConstructor(类<?>... parameterTypes)返回一个构造器对象,该对象反映此类对象所表示的类的指定公共构造函数。<A extends Annotation>
AClass. getDeclaredAnnotation(类<A> annotationClass)<A extends Annotation>
APackage. getDeclaredAnnotation(类<A> annotationClass)<A extends Annotation>
A[]Class. getDeclaredAnnotationsByType(类<A> annotationClass)<A extends Annotation>
A[]Package. getDeclaredAnnotationsByType(类<A> annotationClass)构造器<T>Class. getDeclaredConstructor(类<?>... parameterTypes)返回一个构造器对象,该对象反映此类对象所表示的类或接口的指定构造函数。方法Class. getDeclaredMethod(String name, 类<?>... parameterTypes)返回一个方法对象,该对象反映此类对象所表示的类或接口的指定声明方法。方法Class. getMethod(String name, 类<?>... parameterTypes)返回一个方法对象,该对象反映此类对象所表示的类或接口的指定公共成员方法。booleanClass. isAnnotationPresent(类<? extends Annotation> annotationClass)如果此元素上 存在指定类型的注释,则返回true,否则返回false。booleanPackage. isAnnotationPresent(类<? extends Annotation> annotationClass)如果此元素上 存在指定类型的注释,则返回true,否则返回false。booleanClass. isAssignableFrom(类<?> cls)确定此类对象表示的类或接口是否与指定的类参数表示的类或接口相同,或者是它的超类或超接口。booleanClass. isNestmateOf(类<?> c)确定给定的类是否是此类对象所表示的类或接口的类。voidClassValue. remove(类<?> type)删除给定类的关联值。protected voidClassLoader. resolveClass(类<?> c)链接指定的类。protected voidClassLoader. setSigners(类<?> c, Object[] signers)设置类的签名者。static <T extends Enum<T>>
TEnum. valueOf(类<T> enumType, String name)返回具有指定名称的指定枚举类型的枚举常量。Constructors in java.lang with parameters of type 类 构造器 描述 EnumConstantNotPresentException(类<? extends Enum> enumType, String constantName)为指定的常量构造EnumConstantNotPresentException。 -
Uses of 类 in java.lang.annotation
Methods in java.lang.annotation that return 类 变量和类型 方法 描述 类<? extends Annotation>Annotation. annotationType()返回此批注的批注类型。类<? extends Annotation>IncompleteAnnotationException. annotationType()返回具有缺少元素的注释类型的Class对象。类<? extends Annotation>value()指示可重复注释类型的 包含注释类型。Constructors in java.lang.annotation with parameters of type 类 构造器 描述 IncompleteAnnotationException(类<? extends Annotation> annotationType, String elementName)构造一个IncompleteAnnotationException以指示指定的注释类型中缺少指定的元素。 -
Uses of 类 in java.lang.instrument
Methods in java.lang.instrument that return 类 变量和类型 方法 描述 类[]Instrumentation. getAllLoadedClasses()返回JVM当前加载的所有类的数组。类<?>ClassDefinition. getDefinitionClass()返回类。类[]Instrumentation. getInitiatedClasses(ClassLoader loader)返回loader是启动加载器的所有类的数组。Methods in java.lang.instrument with parameters of type 类 变量和类型 方法 描述 booleanInstrumentation. isModifiableClass(类<?> theClass)测试类是否可由 retransformation或 redefinition修改。voidInstrumentation. retransformClasses(类<?>... classes)重新转换提供的类集。default byte[]ClassFileTransformer. transform(ClassLoader loader, String className, 类<?> classBeingRedefined, ProtectionDomain protectionDomain, byte[] classfileBuffer)转换给定的类文件并返回一个新的替换类文件。default byte[]ClassFileTransformer. transform(模块 module, ClassLoader loader, String className, 类<?> classBeingRedefined, ProtectionDomain protectionDomain, byte[] classfileBuffer)转换给定的类文件并返回一个新的替换类文件。Constructors in java.lang.instrument with parameters of type 类 构造器 描述 ClassDefinition(类<?> theClass, byte[] theClassFile)使用提供的类和类文件字节创建新的ClassDefinition绑定。 -
Uses of 类 in java.lang.invoke
Methods in java.lang.invoke that return 类 变量和类型 方法 描述 类<?>MethodHandles.Lookup. accessClass(类<?> targetClass)确定是否可以从此Lookup对象定义的查找上下文中访问类。类<?>MethodHandles.Lookup. defineClass(byte[] bytes)定义一个类相同的类加载器,并在同一个运行时包和protection domain这一查表的lookup class 。类<?>MethodHandles.Lookup. findClass(String targetName)从此Lookup对象定义的查找上下文中按名称查找类。类<?>MethodHandleInfo. getDeclaringClass()返回定义了破解方法句柄的基础成员的类。类<?>MethodType. lastParameterType()返回此方法类型的最后一个参数类型。类<?>MethodHandles.Lookup. lookupClass()告诉哪个类正在执行查找。类<?>[]MethodType. parameterArray()将参数类型表示为数组(便捷方法)。类<?>MethodType. parameterType(int num)返回此方法类型中指定索引处的参数类型。static 类<?>ConstantBootstraps. primitiveClass(MethodHandles.Lookup lookup, String name, 类<?> type)类<?>MethodType. returnType()返回此方法类型的返回类型。类<?>VarHandle. varType()返回此VarHandle引用的变量的变量类型。static 类<?>MethodHandleProxies. wrapperInstanceType(Object x)恢复为此包装器实例创建的唯一单方法接口类型。Methods in java.lang.invoke that return types with arguments of type 类 变量和类型 方法 描述 List<类<?>>VarHandle. coordinateTypes()返回此VarHandle的坐标类型。List<类<?>>MethodType. parameterList()将参数类型显示为列表(便捷方法)。Methods in java.lang.invoke with parameters of type 类 变量和类型 方法 描述 类<?>MethodHandles.Lookup. accessClass(类<?> targetClass)确定是否可以从此Lookup对象定义的查找上下文中访问类。MethodTypeMethodType. appendParameterTypes(类<?>... ptypesToInsert)查找或创建具有其他参数类型的方法类型。static MethodHandleMethodHandles. arrayConstructor(类<?> arrayClass)生成一个方法句柄,构造所需类型的数组,就好像通过anewarray字节码一样。static MethodHandleMethodHandles. arrayElementGetter(类<?> arrayClass)生成一个方法句柄,提供对数组元素的读访问,就像aaload字节码一样。static MethodHandleMethodHandles. arrayElementSetter(类<?> arrayClass)生成一个方法句柄,提供对数组元素的写访问,就像astore字节码一样。static VarHandleMethodHandles. arrayElementVarHandle(类<?> arrayClass)产生VarHandle给予访问类型的数组的元素arrayClass。static MethodHandleMethodHandles. arrayLength(类<?> arrayClass)生成一个返回数组长度的方法句柄,就像arraylength字节码一样。static VarHandleConstantBootstraps. arrayVarHandle(MethodHandles.Lookup lookup, String name, 类<VarHandle> type, 类<?> arrayClass)查找数组类型的VarHandle。MethodHandleMethodHandle. asCollector(int collectArgPos, 类<?> arrayType, int arrayLength)创建一个 数组收集方法句柄,它接受从给定位置开始的给定数量的位置参数,并将它们收集到数组参数中。MethodHandleMethodHandle. asCollector(类<?> arrayType, int arrayLength)创建一个 数组收集方法句柄,它接受给定数量的尾随位置参数并将它们收集到数组参数中。static <T> TMethodHandleProxies. asInterfaceInstance(类<T> intfc, MethodHandle target)生成给定单方法接口的实例,该接口将其调用重定向到给定的方法句柄。MethodHandleMethodHandle. asSpreader(int spreadArgPos, 类<?> arrayType, int arrayLength)创建一个 数组传播方法句柄,它接受给定位置的数组参数,并将其元素作为位置参数传播,代替数组。MethodHandleMethodHandle. asSpreader(类<?> arrayType, int arrayLength)创建一个 数组传播方法句柄,它接受一个尾随数组参数并将其元素作为位置参数传播。MethodHandleMethodHandle. asVarargsCollector(类<?> arrayType)使 变量arity适配器能够接受任意数量的尾随位置参数并将它们收集到数组参数中。static VarHandleMethodHandles. byteArrayViewVarHandle(类<?> viewArrayClass, ByteOrder byteOrder)生成一个VarHandle,可以访问byte[]数组的元素,就像它是一个不同的原始数组类型一样,例如int[]或long[]。static VarHandleMethodHandles. byteBufferViewVarHandle(类<?> viewArrayClass, ByteOrder byteOrder)生成一个VarHandle,可以访问ByteBuffer的元素,就像它是ByteBuffer的不同原始组件类型的元素数组byte,例如int[]或long[]。static MethodHandleMethodHandles. catchException(MethodHandle target, 类<? extends Throwable> exType, MethodHandle handler)通过在异常处理程序中运行,使方法句柄适应目标方法句柄。MethodTypeMethodType. changeParameterType(int num, 类<?> nptype)查找或创建具有单个不同参数类型的方法类型。MethodTypeMethodType. changeReturnType(类<?> nrtype)查找或创建具有不同返回类型的方法类型。static MethodHandleMethodHandles. constant(类<?> type, Object value)生成请求的返回类型的方法句柄,每次调用它时都返回给定的常量值。static MethodHandleMethodHandles. dropArguments(MethodHandle target, int pos, 类<?>... valueTypes)生成一个方法句柄,它会在调用其他指定的 目标方法句柄之前丢弃一些伪参数。static <E extends Enum<E>>
EConstantBootstraps. enumConstant(MethodHandles.Lookup lookup, String name, 类<E> type)返回由type指定的类型的枚举常量,其名称由name指定。static VarHandleConstantBootstraps. fieldVarHandle(MethodHandles.Lookup lookup, String name, 类<VarHandle> type, 类<?> declaringClass, 类<?> fieldType)查找实例字段的VarHandle。MethodHandleMethodHandles.Lookup. findConstructor(类<?> refc, MethodType type)生成一个方法句柄,该句柄使用指定类型的构造函数创建对象并对其进行初始化。MethodHandleMethodHandles.Lookup. findGetter(类<?> refc, String name, 类<?> type)生成一个方法句柄,提供对非静态字段的读访问权限。MethodHandleMethodHandles.Lookup. findSetter(类<?> refc, String name, 类<?> type)生成一个方法句柄,提供对非静态字段的写访问权限。MethodHandleMethodHandles.Lookup. findSpecial(类<?> refc, String name, MethodType type, 类<?> specialCaller)为虚方法生成早期绑定方法句柄。MethodHandleMethodHandles.Lookup. findStatic(类<?> refc, String name, MethodType type)生成静态方法的方法句柄。MethodHandleMethodHandles.Lookup. findStaticGetter(类<?> refc, String name, 类<?> type)生成一个方法句柄,提供对静态字段的读访问权限。MethodHandleMethodHandles.Lookup. findStaticSetter(类<?> refc, String name, 类<?> type)生成一个方法句柄,提供对静态字段的写访问权限。VarHandleMethodHandles.Lookup. findStaticVarHandle(类<?> decl, String name, 类<?> type)生成VarHandle,允许访问类型为name的类型为type的静态字段decl。VarHandleMethodHandles.Lookup. findVarHandle(类<?> recv, String name, 类<?> type)生成VarHandle,允许访问类型为typename类型的非静态字段recv。MethodHandleMethodHandles.Lookup. findVirtual(类<?> refc, String name, MethodType type)生成虚方法的方法句柄。static ObjectConstantBootstraps. getStaticFinal(MethodHandles.Lookup lookup, String name, 类<?> type)返回类中声明的静态final字段的值,该字段与字段的类型相同(或者,对于原始值字段,在包装类中声明。)static ObjectConstantBootstraps. getStaticFinal(MethodHandles.Lookup lookup, String name, 类<?> type, 类<?> declaringClass)返回静态final字段的值。static MethodHandleMethodHandles. identity(类<?> type)生成一个方法句柄,在调用时返回其唯一的参数。MethodHandles.LookupMethodHandles.Lookup. in(类<?> requestedLookupClass)在指定的新查找类上创建查找。MethodTypeMethodType. insertParameterTypes(int num, 类<?>... ptypesToInsert)查找或创建具有其他参数类型的方法类型。static ObjectConstantBootstraps. invoke(MethodHandles.Lookup lookup, String name, 类<?> type, MethodHandle handle, Object... args)返回使用提供的参数调用方法句柄的结果。static MethodTypeMethodType. methodType(类<?> rtype)查找或创建具有给定组件的方法类型。static MethodTypeMethodType. methodType(类<?> rtype, 类<?> ptype0)查找或创建具有给定组件的方法类型。static MethodTypeMethodType. methodType(类<?> rtype, 类<?>[] ptypes)查找或创建给定方法类型的实例。static MethodTypeMethodType. methodType(类<?> rtype, 类<?> ptype0, 类<?>... ptypes)查找或创建具有给定组件的方法类型。static MethodTypeMethodType. methodType(类<?> rtype, MethodType ptypes)查找或创建具有给定组件的方法类型。static MethodTypeMethodType. methodType(类<?> rtype, List<类<?>> ptypes)查找或创建具有给定组件的方法类型。static ObjectConstantBootstraps. nullConstant(MethodHandles.Lookup lookup, String name, 类<?> type)返回由type指定的引用类型的null对象引用。static 类<?>ConstantBootstraps. primitiveClass(MethodHandles.Lookup lookup, String name, 类<?> type)static MethodHandles.LookupMethodHandles. privateLookupIn(类<?> targetClass, MethodHandles.Lookup lookup)返回具有完整功能的lookup object,以模拟目标类上所有受支持的字节码行为,包括private access 。<T extends Member>
TMethodHandleInfo. reflectAs(类<T> expected, MethodHandles.Lookup lookup)将底层成员反映为方法,构造函数或字段对象。static <T extends Member>
TMethodHandles. reflectAs(类<T> expected, MethodHandle target)执行 direct method handle的未经检查的“破解”。static VarHandleConstantBootstraps. staticFieldVarHandle(MethodHandles.Lookup lookup, String name, 类<VarHandle> type, 类<?> declaringClass, 类<?> fieldType)查找静态字段的VarHandle。static MethodHandleMethodHandles. throwException(类<?> returnType, 类<? extends Throwable> exType)生成一个方法句柄,它会抛出给定的exType异常。static StringMethodHandleInfo. toString(int kind, 类<?> defc, String name, MethodType type)给出其符号引用的四个部分,返回MethodHandleInfo的字符串表示形式。MethodHandleMethodHandles.Lookup. unreflectSpecial(方法 m, 类<?> specialCaller)为反射方法生成方法句柄。static MethodHandleMethodHandles. zero(类<?> type)生成所请求的返回类型的常量方法句柄,该句柄在每次调用时返回该类型的默认值。Method parameters in java.lang.invoke with type arguments of type 类 变量和类型 方法 描述 MethodTypeMethodType. appendParameterTypes(List<类<?>> ptypesToInsert)查找或创建具有其他参数类型的方法类型。static MethodHandleMethodHandles. dropArguments(MethodHandle target, int pos, List<类<?>> valueTypes)生成一个方法句柄,它会在调用其他指定的 目标方法句柄之前丢弃一些伪参数。static MethodHandleMethodHandles. dropArgumentsToMatch(MethodHandle target, int skip, List<类<?>> newTypes, int pos)调整目标方法句柄以匹配给定的参数类型列表。MethodTypeMethodType. insertParameterTypes(int num, List<类<?>> ptypesToInsert)查找或创建具有其他参数类型的方法类型。static MethodTypeMethodType. methodType(类<?> rtype, List<类<?>> ptypes)查找或创建具有给定组件的方法类型。Constructors in java.lang.invoke with parameters of type 类 构造器 描述 SerializedLambda(类<?> capturingClass, String functionalInterfaceClass, String functionalInterfaceMethodName, String functionalInterfaceMethodSignature, int implMethodKind, String implClass, String implMethodName, String implMethodSignature, String instantiatedMethodType, Object[] capturedArgs)从lambda工厂站点的低级信息创建SerializedLambda。 -
Uses of 类 in java.lang.management
Methods in java.lang.management that return types with arguments of type 类 变量和类型 方法 描述 static Set<类<? extends PlatformManagedObject>>ManagementFactory. getPlatformManagementInterfaces()返回类对象的集合,子接口PlatformManagedObject,表示用于监视和管理Java平台的所有管理接口。Methods in java.lang.management with parameters of type 类 变量和类型 方法 描述 static <T extends PlatformManagedObject>
TManagementFactory. getPlatformMXBean(类<T> mxbeanInterface)返回实现给定mxbeanInterface的平台MXBean,该平台指定在Java虚拟机中具有一个单个实例。static <T extends PlatformManagedObject>
TManagementFactory. getPlatformMXBean(MBeanServerConnection connection, 类<T> mxbeanInterface)返回mxbeanInterface的平台MXBean代理,该代理指定在Java虚拟机中具有一个实例,代理将通过给定的MBeanServerConnection转发方法调用。static <T extends PlatformManagedObject>
List<T>ManagementFactory. getPlatformMXBeans(类<T> mxbeanInterface)返回在Java虚拟机中实现给定mxbeanInterface的平台mxbeanInterface列表。static <T extends PlatformManagedObject>
List<T>ManagementFactory. getPlatformMXBeans(MBeanServerConnection connection, 类<T> mxbeanInterface)返回平台MXBean代理的列表,用于通过给定的MBeanServerConnection转发mxbeanInterface的方法调用。static <T> TManagementFactory. newPlatformMXBeanProxy(MBeanServerConnection connection, String mxbeanName, 类<T> mxbeanInterface)返回给定的平台MXBean接口的代理 MXBean name转发其方法调用通过给定MBeanServerConnection。 -
Uses of 类 in java.lang.reflect
Methods in java.lang.reflect that return 类 变量和类型 方法 描述 类<T>Constructor. getDeclaringClass()返回表示声明此对象表示的构造方法的类的类对象。abstract 类<?>Executable. getDeclaringClass()返回表示声明此对象表示的可执行文件的类或接口的类对象。类<?>Field. getDeclaringClass()返回类表示声明此表示的字段的类或接口对象字段对象。类<?>Member. getDeclaringClass()返回表示声明由此Member表示的成员或构造函数的类或接口的Class对象。类<?>Method. getDeclaringClass()返回表示声明此对象表示的方法的类或接口的类对象。abstract 类<?>[]Executable. getExceptionTypes()返回类对象的数组,类对象表示声明由此对象表示的基础可执行文件抛出的异常类型。abstract 类<?>[]Executable. getParameterTypes()返回类对象的数组,类对象表示此对象表示的可执行文件的声明顺序的形式参数类型。static 类<?>Proxy. getProxyClass(ClassLoader loader, 类<?>... interfaces)已过时。在命名模块中生成的代理类被封装,并且其模块外部的代码无法访问。类<?>Method. getReturnType()返回一个类对象,该对象表示此方法对象表示的方法的正式返回类型。类<?>Field. getType()返回一个类对象,该对象标识此字段对象表示的字段的声明类型。类<?>Parameter. getType()返回一个类对象,该对象标识此Parameter对象表示的参数的声明类型。Methods in java.lang.reflect with parameters of type 类 变量和类型 方法 描述 <T extends Annotation>
TAccessibleObject. getAnnotation(类<T> annotationClass)<T extends Annotation>
TAnnotatedElement. getAnnotation(类<T> annotationClass)返回该元素的,如果这样的注释 ,否则返回null指定类型的注释。<T extends Annotation>
TConstructor. getAnnotation(类<T> annotationClass)返回该元素的,如果这样的注释 ,否则返回null指定类型的注释。<T extends Annotation>
TExecutable. getAnnotation(类<T> annotationClass)返回该元素的,如果这样的注释 ,否则返回null指定类型的注释。<T extends Annotation>
TField. getAnnotation(类<T> annotationClass)<T extends Annotation>
TMethod. getAnnotation(类<T> annotationClass)返回该元素的,如果这样的注释 ,否则返回null指定类型的注释。<T extends Annotation>
TParameter. getAnnotation(类<T> annotationClass)返回该元素的,如果这样的注释 ,否则返回null指定类型的注释。<T extends Annotation>
T[]AccessibleObject. getAnnotationsByType(类<T> annotationClass)default <T extends Annotation>
T[]AnnotatedElement. getAnnotationsByType(类<T> annotationClass)返回与此元素 关联的注释。<T extends Annotation>
T[]Executable. getAnnotationsByType(类<T> annotationClass)返回与此元素 关联的注释。<T extends Annotation>
T[]Field. getAnnotationsByType(类<T> annotationClass)返回与此元素 关联的注释。<T extends Annotation>
T[]Parameter. getAnnotationsByType(类<T> annotationClass)返回与此元素 关联的注释。<T extends Annotation>
TAccessibleObject. getDeclaredAnnotation(类<T> annotationClass)default <T extends Annotation>
TAnnotatedElement. getDeclaredAnnotation(类<T> annotationClass)如果 直接存在这样的注释,则返回指定类型的此元素的注释,否则返回null。<T extends Annotation>
TParameter. getDeclaredAnnotation(类<T> annotationClass)<T extends Annotation>
T[]AccessibleObject. getDeclaredAnnotationsByType(类<T> annotationClass)default <T extends Annotation>
T[]AnnotatedElement. getDeclaredAnnotationsByType(类<T> annotationClass)如果此类注释 直接存在或 间接存在 ,则返回指定类型的此元素的注释。<T extends Annotation>
T[]Parameter. getDeclaredAnnotationsByType(类<T> annotationClass)static 类<?>Proxy. getProxyClass(ClassLoader loader, 类<?>... interfaces)已过时。在命名模块中生成的代理类被封装,并且其模块外部的代码无法访问。booleanAccessibleObject. isAnnotationPresent(类<? extends Annotation> annotationClass)如果此元素上 存在指定类型的注释,则返回true,否则返回false。default booleanAnnotatedElement. isAnnotationPresent(类<? extends Annotation> annotationClass)如果此元素上 存在指定类型的注释,则返回true,否则返回false。static booleanProxy. isProxyClass(类<?> cl)如果给定的类是代理类,则返回true。static ObjectArray. newInstance(类<?> componentType, int length)创建具有指定组件类型和长度的新数组。static ObjectArray. newInstance(类<?> componentType, int... dimensions)创建具有指定组件类型和尺寸的新数组。static ObjectProxy. newProxyInstance(ClassLoader loader, 类<?>[] interfaces, InvocationHandler h)返回指定接口的代理实例,该接口将方法调用分派给指定的调用处理程序。 -
Uses of 类 in java.net
Methods in java.net that return 类 变量和类型 方法 描述 protected 类<?>URLClassLoader. findClass(String name)从URL搜索路径中查找并加载具有指定名称的类。类<T>SocketOption. type()返回套接字选项值的类型。Methods in java.net with parameters of type 类 变量和类型 方法 描述 ObjectContentHandler. getContent(URLConnection urlc, 类[] classes)给定位于对象表示开头的URL连接流,此方法读取该流并创建与指定类型之一匹配的对象。ObjectURL. getContent(类<?>[] classes)获取此URL的内容。ObjectURLConnection. getContent(类<?>[] classes)检索此URL连接的内容。 -
Uses of 类 in java.nio.file
Methods in java.nio.file that return 类 变量和类型 方法 描述 类<T>WatchEvent.Kind. type()返回context值的类型。Methods in java.nio.file with parameters of type 类 变量和类型 方法 描述 static <V extends FileAttributeView>
VFiles. getFileAttributeView(Path path, 类<V> type, LinkOption... options)返回给定类型的文件属性视图。<V extends FileAttributeView>
VSecureDirectoryStream. getFileAttributeView(类<V> type)返回新的文件属性视图以访问此目录的文件属性。<V extends FileAttributeView>
VSecureDirectoryStream. getFileAttributeView(T path, 类<V> type, LinkOption... options)返回一个新的文件属性视图,以访问此目录中文件的文件属性。abstract <V extends FileStoreAttributeView>
VFileStore. getFileStoreAttributeView(类<V> type)返回给定类型的FileStoreAttributeView。static <A extends BasicFileAttributes>
AFiles. readAttributes(Path path, 类<A> type, LinkOption... options)将文件的属性读取为批量操作。abstract booleanFileStore. supportsFileAttributeView(类<? extends FileAttributeView> type)判断此文件存储是否支持给定文件属性视图标识的文件属性。 -
Uses of 类 in java.nio.file.spi
Methods in java.nio.file.spi with parameters of type 类 变量和类型 方法 描述 abstract <V extends FileAttributeView>
VFileSystemProvider. getFileAttributeView(Path path, 类<V> type, LinkOption... options)返回给定类型的文件属性视图。abstract <A extends BasicFileAttributes>
AFileSystemProvider. readAttributes(Path path, 类<A> type, LinkOption... options)将文件的属性读取为批量操作。 -
Uses of 类 in java.rmi.server
Methods in java.rmi.server that return 类 变量和类型 方法 描述 类<?>LoaderHandler. loadClass(String name)已过时。没有替代品类<?>LoaderHandler. loadClass(URL codebase, String name)已过时。没有替代品static 类<?>RMIClassLoader. loadClass(String name)已过时。由loadClass(String,String)方法取代static 类<?>RMIClassLoader. loadClass(String codebase, String name)从代码库URL路径加载类。static 类<?>RMIClassLoader. loadClass(String codebase, String name, ClassLoader defaultLoader)从代码库URL路径加载一个类,可选地使用提供的加载器。static 类<?>RMIClassLoader. loadClass(URL codebase, String name)从代码库URL加载一个类。abstract 类<?>RMIClassLoaderSpi. loadClass(String codebase, String name, ClassLoader defaultLoader)static 类<?>RMIClassLoader. loadProxyClass(String codebase, String[] interfaces, ClassLoader defaultLoader)加载动态代理类(请参阅Proxy),该类使用代码库URL路径中的给定名称实现一组接口。abstract 类<?>RMIClassLoaderSpi. loadProxyClass(String codebase, String[] interfaces, ClassLoader defaultLoader)Methods in java.rmi.server with parameters of type 类 变量和类型 方法 描述 static StringRMIClassLoader. getClassAnnotation(类<?> cl)返回注释字符串(表示类定义的位置),RMI将在编组给定类的对象时用于注释类描述符。abstract StringRMIClassLoaderSpi. getClassAnnotation(类<?> cl) -
Uses of 类 in java.security
Methods in java.security that return 类 变量和类型 方法 描述 protected 类<?>SecureClassLoader. defineClass(String name, byte[] b, int off, int len, CodeSource cs)使用可选的CodeSource将字节数组转换为类Class的实例。protected 类<?>SecureClassLoader. defineClass(String name, ByteBuffer b, CodeSource cs)使用可选的CodeSource将ByteBuffer转换为类类的实例。Methods in java.security with parameters of type 类 变量和类型 方法 描述 booleanKeyStoreSpi. engineEntryInstanceOf(String alias, 类<? extends KeyStore.Entry> entryClass)确定密钥库Entry为指定alias是指定的一个实例或亚类entryClass。protected abstract <T extends KeySpec>
TKeyFactorySpi. engineGetKeySpec(Key key, 类<T> keySpec)返回给定密钥对象的规范(密钥材料)。protected abstract <T extends AlgorithmParameterSpec>
TAlgorithmParametersSpi. engineGetParameterSpec(类<T> paramSpec)返回此参数对象的(透明)规范。booleanKeyStore. entryInstanceOf(String alias, 类<? extends KeyStore.Entry> entryClass)确定密钥库Entry为指定alias是指定的一个实例或亚类entryClass。<T extends KeySpec>
TKeyFactory. getKeySpec(Key key, 类<T> keySpec)返回给定密钥对象的规范(密钥材料)。<T extends AlgorithmParameterSpec>
TAlgorithmParameters. getParameterSpec(类<T> paramSpec)返回此参数对象的(透明)规范。 -
Uses of 类 in java.sql
Methods in java.sql that return types with arguments of type 类 变量和类型 方法 描述 Map<String,类<?>>Connection. getTypeMap()检索Map与此相关联的对象Connection对象。Methods in java.sql with parameters of type 类 变量和类型 方法 描述 <T> TCallableStatement. getObject(int parameterIndex, 类<T> type)返回表示OUT参数parameterIndex的值的对象,如果支持转换,则将从参数的SQL类型转换为请求的Java数据类型。<T> TCallableStatement. getObject(String parameterName, 类<T> type)返回表示OUT参数parameterName的值的对象,如果支持转换,则将从参数的SQL类型转换为请求的Java数据类型。<T> TResultSet. getObject(int columnIndex, 类<T> type)如果支持转换,则检索此ResultSet对象的当前行中指定列的值,并将从列的SQL类型转换为请求的Java数据类型。<T> TResultSet. getObject(String columnLabel, 类<T> type)如果支持转换,则检索此ResultSet对象的当前行中指定列的值,并将从列的SQL类型转换为请求的Java数据类型。<T extends Source>
TSQLXML. getSource(类<T> sourceClass)返回用于读取此SQLXML实例指定的XML值的Source。booleanWrapper. isWrapperFor(类<?> iface)如果这实现了接口参数,或者直接或间接地作为对象的包装器,则返回true。default <T> TSQLInput. readObject(类<T> type)读取流中的下一个属性并将其作为Java编程语言中的Object返回。<T extends Result>
TSQLXML. setResult(类<T> resultClass)返回用于设置此SQLXML实例指定的XML值的Result。<T> TWrapper. unwrap(类<T> iface)返回实现给定接口的对象,以允许访问非标准方法或代理未公开的标准方法。Method parameters in java.sql with type arguments of type 类 变量和类型 方法 描述 ObjectArray. getArray(long index, int count, Map<String,类<?>> map)检索SQL的切片ARRAY通过该指定值Array对象,与指定的开始index和含有最多countSQL数组中连续元素。ObjectArray. getArray(Map<String,类<?>> map)检索此Array对象指定的SQLARRAY值的内容。Object[]Struct. getAttributes(Map<String,类<?>> map)生成此Struct对象表示的SQL结构类型的属性的有序值。ObjectCallableStatement. getObject(int parameterIndex, Map<String,类<?>> map)返回表示OUT参数parameterIndex的值的对象,并使用map作为参数值的自定义映射。ObjectCallableStatement. getObject(String parameterName, Map<String,类<?>> map)返回表示OUT参数parameterName的值的对象,并使用map作为参数值的自定义映射。ObjectRef. getObject(Map<String,类<?>> map)检索引用的对象,并使用给定的类型映射将其映射到Java类型。ObjectResultSet. getObject(int columnIndex, Map<String,类<?>> map)以Java编程语言中Object此ResultSet对象的当前行中指定列的值。ObjectResultSet. getObject(String columnLabel, Map<String,类<?>> map)以Java编程语言中Object此ResultSet对象的当前行中指定列的值。ResultSetArray. getResultSet(long index, int count, Map<String,类<?>> map)检索包含从索引index开始并且包含最多count连续元素的子index元素的结果集。ResultSetArray. getResultSet(Map<String,类<?>> map)检索包含此Array对象指定的SQLARRAY值的元素的结果集。voidConnection. setTypeMap(Map<String,类<?>> map)安装给定的TypeMap对象的类型映射此Connection对象。 -
Uses of 类 in java.util
Methods in java.util that return 类 变量和类型 方法 描述 类<?>IllegalFormatConversionException. getArgumentClass()返回不匹配参数的类。类<? extends S>ServiceLoader.Provider. type()返回提供程序类型。Methods in java.util with parameters of type 类 变量和类型 方法 描述 static <E extends Enum<E>>
EnumSet<E>EnumSet. allOf(类<E> elementType)创建一个包含指定元素类型中所有元素的枚举集。static <E> Collection<E>Collections. checkedCollection(Collection<E> c, 类<E> type)返回指定集合的动态类型安全视图。static <E> List<E>Collections. checkedList(List<E> list, 类<E> type)返回指定列表的动态类型安全视图。static <K,V>
Map<K,V>Collections. checkedMap(Map<K,V> m, 类<K> keyType, 类<V> valueType)返回指定映射的动态类型安全视图。static <K,V>
NavigableMap<K,V>Collections. checkedNavigableMap(NavigableMap<K,V> m, 类<K> keyType, 类<V> valueType)返回指定可导航映射的动态类型安全视图。static <E> NavigableSet<E>Collections. checkedNavigableSet(NavigableSet<E> s, 类<E> type)返回指定可导航集的动态类型安全视图。static <E> Queue<E>Collections. checkedQueue(Queue<E> queue, 类<E> type)返回指定队列的动态类型安全视图。static <E> Set<E>Collections. checkedSet(Set<E> s, 类<E> type)返回指定集的动态类型安全视图。static <K,V>
SortedMap<K,V>Collections. checkedSortedMap(SortedMap<K,V> m, 类<K> keyType, 类<V> valueType)返回指定有序映射的动态类型安全视图。static <E> SortedSet<E>Collections. checkedSortedSet(SortedSet<E> s, 类<E> type)返回指定有序集的动态类型安全视图。static <T,U>
T[]Arrays. copyOf(U[] original, int newLength, 类<? extends T[]> newType)使用空值复制指定的数组,截断或填充(如有必要),以使副本具有指定的长度。static <T,U>
T[]Arrays. copyOfRange(U[] original, int from, int to, 类<? extends T[]> newType)将指定数组的指定范围复制到新数组中。static <S> ServiceLoader<S>ServiceLoader. load(类<S> service)使用当前线程的 context class loader为给定的服务类型创建新的服务加载器。static <S> ServiceLoader<S>ServiceLoader. load(类<S> service, ClassLoader loader)为给定服务创建新的服务加载器。static <S> ServiceLoader<S>ServiceLoader. load(ModuleLayer layer, 类<S> service)为给定的服务类型创建新的服务加载器,以从给定模块层及其祖先的模块加载服务提供者。static <S> ServiceLoader<S>ServiceLoader. loadInstalled(类<S> service)使用 platform class loader为给定的服务类型创建新的服务加载器。static <E extends Enum<E>>
EnumSet<E>EnumSet. noneOf(类<E> elementType)创建具有指定元素类型的空枚举集。Constructors in java.util with parameters of type 类 构造器 描述 EnumMap(类<K> keyType)创建具有指定键类型的空枚举映射。IllegalFormatConversionException(char c, 类<?> arg)使用不匹配的转换和相应的参数类构造此类的实例。 -
Uses of 类 in java.util.concurrent.atomic
Methods in java.util.concurrent.atomic with parameters of type 类 变量和类型 方法 描述 static <U> AtomicIntegerFieldUpdater<U>AtomicIntegerFieldUpdater. newUpdater(类<U> tclass, String fieldName)为具有给定字段的对象创建并返回更新程序。static <U> AtomicLongFieldUpdater<U>AtomicLongFieldUpdater. newUpdater(类<U> tclass, String fieldName)为具有给定字段的对象创建并返回更新程序。static <U,W>
AtomicReferenceFieldUpdater<U,W>AtomicReferenceFieldUpdater. newUpdater(类<U> tclass, 类<W> vclass, String fieldName)为具有给定字段的对象创建并返回更新程序。 -
Uses of 类 in java.util.prefs
Methods in java.util.prefs with parameters of type 类 变量和类型 方法 描述 static PreferencesPreferences. systemNodeForPackage(类<?> c)从系统首选项树返回首选项节点,该首选项树(按照惯例)与指定的类的包关联。static PreferencesPreferences. userNodeForPackage(类<?> c)从调用用户的首选项树返回首选项节点,该首选项树(按照惯例)与指定的类的包关联。 -
Uses of 类 in javax.annotation.processing
Methods in javax.annotation.processing with parameters of type 类 变量和类型 方法 描述 Set<? extends Element>RoundEnvironment. getElementsAnnotatedWith(类<? extends Annotation> a)返回使用给定注释类型注释的元素。Method parameters in javax.annotation.processing with type arguments of type 类 变量和类型 方法 描述 default Set<? extends Element>RoundEnvironment. getElementsAnnotatedWithAny(Set<类<? extends Annotation>> annotations)返回使用一个或多个给定注释类型注释的元素。 -
Uses of 类 in javax.crypto
Methods in javax.crypto with parameters of type 类 变量和类型 方法 描述 protected abstract KeySpecSecretKeyFactorySpi. engineGetKeySpec(SecretKey key, 类<?> keySpec)以请求的格式返回给定密钥对象的规范(密钥材料)。KeySpecSecretKeyFactory. getKeySpec(SecretKey key, 类<?> keySpec)以请求的格式返回给定密钥对象的规范(密钥材料)。 -
Uses of 类 in javax.imageio.metadata
Methods in javax.imageio.metadata that return 类 变量和类型 方法 描述 类<?>IIOMetadataFormat. getObjectClass(String elementName)返回元素中存储的Object引用的类类型。Methods in javax.imageio.metadata with parameters of type 类 变量和类型 方法 描述 protected voidIIOMetadataFormatImpl. addObjectValue(String elementName, 类<?> classType, int arrayMinLength, int arrayMaxLength)允许Object定类类型的Object引用存储在实现指定元素的节点中。protected <T> voidIIOMetadataFormatImpl. addObjectValue(String elementName, 类<T> classType, boolean required, T defaultValue)允许Object定类类型的Object引用存储在实现指定元素的节点中。protected <T> voidIIOMetadataFormatImpl. addObjectValue(String elementName, 类<T> classType, boolean required, T defaultValue, List<? extends T> enumeratedValues)允许Object定类类型的Object引用存储在实现指定元素的节点中。protected <T extends Object & Comparable<? super T>>
voidIIOMetadataFormatImpl. addObjectValue(String elementName, 类<T> classType, T defaultValue, Comparable<? super T> minValue, Comparable<? super T> maxValue, boolean minInclusive, boolean maxInclusive)允许Object定类类型的Object引用存储在实现指定元素的节点中。 -
Uses of 类 in javax.imageio.spi
Fields in javax.imageio.spi declared as 类 变量和类型 字段 描述 protected 类<?>ImageInputStreamSpi. inputClass类对象,指示createInputStreamInstance方法使用的合法对象类型。protected 类<?>[]ImageReaderSpi. inputTypes要从getInputTypes返回的类对象的数组,最初为null。protected 类<?>ImageOutputStreamSpi. outputClass类对象,指示createInputStreamInstance方法使用的合法对象类型。protected 类<?>[]ImageWriterSpi. outputTypes从getOutputTypes返回的类对象的数组,最初为null。static 类<?>[]ImageReaderSpi. STANDARD_INPUT_TYPE已过时。而不是使用此字段,直接创建等效数组{ ImageInputStream.class }。static 类<?>[]ImageWriterSpi. STANDARD_OUTPUT_TYPE已过时。而不是使用此字段,直接创建等效数组{ ImageOutputStream.class }。Methods in javax.imageio.spi that return 类 变量和类型 方法 描述 类<?>ImageInputStreamSpi. getInputClass()返回一个类表示必须由输入源,以便被实现为“包装”在的类或接口类型的对象ImageInputStream经由createInputStreamInstance方法。类<?>[]ImageReaderSpi. getInputTypes()返回类对象的数组,指示可以将哪些类型的对象用作读者setInput方法的参数。类<?>ImageOutputStreamSpi. getOutputClass()返回一个类表示必须由输出目的地,以便被实现为“包装”在的类或接口类型的对象ImageOutputStream经由createOutputStreamInstance方法。类<?>[]ImageWriterSpi. getOutputTypes()返回类对象的数组,指示可以将哪些类型的对象用作writersetOutput方法的参数。Methods in javax.imageio.spi that return types with arguments of type 类 变量和类型 方法 描述 Iterator<类<?>>ServiceRegistry. getCategories()返回Iterator的类对象,指示当前的类别集。Methods in javax.imageio.spi with parameters of type 类 变量和类型 方法 描述 voidServiceRegistry. deregisterAll(类<?> category)取消注册当前在给定类别下注册的所有服务提供者对象。<T> booleanServiceRegistry. deregisterServiceProvider(T provider, 类<T> category)从给定类别中删除服务提供者对象。<T> TServiceRegistry. getServiceProviderByClass(类<T> providerClass)返回给定类类型的当前注册的服务提供者对象。<T> Iterator<T>ServiceRegistry. getServiceProviders(类<T> category, boolean useOrdering)返回包含给定类别中所有已注册服务提供者的Iterator。<T> Iterator<T>ServiceRegistry. getServiceProviders(类<T> category, ServiceRegistry.Filter filter, boolean useOrdering)返回包含给定类别中的服务提供者对象的Iterator,其满足由所提供的ServiceRegistry.Filter对象的filter方法施加的标准。static <T> Iterator<T>ServiceRegistry. lookupProviders(类<T> providerClass)使用上下文类加载器定位并逐步实例化给定服务的可用提供程序。static <T> Iterator<T>ServiceRegistry. lookupProviders(类<T> providerClass, ClassLoader loader)使用给定的类加载器搜索特定服务类的实现。voidIIOServiceProvider. onDeregistration(ServiceRegistry registry, 类<?> category)每当Spi类从ServiceRegistry取消注册时的ServiceRegistry。voidRegisterableService. onDeregistration(ServiceRegistry registry, 类<?> category)当实现该接口的对象从给定的删除称为category给定的registry。voidIIOServiceProvider. onRegistration(ServiceRegistry registry, 类<?> category)在Spi类实例化并在ServiceRegistry注册后,将调用一次的ServiceRegistry。voidRegisterableService. onRegistration(ServiceRegistry registry, 类<?> category)当实现此接口的对象添加到给定category的给定registry。<T> booleanServiceRegistry. registerServiceProvider(T provider, 类<T> category)将服务提供者对象添加到注册表。<T> booleanServiceRegistry. setOrdering(类<T> category, T firstProvider, T secondProvider)设置给定类别中两个服务提供者对象之间的成对排序。<T> booleanServiceRegistry. unsetOrdering(类<T> category, T firstProvider, T secondProvider)设置给定类别中两个服务提供者对象之间的成对排序。Constructors in javax.imageio.spi with parameters of type 类 构造器 描述 ImageInputStreamSpi(String vendorName, String version, 类<?> inputClass)构造具有给定值集的ImageInputStreamSpi。ImageOutputStreamSpi(String vendorName, String version, 类<?> outputClass)使用给定的值集构造ImageOutputStreamSpi。ImageReaderSpi(String vendorName, String version, String[] names, String[] suffixes, String[] MIMETypes, String readerClassName, 类<?>[] inputTypes, String[] writerSpiNames, boolean supportsStandardStreamMetadataFormat, String nativeStreamMetadataFormatName, String nativeStreamMetadataFormatClassName, String[] extraStreamMetadataFormatNames, String[] extraStreamMetadataFormatClassNames, boolean supportsStandardImageMetadataFormat, String nativeImageMetadataFormatName, String nativeImageMetadataFormatClassName, String[] extraImageMetadataFormatNames, String[] extraImageMetadataFormatClassNames)使用给定的值集构造ImageReaderSpi。ImageWriterSpi(String vendorName, String version, String[] names, String[] suffixes, String[] MIMETypes, String writerClassName, 类<?>[] outputTypes, String[] readerSpiNames, boolean supportsStandardStreamMetadataFormat, String nativeStreamMetadataFormatName, String nativeStreamMetadataFormatClassName, String[] extraStreamMetadataFormatNames, String[] extraStreamMetadataFormatClassNames, boolean supportsStandardImageMetadataFormat, String nativeImageMetadataFormatName, String nativeImageMetadataFormatClassName, String[] extraImageMetadataFormatNames, String[] extraImageMetadataFormatClassNames)构造具有给定值集的ImageWriterSpi。Constructor parameters in javax.imageio.spi with type arguments of type 类 构造器 描述 ServiceRegistry(Iterator<类<?>> categories)构造一个ServiceRegistry实例,其中包含一组取自categories参数的类别。 -
Uses of 类 in javax.lang.model
Methods in javax.lang.model with parameters of type 类 变量和类型 方法 描述 <A extends Annotation>
AAnnotatedConstruct. getAnnotation(类<A> annotationType)返回指定类型的这种构造的注解,如果这样的注释 存在 ,否则null。<A extends Annotation>
A[]AnnotatedConstruct. getAnnotationsByType(类<A> annotationType)返回与此构造 关联的注释。 -
Uses of 类 in javax.lang.model.element
Methods in javax.lang.model.element with parameters of type 类 变量和类型 方法 描述 <A extends Annotation>
AElement. getAnnotation(类<A> annotationType)返回指定类型的这种构造的注解,如果这样的注释 存在 ,否则null。 -
Uses of 类 in javax.management
Methods in javax.management that return 类 变量和类型 方法 描述 类<?>StandardMBean. getImplementationClass()获取此Standard MBean(或MXBean)的实现类。类<?>StandardMBean. getMBeanInterface()获取此标准MBean(或MXBean)的管理界面。static 类<?>DefaultLoaderRepository. loadClass(String className)已过时。浏览类加载器列表并尝试加载所请求的类。static 类<?>DefaultLoaderRepository. loadClassWithout(ClassLoader loader, String className)已过时。浏览类加载器列表但排除给定的类加载器,然后尝试加载所请求的类。Methods in javax.management with parameters of type 类 变量和类型 方法 描述 static booleanJMX. isMXBeanInterface(类<?> interfaceClass)测试接口是否是MXBean接口。static <T> TJMX. newMBeanProxy(MBeanServerConnection connection, ObjectName objectName, 类<T> interfaceClass)为本地或远程MBean Server中的标准MBean创建代理。static <T> TJMX. newMBeanProxy(MBeanServerConnection connection, ObjectName objectName, 类<T> interfaceClass, boolean notificationEmitter)为本地或远程MBean Server中的Standard MBean创建代理,该MBean也可能支持NotificationEmitter的方法。static <T> TJMX. newMXBeanProxy(MBeanServerConnection connection, ObjectName objectName, 类<T> interfaceClass)为本地或远程MBean Server中的MXBean创建代理。static <T> TJMX. newMXBeanProxy(MBeanServerConnection connection, ObjectName objectName, 类<T> interfaceClass, boolean notificationEmitter)为本地或远程MBean Server中的MXBean创建代理,该服务器也可能支持NotificationEmitter的方法。static <T> TMBeanServerInvocationHandler. newProxyInstance(MBeanServerConnection connection, ObjectName objectName, 类<T> interfaceClass, boolean notificationBroadcaster)通过将其方法通过给定的MBean服务器转发到指定的MBean,返回实现给定接口的代理。Constructors in javax.management with parameters of type 类 构造器 描述 StandardEmitterMBean(类<?> mbeanInterface, boolean isMXBean, NotificationEmitter emitter)创建一个MBean,其管理接口由mbeanInterface指定,并且通知由给定的NotificationEmitter处理。StandardEmitterMBean(类<?> mbeanInterface, NotificationEmitter emitter)创建一个MBean,其管理接口由mbeanInterface指定,并且通知由给定的NotificationEmitter处理。StandardEmitterMBean(T implementation, 类<T> mbeanInterface, boolean isMXBean, NotificationEmitter emitter)创建一个MBean,其管理接口由mbeanInterface指定,具有给定的实现,并由给定的NotificationEmitter处理通知。StandardEmitterMBean(T implementation, 类<T> mbeanInterface, NotificationEmitter emitter)创建一个MBean,其管理接口由mbeanInterface指定,具有给定的实现,并且给定的NotificationEmitter处理通知。StandardMBean(类<?> mbeanInterface)做一个DynamicMBean的出 这一点 ,使用指定的 mbeanInterface类。StandardMBean(类<?> mbeanInterface, boolean isMXBean)做一个DynamicMBean的出 这一点 ,使用指定的 mbeanInterface类,并选择所产生的MBean是一个MXBean。StandardMBean(T implementation, 类<T> mbeanInterface)使用指定的 mbeanInterface类从对象 实现中创建DynamicMBean。StandardMBean(T implementation, 类<T> mbeanInterface, boolean isMXBean)使用指定的 mbeanInterface类从对象 实现中创建DynamicMBean,并选择生成的MBean是否为MXBean。 -
Uses of 类 in javax.management.loading
Methods in javax.management.loading that return 类 变量和类型 方法 描述 protected 类<?>MLet. findClass(String name)这是正在重新定义的类加载器的主要方法。类<?>ClassLoaderRepository. loadClass(String className)通过类加载器列表加载给定的类名。static 类<?>DefaultLoaderRepository. loadClass(String className)已过时。浏览类加载器列表并尝试加载所请求的类。类<?>MLet. loadClass(String name, ClassLoaderRepository clr)如果在此MLet的URL中找不到该类,则使用给定的ClassLoaderRepository加载一个类。类<?>ClassLoaderRepository. loadClassBefore(ClassLoader stop, String className)通过类加载器列表加载给定的类名,停在给定的类名。类<?>ClassLoaderRepository. loadClassWithout(ClassLoader exclude, String className)通过类加载器列表加载给定的类名,不包括给定的类加载器。static 类<?>DefaultLoaderRepository. loadClassWithout(ClassLoader loader, String className)已过时。浏览类加载器列表但排除给定的类加载器,然后尝试加载所请求的类。 -
Uses of 类 in javax.management.openmbean
Methods in javax.management.openmbean with parameters of type 类 变量和类型 方法 描述 static <T> ArrayType<T>ArrayType. getPrimitiveArrayType(类<T> arrayClass)以类型安全的方式创建ArrayType实例。 -
Uses of 类 in javax.naming.spi
Methods in javax.naming.spi with parameters of type 类 变量和类型 方法 描述 ResolveResultResolver. resolveToClass(String name, 类<? extends Context> contextType)部分解析一个名字。ResolveResultResolver. resolveToClass(Name name, 类<? extends Context> contextType)部分解析一个名字。 -
Uses of 类 in javax.print
Methods in javax.print that return 类 变量和类型 方法 描述 类<?>[]PrintService. getSupportedAttributeCategories()确定客户端在为此打印服务设置作业时可以指定的打印属性类别。类<?>[]AttributeException. getUnsupportedAttributes()返回Print Service实例根本不支持该属性的打印属性类数组,如果没有此类属性,则null。Methods in javax.print with parameters of type 类 变量和类型 方法 描述 <T extends PrintServiceAttribute>
TPrintService. getAttribute(类<T> category)获取单个指定服务属性的值。ObjectPrintService. getDefaultAttributeValue(类<? extends Attribute> category)确定此打印服务在给定类别中的默认打印属性值。ObjectPrintService. getSupportedAttributeValues(类<? extends Attribute> category, DocFlavor flavor, AttributeSet attributes)确定在为此打印服务设置作业时客户端可以在给定类别中指定的打印属性值。booleanPrintService. isAttributeCategorySupported(类<? extends Attribute> category)确定客户端在为此打印服务设置作业时是否可以指定给定的打印属性类别。 -
Uses of 类 in javax.print.attribute
Methods in javax.print.attribute that return 类 变量和类型 方法 描述 类<? extends Attribute>Attribute. getCategory()获取打印属性类,该属性类在添加到属性集时用作此打印属性值的“类别”。static 类<?>AttributeSetUtilities. verifyAttributeCategory(Object object, 类<?> interfaceName)Methods in javax.print.attribute with parameters of type 类 变量和类型 方法 描述 booleanAttributeSet. containsKey(类<?> category)如果此属性集包含指定类别的属性,则返回true。booleanHashAttributeSet. containsKey(类<?> category)如果此属性集包含指定类别的属性,则返回true。AttributeAttributeSet. get(类<?> category)返回此属性集在给定属性类别中包含的属性值。AttributeHashAttributeSet. get(类<?> category)返回此属性集在给定属性类别中包含的属性值。booleanAttributeSet. remove(类<?> category)从此属性集中删除此类别的任何属性(如果存在)。booleanHashAttributeSet. remove(类<?> category)从此属性集中删除此类别的任何属性(如果存在)。static 类<?>AttributeSetUtilities. verifyAttributeCategory(Object object, 类<?> interfaceName)static AttributeAttributeSetUtilities. verifyAttributeValue(Object object, 类<?> interfaceName)验证给定对象是给定接口的实例,假定该接口是接口Attribute或其子接口。static voidAttributeSetUtilities. verifyCategoryForValue(类<?> category, Attribute attribute)验证给定的属性类别对象是否等于给定属性值对象的类别。Constructors in javax.print.attribute with parameters of type 类 构造器 描述 HashAttributeSet(类<?> interfaceName)构造一个新的空属性集,其中属性集的成员仅限于给定的接口。HashAttributeSet(Attribute[] attributes, 类<?> interfaceName)构造一个新的属性集,其中属性集的成员仅限于给定的接口。HashAttributeSet(Attribute attribute, 类<?> interfaceName)构造一个新的属性集,最初使用给定的属性填充,其中属性集的成员仅限于给定的接口。HashAttributeSet(AttributeSet attributes, 类<?> interfaceName)构造一个新的属性集,最初使用给定集合中的值填充,其中属性集的成员仅限于给定的接口。 -
Uses of 类 in javax.print.attribute.standard
Methods in javax.print.attribute.standard that return 类 变量和类型 方法 描述 类<? extends Attribute>Chromaticity. getCategory()获取将用作此打印属性值的“类别”的打印属性类。类<? extends Attribute>ColorSupported. getCategory()获取将用作此打印属性值的“类别”的打印属性类。类<? extends Attribute>Compression. getCategory()获取将用作此打印属性值的“类别”的打印属性类。类<? extends Attribute>Copies. getCategory()获取将用作此打印属性值的“类别”的打印属性类。类<? extends Attribute>CopiesSupported. getCategory()获取将用作此打印属性值的“类别”的打印属性类。类<? extends Attribute>DateTimeAtCompleted. getCategory()获取将用作此打印属性值的“类别”的打印属性类。类<? extends Attribute>DateTimeAtCreation. getCategory()获取将用作此打印属性值的“类别”的打印属性类。类<? extends Attribute>DateTimeAtProcessing. getCategory()获取将用作此打印属性值的“类别”的打印属性类。类<? extends Attribute>Destination. getCategory()获取将用作此打印属性值的“类别”的打印属性类。类<? extends Attribute>DialogOwner. getCategory()获取将用作此打印属性值的“类别”的打印属性类。类<? extends Attribute>DialogTypeSelection. getCategory()获取将用作此打印属性值的“类别”的打印属性类。类<? extends Attribute>DocumentName. getCategory()获取将用作此打印属性值的“类别”的打印属性类。类<? extends Attribute>Fidelity. getCategory()获取将用作此打印属性值的“类别”的打印属性类。类<? extends Attribute>Finishings. getCategory()获取将用作此打印属性值的“类别”的打印属性类。类<? extends Attribute>JobHoldUntil. getCategory()获取将用作此打印属性值的“类别”的打印属性类。类<? extends Attribute>JobImpressions. getCategory()获取将用作此打印属性值的“类别”的打印属性类。类<? extends Attribute>JobImpressionsCompleted. getCategory()获取将用作此打印属性值的“类别”的打印属性类。类<? extends Attribute>JobImpressionsSupported. getCategory()获取将用作此打印属性值的“类别”的打印属性类。类<? extends Attribute>JobKOctets. getCategory()获取将用作此打印属性值的“类别”的打印属性类。类<? extends Attribute>JobKOctetsProcessed. getCategory()获取将用作此打印属性值的“类别”的打印属性类。类<? extends Attribute>JobKOctetsSupported. getCategory()获取将用作此打印属性值的“类别”的打印属性类。类<? extends Attribute>JobMediaSheets. getCategory()获取将用作此打印属性值的“类别”的打印属性类。类<? extends Attribute>JobMediaSheetsCompleted. getCategory()获取将用作此打印属性值的“类别”的打印属性类。类<? extends Attribute>JobMediaSheetsSupported. getCategory()获取将用作此打印属性值的“类别”的打印属性类。类<? extends Attribute>JobMessageFromOperator. getCategory()获取将用作此打印属性值的“类别”的打印属性类。类<? extends Attribute>JobName. getCategory()获取将用作此打印属性值的“类别”的打印属性类。类<? extends Attribute>JobOriginatingUserName. getCategory()获取将用作此打印属性值的“类别”的打印属性类。类<? extends Attribute>JobPriority. getCategory()获取将用作此打印属性值的“类别”的打印属性类。类<? extends Attribute>JobPrioritySupported. getCategory()获取将用作此打印属性值的“类别”的打印属性类。类<? extends Attribute>JobSheets. getCategory()获取将用作此打印属性值的“类别”的打印属性类。类<? extends Attribute>JobState. getCategory()获取将用作此打印属性值的“类别”的打印属性类。类<? extends Attribute>JobStateReason. getCategory()获取将用作此打印属性值的“类别”的打印属性类。类<? extends Attribute>JobStateReasons. getCategory()获取将用作此打印属性值的“类别”的打印属性类。类<? extends Attribute>Media. getCategory()获取将用作此打印属性值的“类别”的打印属性类。类<? extends Attribute>MediaPrintableArea. getCategory()获取将用作此打印属性值的“类别”的打印属性类。类<? extends Attribute>MediaSize. getCategory()获取将用作此打印属性值的“类别”的打印属性类。类<? extends Attribute>MultipleDocumentHandling. getCategory()获取将用作此打印属性值的“类别”的打印属性类。类<? extends Attribute>NumberOfDocuments. getCategory()获取将用作此打印属性值的“类别”的打印属性类。类<? extends Attribute>NumberOfInterveningJobs. getCategory()获取将用作此打印属性值的“类别”的打印属性类。类<? extends Attribute>NumberUp. getCategory()获取将用作此打印属性值的“类别”的打印属性类。类<? extends Attribute>NumberUpSupported. getCategory()获取将用作此打印属性值的“类别”的打印属性类。类<? extends Attribute>OrientationRequested. getCategory()获取将用作此打印属性值的“类别”的打印属性类。类<? extends Attribute>OutputDeviceAssigned. getCategory()获取将用作此打印属性值的“类别”的打印属性类。类<? extends Attribute>PageRanges. getCategory()获取将用作此打印属性值的“类别”的打印属性类。类<? extends Attribute>PagesPerMinute. getCategory()获取将用作此打印属性值的“类别”的打印属性类。类<? extends Attribute>PagesPerMinuteColor. getCategory()获取将用作此打印属性值的“类别”的打印属性类。类<? extends Attribute>PDLOverrideSupported. getCategory()获取将用作此打印属性值的“类别”的打印属性类。类<? extends Attribute>PresentationDirection. getCategory()获取将用作此打印属性值的“类别”的打印属性类。类<? extends Attribute>PrinterInfo. getCategory()获取将用作此打印属性值的“类别”的打印属性类。类<? extends Attribute>PrinterIsAcceptingJobs. getCategory()获取将用作此打印属性值的“类别”的打印属性类。类<? extends Attribute>PrinterLocation. getCategory()获取将用作此打印属性值的“类别”的打印属性类。类<? extends Attribute>PrinterMakeAndModel. getCategory()获取将用作此打印属性值的“类别”的打印属性类。类<? extends Attribute>PrinterMessageFromOperator. getCategory()获取将用作此打印属性值的“类别”的打印属性类。类<? extends Attribute>PrinterMoreInfo. getCategory()获取将用作此打印属性值的“类别”的打印属性类。类<? extends Attribute>PrinterMoreInfoManufacturer. getCategory()获取将用作此打印属性值的“类别”的打印属性类。类<? extends Attribute>PrinterName. getCategory()获取将用作此打印属性值的“类别”的打印属性类。类<? extends Attribute>PrinterResolution. getCategory()获取将用作此打印属性值的“类别”的打印属性类。类<? extends Attribute>PrinterState. getCategory()获取将用作此打印属性值的“类别”的打印属性类。类<? extends Attribute>PrinterStateReason. getCategory()获取将用作此打印属性值的“类别”的打印属性类。类<? extends Attribute>PrinterStateReasons. getCategory()获取将用作此打印属性值的“类别”的打印属性类。类<? extends Attribute>PrinterURI. getCategory()获取将用作此打印属性值的“类别”的打印属性类。类<? extends Attribute>PrintQuality. getCategory()获取将用作此打印属性值的“类别”的打印属性类。类<? extends Attribute>QueuedJobCount. getCategory()获取将用作此打印属性值的“类别”的打印属性类。类<? extends Attribute>ReferenceUriSchemesSupported. getCategory()获取将用作此打印属性值的“类别”的打印属性类。类<? extends Attribute>RequestingUserName. getCategory()获取将用作此打印属性值的“类别”的打印属性类。类<? extends Attribute>Severity. getCategory()获取将用作此打印属性值的“类别”的打印属性类。类<? extends Attribute>SheetCollate. getCategory()获取将用作此打印属性值的“类别”的打印属性类。类<? extends Attribute>Sides. getCategory()获取将用作此打印属性值的“类别”的打印属性类。 -
Uses of 类 in javax.script
Methods in javax.script with parameters of type 类 变量和类型 方法 描述 <T> TInvocable. getInterface(类<T> clasz)使用解释器中编译的函数返回接口的实现。<T> TInvocable. getInterface(Object thiz, 类<T> clasz)使用在解释器中编译的脚本对象的成员函数返回接口的实现。 -
Uses of 类 in javax.security.auth
Methods in javax.security.auth with parameters of type 类 变量和类型 方法 描述 <T extends Principal>
Set<T>Subject. getPrincipals(类<T> c)返回与此Subject相关联的Set个Principals,它们是指定的类实例或子类。<T> Set<T>Subject. getPrivateCredentials(类<T> c)返回与此Subject关联的Set有凭据,这些凭据是指定的类实例或子类。<T> Set<T>Subject. getPublicCredentials(类<T> c)返回与此Subject关联的Set公共凭证,它们是指定的类实例或子类。 -
Uses of 类 in javax.sound.midi
Methods in javax.sound.midi that return 类 变量和类型 方法 描述 类<?>SoundbankResource. getDataClass()获取此示例使用的类来表示其数据。Constructors in javax.sound.midi with parameters of type 类 构造器 描述 Instrument(Soundbank soundbank, Patch patch, String name, 类<?> dataClass)根据指定的Patch构造一个新的MIDI乐器。SoundbankResource(Soundbank soundBank, String name, 类<?> dataClass)根据给定的声音库和波表索引构造一个新的SoundbankResource。 -
Uses of 类 in javax.sound.sampled
Methods in javax.sound.sampled that return 类 变量和类型 方法 描述 类<?>Line.Info. getLineClass()获得此Line.Info对象描述的行的类。Constructors in javax.sound.sampled with parameters of type 类 构造器 描述 Info(类<?> lineClass, AudioFormat format)根据指定信息构造数据行的info对象,该信息包括单个音频格式。Info(类<?> lineClass, AudioFormat[] formats, int minBufferSize, int maxBufferSize)根据指定的信息构造数据行的info对象,其中包括一组支持的音频格式和缓冲区大小的范围。Info(类<?> lineClass, AudioFormat format, int bufferSize)根据指定的信息构造数据行的info对象,其中包括单个音频格式和所需的缓冲区大小。Info(类<?> lineClass)构造一个描述指定类的行的info对象。Info(类<?> lineClass, String name, boolean isSource)根据给定的信息构造端口的info对象。 -
Uses of 类 in javax.sql
Methods in javax.sql that return types with arguments of type 类 变量和类型 方法 描述 Map<String,类<?>>RowSet. getTypeMap()检索与此Map对象关联的RowSet对象,该对象指定SQL用户定义类型的自定义映射(如果有)。Method parameters in javax.sql with type arguments of type 类 变量和类型 方法 描述 voidRowSet. setTypeMap(Map<String,类<?>> map)安装给定的java.util.Map对象的默认类型映射此RowSet对象。 -
Uses of 类 in javax.sql.rowset
Methods in javax.sql.rowset that return types with arguments of type 类 变量和类型 方法 描述 Map<String,类<?>>BaseRowSet. getTypeMap()检索与该关联的类型映射Connection对象此RowSet对象。Methods in javax.sql.rowset with parameters of type 类 变量和类型 方法 描述 booleanRowSetMetaDataImpl. isWrapperFor(类<?> interfaces)如果这实现了接口参数,或者直接或间接地作为对象的包装器,则返回true。<T> TRowSetMetaDataImpl. unwrap(类<T> iface)返回实现给定接口的对象,以允许访问非标准方法或代理未公开的标准方法。Method parameters in javax.sql.rowset with type arguments of type 类 变量和类型 方法 描述 voidBaseRowSet. setTypeMap(Map<String,类<?>> map)安装给定的java.util.Map对象作为与相关联的类型映射Connection对象此RowSet对象。 -
Uses of 类 in javax.sql.rowset.serial
Method parameters in javax.sql.rowset.serial with type arguments of type 类 变量和类型 方法 描述 ObjectSerialArray. getArray(long index, int count, Map<String,类<?>> map)返回一个新数组,该数组是此SerialArray对象的切片的副本,从给定索引处的元素开始并包含给定数量的连续元素。ObjectSerialArray. getArray(Map<String,类<?>> map)返回一个新数组,该数组是此SerialArray对象的副本,当元素为SQL UDT时,使用给定的类型映射表示每个元素的自定义映射。Object[]SerialStruct. getAttributes(Map<String,类<?>> map)检索此SerialStruct表示的SQL结构类型的属性,作为Object值的数组,使用给定的自定义映射类型映射(如果适用)。ObjectSerialRef. getObject(Map<String,类<?>> map)返回Object表示对此的SQL结构类型SerialRef对象引用。ResultSetSerialArray. getResultSet(long index, int count, Map<String,类<?>> map)检索包含从检索ResultSet对象开始的子ResultSet的元素的结果集,该对象包含此SerialArray对象中元素的子SerialArray,从索引 索引开始并包含最多 计数连续元素。ResultSetSerialArray. getResultSet(Map<String,类<?>> map)检索ResultSet对象,该对象包含此SerialArray对象表示的SQLARRAY值的所有元素。Constructor parameters in javax.sql.rowset.serial with type arguments of type 类 构造器 描述 SerialArray(Array array, Map<String,类<?>> map)从给定的Array对象构造一个新的SerialArray对象,当元素是SQL UDT时,使用给定的类型映射来表示每个元素的自定义映射。SerialStruct(SQLData in, Map<String,类<?>> map)构造一个SerialStruct从给定对象SQLData对象,使用给定类型映射表将其自定义映射到Java编程语言中的类。SerialStruct(Struct in, Map<String,类<?>> map)构造一个SerialStruct从给定对象Struct对象,使用给定java.util.Map对象定义映射SQL结构类型或任何它的属性是SQL结构类型。SQLInputImpl(Object[] attributes, Map<String,类<?>> map)创建使用给定的属性数组和给定的类型映射初始化的SQLInputImpl对象。 -
Uses of 类 in javax.swing
Methods in javax.swing that return 类 变量和类型 方法 描述 类<?>JTable. getColumnClass(int column)返回列位置column显示的列的类型。类<? extends ComponentUI>UIDefaults. getUIClass(String uiClassID)返回呈现此组件的L&F类。类<? extends ComponentUI>UIDefaults. getUIClass(String uiClassID, ClassLoader uiClassLoader)get(uidClassID)的值必须是实现相应ComponentUI类的类的String名称。Methods in javax.swing with parameters of type 类 变量和类型 方法 描述 static ContainerSwingUtilities. getAncestorOfClass(类<?> c, Component comp)在组件层次结构中搜索上述comp便捷方法,并返回它找到的类c的第一个对象。TableCellEditorJTable. getDefaultEditor(类<?> columnClass)返回在TableColumn未设置编辑器时要使用的编辑器。TableCellRendererJTable. getDefaultRenderer(类<?> columnClass)返回在TableColumn未设置渲染器时要使用的单元格渲染器。<T extends EventListener>
T[]AbstractListModel. getListeners(类<T> listenerType)返回此模型上当前注册为FooListener的所有对象的数组。<T extends EventListener>
T[]AbstractSpinnerModel. getListeners(类<T> listenerType)返回添加到此模型的给定类型的所有侦听器的数组。<T extends EventListener>
T[]DefaultBoundedRangeModel. getListeners(类<T> listenerType)返回此模型上当前注册为FooListener的所有对象的数组。<T extends EventListener>
T[]DefaultButtonModel. getListeners(类<T> listenerType)返回此模型上当前注册为FooListener的所有对象的数组。<T extends EventListener>
T[]DefaultListSelectionModel. getListeners(类<T> listenerType)返回此模型上当前注册为FooListener的所有对象的数组。<T extends EventListener>
T[]DefaultSingleSelectionModel. getListeners(类<T> listenerType)返回此模型上当前注册为FooListener的所有对象的数组。<T extends EventListener>
T[]JComponent. getListeners(类<T> listenerType)返回当前注册的所有对象的数组FooListener在这个SJComponent。<T extends EventListener>
T[]Timer. getListeners(类<T> listenerType)返回当前注册的所有对象的数组FooListener在这个STimer。static ObjectLookAndFeel. makeIcon(类<?> baseClass, String gifFile)创建并返回加载图像的UIDefault.LazyValue。voidJTable. setDefaultEditor(类<?> columnClass, TableCellEditor editor)如果在TableColumn未设置编辑器,则设置要使用的默认单元格编辑器。voidJTable. setDefaultRenderer(类<?> columnClass, TableCellRenderer renderer)如果未在TableColumn设置渲染器,则设置要使用的默认单元格渲染器。 -
Uses of 类 in javax.swing.event
Methods in javax.swing.event with parameters of type 类 变量和类型 方法 描述 <T extends EventListener>
voidEventListenerList. add(类<T> t, T l)将侦听器添加为指定类型的侦听器。intEventListenerList. getListenerCount(类<?> t)返回此侦听器列表提供的类型的侦听器总数。<T extends EventListener>
T[]EventListenerList. getListeners(类<T> t)返回给定类型的所有侦听器的数组。<T extends EventListener>
voidEventListenerList. remove(类<T> t, T l)将侦听器作为指定类型的侦听器删除。 -
Uses of 类 in javax.swing.plaf.synth
Methods in javax.swing.plaf.synth with parameters of type 类 变量和类型 方法 描述 voidSynthLookAndFeel. load(InputStream input, 类<?> resourceBase)加载一套SynthStyle将由本使用的SSynthLookAndFeel。 -
Uses of 类 in javax.swing.table
Methods in javax.swing.table that return 类 变量和类型 方法 描述 类<?>AbstractTableModel. getColumnClass(int columnIndex)无论Object.class都返回columnIndex。类<?>TableModel. getColumnClass(int columnIndex)返回列中所有单元格值的最特定超类。Methods in javax.swing.table with parameters of type 类 变量和类型 方法 描述 <T extends EventListener>
T[]AbstractTableModel. getListeners(类<T> listenerType)返回此AbstractTableModel当前注册为FooListeners的所有对象的数组。<T extends EventListener>
T[]DefaultTableColumnModel. getListeners(类<T> listenerType)返回此模型上当前注册为FooListener的所有对象的数组。 -
Uses of 类 in javax.swing.text
Methods in javax.swing.text that return 类 变量和类型 方法 描述 类<?>DefaultFormatter. getValueClass()返回用于创建新对象的类。Methods in javax.swing.text with parameters of type 类 变量和类型 方法 描述 <T extends EventListener>
T[]AbstractDocument. getListeners(类<T> listenerType)返回此文档上当前注册为FooListener的所有对象的数组。<T extends EventListener>
T[]DefaultCaret. getListeners(类<T> listenerType)返回当前在此插入符号上注册为FooListener的所有对象的数组。<T extends EventListener>
T[]StyleContext.NamedStyle. getListeners(类<T> listenerType)返回添加到此模型的给定类型的所有侦听器的数组。voidDefaultFormatter. setValueClass(类<?> valueClass)设置用于创建新对象的类。 -
Uses of 类 in javax.swing.tree
Methods in javax.swing.tree with parameters of type 类 变量和类型 方法 描述 <T extends EventListener>
T[]DefaultTreeModel. getListeners(类<T> listenerType)返回此模型上当前注册为FooListener的所有对象的数组。<T extends EventListener>
T[]DefaultTreeSelectionModel. getListeners(类<T> listenerType)返回此模型上当前注册为FooListener的所有对象的数组。 -
Uses of 类 in javax.tools
Methods in javax.tools with parameters of type 类 变量和类型 方法 描述 <S> ServiceLoader<S>ForwardingJavaFileManager. getServiceLoader(JavaFileManager.Location location, 类<S> service)default <S> ServiceLoader<S>JavaFileManager. getServiceLoader(JavaFileManager.Location location, 类<S> service)从给定位置获取特定服务类的服务加载程序。DocumentationTool.DocumentationTaskDocumentationTool. getTask(Writer out, JavaFileManager fileManager, DiagnosticListener<? super JavaFileObject> diagnosticListener, 类<?> docletClass, Iterable<String> options, Iterable<? extends JavaFileObject> compilationUnits)使用给定的组件和参数为文档任务创建未来。 -
Uses of 类 in javax.xml.xpath
Methods in javax.xml.xpath with parameters of type 类 变量和类型 方法 描述 default <T> TXPath. evaluateExpression(String expression, Object item, 类<T> type)在指定的上下文中计算XPath表达式,并使用通过class type指定的类型返回结果default <T> TXPath. evaluateExpression(String expression, InputSource source, 类<T> type)在指定的source的上下文中计算XPath表达式,并返回指定的结果。default <T> TXPathExpression. evaluateExpression(Object item, 类<T> type)在指定的上下文中计算已编译的XPath表达式,并使用通过class type指定的类型返回结果。default <T> TXPathExpression. evaluateExpression(InputSource source, 类<T> type)在指定的上下文中计算已编译的XPath表达式,并返回具有通过class type指定的类型的结果static QNameXPathEvaluationResult.XPathResultType. getQNameType(类<?> clsType)返回XPathConstants中指定的QName类型,该类型对应于指定的类类型。 -
Uses of 类 in jdk.dynalink.beans
Methods in jdk.dynalink.beans that return 类 变量和类型 方法 描述 类<?>StaticClass. getRepresentedClass()返回表示的Java类。Methods in jdk.dynalink.beans with parameters of type 类 变量和类型 方法 描述 static StaticClassStaticClass. forClass(类<?> clazz)检索指定类的StaticClass实例。static ObjectBeansLinker. getConstructorMethod(类<?> clazz, String signature)返回给定类和给定签名的构造函数的动态方法。static Set<String>BeansLinker. getInstanceMethodNames(类<?> clazz)返回类的所有实例方法的一组名称。TypeBasedGuardingDynamicLinkerBeansLinker. getLinkerForClass(类<?> clazz)返回特定单个类的bean链接器。static Set<String>BeansLinker. getReadableInstancePropertyNames(类<?> clazz)返回类的所有可读实例属性的一组名称。static Set<String>BeansLinker. getReadableStaticPropertyNames(类<?> clazz)返回类的所有可读静态属性的一组名称。static Set<String>BeansLinker. getStaticMethodNames(类<?> clazz)返回类的所有静态方法的一组名称。static Set<String>BeansLinker. getWritableInstancePropertyNames(类<?> clazz)返回类的所有可写实例属性的一组名称。static Set<String>BeansLinker. getWritableStaticPropertyNames(类<?> clazz)返回类的所有可写静态属性的一组名称。 -
Uses of 类 in jdk.dynalink.linker
Methods in jdk.dynalink.linker that return 类 变量和类型 方法 描述 类<? extends Throwable>GuardedInvocation. getException()返回异常类型,如果调用抛出该异常类型,则应使此受保护调用的链接无效。Methods in jdk.dynalink.linker with parameters of type 类 变量和类型 方法 描述 booleanLinkerServices. canConvert(类<?> from, 类<?> to)如果请求的类型之间存在转换(自动JVM转换或任何可用的GuardingTypeConverterFactory提供的转换),则返回true;如果请求的类型之间肯定不存在转换,则返回false。booleanTypeBasedGuardingDynamicLinker. canLinkType(类<?> type)如果链接器可以链接第一个参数(接收方)是指定类型的调用,则返回true。ConversionComparator.ComparisonConversionComparator. compareConversion(类<?> sourceType, 类<?> targetType1, 类<?> targetType2)确定两种目标类型中的哪一种是源类型的首选转换目标。ConversionComparator.ComparisonLinkerServices. compareConversion(类<?> sourceType, 类<?> targetType1, 类<?> targetType2)确定从源类型到两种目标类型的两种类型转换中的哪一种是首选。GuardedInvocationGuardingTypeConverterFactory. convertToType(类<?> sourceType, 类<?> targetType, Supplier<MethodHandles.Lookup> lookupSupplier)返回一个受保护的类型转换,它接收指定源类型的值并返回转换为指定目标类型的值。GuardedInvocationGuardedInvocation. dropArguments(int pos, 类<?>... valueTypes)使得其滴在调用和保护两个参数(如果它存在,并具有至少一个调用pos用参数)MethodHandles.dropArguments(MethodHandle, int, Class...)。MethodHandleLinkerServices. getTypeConverter(类<?> sourceType, 类<?> targetType)给定源和目标类型,返回一个在它们之间进行转换的方法句柄。Method parameters in jdk.dynalink.linker with type arguments of type 类 变量和类型 方法 描述 GuardedInvocationGuardedInvocation. dropArguments(int pos, List<类<?>> valueTypes)使得其滴在调用和保护两个参数(如果它存在,并具有至少一个调用pos用参数)MethodHandles.dropArguments(MethodHandle, int, List)。Constructors in jdk.dynalink.linker with parameters of type 类 构造器 描述 GuardedInvocation(MethodHandle invocation, MethodHandle guard, SwitchPoint[] switchPoints, 类<? extends Throwable> exception)创建一个新的受保护调用,具有一个保护方法句柄,可用于使其无效的任意数量的切换点,以及一个异常,如果在调用时抛出它也会使其无效。GuardedInvocation(MethodHandle invocation, MethodHandle guard, SwitchPoint switchPoint, 类<? extends Throwable> exception)创建一个新的受保护调用,带有一个保护方法句柄,一个可用于使其无效的切换点,以及一个异常,如果在调用时抛出它也会使其无效。 -
Uses of 类 in jdk.dynalink.linker.support
Methods in jdk.dynalink.linker.support that return 类 变量和类型 方法 描述 static 类<?>TypeUtilities. getPrimitiveType(类<?> wrapperType)当传递表示基本类型的包装器的类时,返回表示相应基元类型的类。static 类<?>TypeUtilities. getPrimitiveTypeByName(String name)给定基本类型的名称将返回表示它的类。static 类<?>TypeUtilities. getWrapperType(类<?> primitiveType)传递表示基本类型的类时,返回表示相应包装类型的类。Methods in jdk.dynalink.linker.support with parameters of type 类 变量和类型 方法 描述 booleanCompositeTypeBasedGuardingDynamicLinker. canLinkType(类<?> type)如果至少有一个复合链接器从TypeBasedGuardingDynamicLinker.canLinkType(Class)为该类型返回true, 则返回true。MethodHandleLookup. findGetter(类<?> refc, String name, 类<?> type)static MethodHandleLookup. findOwnSpecial(MethodHandles.Lookup lookup, String name, 类<?> rtype, 类<?>... ptypes)给定查找,找到在该查找类上使用Lookup.findSpecial(Class, String, MethodType)方法。MethodHandleLookup. findOwnSpecial(String name, 类<?> rtype, 类<?>... ptypes)在该查找类上查找使用Lookup.findSpecial(Class, String, MethodType)方法。static MethodHandleLookup. findOwnStatic(MethodHandles.Lookup lookup, String name, 类<?> rtype, 类<?>... ptypes)给定查找,找到在该查找类上使用Lookup.findStatic(Class, String, MethodType)方法。MethodHandleLookup. findOwnStatic(String name, 类<?> rtype, 类<?>... ptypes)在该查找类上查找使用Lookup.findStatic(Class, String, MethodType)方法。MethodHandleLookup. findSpecial(类<?> declaringClass, String name, MethodType type)MethodHandleLookup. findStatic(类<?> declaringClass, String name, MethodType type)MethodHandleLookup. findVirtual(类<?> declaringClass, String name, MethodType type)static MethodHandleGuards. getClassGuard(类<?> clazz)创建一个guard方法,测试其唯一的参数是否为精确的特定类。static MethodHandleGuards. getInstanceOfGuard(类<?> clazz)创建一个guard方法,测试其作为特定类的实例的唯一参数。static 类<?>TypeUtilities. getPrimitiveType(类<?> wrapperType)当传递表示基本类型的包装器的类时,返回表示相应基元类型的类。static 类<?>TypeUtilities. getWrapperType(类<?> primitiveType)传递表示基本类型的类时,返回表示相应包装类型的类。static booleanTypeUtilities. isConvertibleWithoutLoss(类<?> sourceType, 类<?> targetType)确定是否可以将类型转换为另一种类型而不会丢失任何精度。static MethodHandleGuards. isInstance(类<?> clazz, int pos, MethodType type)使用指定类型的参数创建方法句柄,但使用布尔返回值。static MethodHandleGuards. isInstance(类<?> clazz, MethodType type)使用指定类型的参数创建方法句柄,但使用布尔返回值。static booleanTypeUtilities. isMethodInvocationConvertible(类<?> sourceType, 类<?> targetType)根据JLS 5.3“方法调用转换”,确定是否可以使用方法调用转换将一种类型转换为另一种类型。static MethodHandleGuards. isOfClass(类<?> clazz, MethodType type)使用指定类型的参数创建一个guard方法句柄,但使用布尔返回值。static booleanTypeUtilities. isSubtype(类<?> subType, 类<?> superType)根据JLS 4.10“Subtyping”确定一种类型是否是另一种类型的子类型。static booleanTypeUtilities. isWrapperType(类<?> type)如果传递的类型是基本类型的包装器,则返回true。 -
Uses of 类 in jdk.jfr
Methods in jdk.jfr with parameters of type 类 变量和类型 方法 描述 static voidFlightRecorder. addPeriodicEvent(类<? extends Event> eventClass, Runnable hook)为周期性事件添加一个钩子。EventSettingsRecording. disable(类<? extends Event> eventClass)禁用事件。EventSettingsRecording. enable(类<? extends Event> eventClass)启用事件。<A> AAnnotationElement. getAnnotation(类<? extends Annotation> annotationType)如果存在具有相同名称的AnnotationElement,则返回指定类型的第一个注释,否则null。<A extends Annotation>
AEventType. getAnnotation(类<A> annotationClass)如果直接存在具有相同名称的注释元素,则返回指定类型的第一个注释,否则null。<A extends Annotation>
ASettingDescriptor. getAnnotation(类<A> annotationType)如果具有相同名称的注释元素可用,则返回指定类型的第一个注释,否则null。<A extends Annotation>
AValueDescriptor. getAnnotation(类<A> annotationType)如果具有相同名称的注释元素直接存在于此值描述符,则返回指定类型的第一个注释,否则null。static EventTypeEventType. getEventType(类<? extends Event> eventClass)返回事件类的事件类型,如果不存在,则返回null。static voidFlightRecorder. register(类<? extends Event> eventClass)注册一个事件类。static voidFlightRecorder. unregister(类<? extends Event> eventClass)取消注册事件类。Constructors in jdk.jfr with parameters of type 类 构造器 描述 AnnotationElement(类<? extends Annotation> annotationType)创建用于动态定义事件的注释元素。AnnotationElement(类<? extends Annotation> annotationType, Object value)创建用于动态定义事件的注释元素。AnnotationElement(类<? extends Annotation> annotationType, Map<String,Object> values)创建用于动态定义事件的注释元素。ValueDescriptor(类<?> type, String name)构造一个值描述符,用于动态创建事件类型和注释。ValueDescriptor(类<?> type, String name, List<AnnotationElement> annotations)构造一个值描述符,用于动态创建事件类型和注释。 -
Uses of 类 in jdk.jshell.execution
Methods in jdk.jshell.execution that return 类 变量和类型 方法 描述 protected 类<?>DirectExecutionControl. findClass(String name)查找具有指定二进制名称的类。类<?>LoaderDelegate. findClass(String name)查找具有指定二进制名称的类。 -
Uses of 类 in jdk.nashorn.api.scripting
Methods in jdk.nashorn.api.scripting with parameters of type 类 变量和类型 方法 描述 static ObjectAbstractJSObject. getDefaultValue(JSObject jsobj, 类<?> hint)已过时。default ObjectJSObject. getDefaultValue(类<?> hint)不推荐使用,要删除:此API元素将在以后的版本中删除。根据ECMAScript 5.1第8.6.2节实现此对象的[[DefaultValue]]方法。<T> TScriptObjectMirror. to(类<T> type)不推荐使用,要删除:此API元素将在以后的版本中删除。将此脚本对象转换为给定类型的实用程序。 -
Uses of 类 in jdk.nashorn.api.tree
Methods in jdk.nashorn.api.tree that return 类 变量和类型 方法 描述 类<? extends 树>Tree.Kind. asInterface()不推荐使用,要删除:此API元素将在以后的版本中删除。返回使用此类型的关联接口类型。 -
Uses of 类 in jdk.net
Methods in jdk.net with parameters of type 类 变量和类型 方法 描述 static Set<SocketOption<?>>Sockets. supportedOptions(类<?> socketType)Returns a set ofSocketOptions supported by the given socket type.
-