Java classes

Java standard library classes available in query strings.

TypeNameSignatureDescription
CLASSAbstractCollectionNoneThis class provides a skeletal implementation of the Collection interface, to minimize the effor...
CLASSAbstractListNoneThis class provides a skeletal implementation of the List interface to minimize the effort requi...
CLASSAbstractMapNoneThis class provides a skeletal implementation of the Map interface, to minimize the effort requi...
CLASSAbstractMethodErrorNoneThrown when an application tries to call an abstract method. Normally, this error is caught by t...
CLASSAbstractQueueNoneThis class provides skeletal implementations of some Queue operations. The implementations in th...
CLASSAbstractSequentialListNoneThis class provides a skeletal implementation of the List interface to minimize the effort requi...
CLASSAbstractSetNoneThis class provides a skeletal implementation of the Set interface to minimize the effort requir...
CLASSAppendableNoneAn object to which char sequences and values can be appended. The Appendable interface must be ...
CLASSArithmeticExceptionNoneThrown when an exceptional arithmetic condition has occurred. For example, an integer "divide by...
CLASSArrayNoneThe Array class provides static methods to dynamically create and access Java arrays. Array pe...
CLASSArrayDequeNoneResizable-array implementation of the Deque interface. Array deques have no capacity restrictio...
CLASSArrayIndexOutOfBoundsExceptionNoneThrown to indicate that an array has been accessed with an illegal index. The index is either ne...
CLASSArrayListNoneResizable-array implementation of the List interface. Implements all optional list operations, ...
CLASSArrayStoreExceptionNoneThrown to indicate that an attempt has been made to store the wrong type of object into an array...
CLASSArraysNoneThis class contains various methods for manipulating arrays (such as sorting and searching). Thi...
CLASSAssertionErrorNoneThrown to indicate that an assertion has failed. The seven one-argument public constructors pro...
CLASSAutoCloseableNoneAn object that may hold resources (such as file or socket handles) until it is closed. The close...
CLASSBase64NoneThis class consists exclusively of static methods for obtaining encoders and decoders for the Ba...
CLASSBitSetNoneThis class implements a vector of bits that grows as needed. Each component of the bit set has a...
CLASSBooleanNoneThe Boolean class wraps a value of the primitive type boolean in an object. An object of type B...
CLASSBootstrapMethodErrorNoneThrown to indicate that an invokedynamic instruction or a dynamic constant failed to resolve its...
CLASSByteNoneThe Byte class wraps a value of primitive type byte in an object. An object of type Byte contai...
CLASSCalendarNoneThe Calendar class is an abstract class that provides methods for converting between a specific ...
CLASSCharSequenceNoneA CharSequence is a readable sequence of char values. This interface provides uniform, read-only...
CLASSCharacterNoneThe Character class wraps a value of the primitive type char in an object. An object of class C...
CLASSClassNoneInstances of the class Class represent classes and interfaces in a running Java application. An ...
CLASSClassCastExceptionNoneThrown to indicate that the code has attempted to cast an object to a subclass of which it is no...
CLASSClassCircularityErrorNoneThrown when the Java Virtual Machine detects a circularity in the superclass hierarchy of a clas...
CLASSClassFormatErrorNoneThrown when the Java Virtual Machine attempts to read a class file and determines that the file ...
CLASSClassLoaderNoneA class loader is an object that is responsible for loading classes. The class ClassLoader is an...
CLASSClassNotFoundExceptionNoneThrown when an application tries to load in a class through its string name using: The forName...
CLASSClassValueNoneLazily associate a computed value with (potentially) every type. For example, if a dynamic langu...
CLASSCloneNotSupportedExceptionNoneThrown to indicate that the clone method in class Object has been called to clone an object, but...
CLASSCloneableNoneA class implements the Cloneable interface to indicate to the Object.clone() method that it is ...
CLASSCollectionNoneThe root interface in the collection hierarchy. A collection represents a group of objects, kno...
CLASSCollectionsNoneThis class consists exclusively of static methods that operate on or return collections. It con...
CLASSComparableNoneThis interface imposes a total ordering on the objects of each class that implements it. This o...
CLASSComparatorNoneA comparison function, which imposes a total ordering on some collection of objects. Comparator...
CLASSCompilerNoneThe Compiler class is provided to support Java-to-native-code compilers and related services. By...
CLASSConcurrentHashMapNoneA hash table supporting full concurrency of retrievals and high expected concurrency for updates...
CLASSConcurrentModificationExceptionNoneThis exception may be thrown by methods that have detected concurrent modification of an object ...
CLASSCurrencyNoneRepresents a currency. Currencies are identified by their ISO 4217 currency codes. Visit the I...
CLASSDateNoneThe class Date represents a specific instant in time, with millisecond precision. Prior to JD...
CLASSDeprecatedNoneA program element annotated @Deprecated is one that programmers are discouraged from using. An e...
CLASSDequeNoneA linear collection that supports element insertion and removal at both ends. The name deque is...
CLASSDictionaryNoneThe Dictionary class is the abstract parent of any class, such as Hashtable, which maps keys to ...
CLASSDoubleNoneThe Double class wraps a value of the primitive type double in an object. An object of type Dou...
CLASSDoubleSummaryStatisticsNoneA state object for collecting statistics such as count, min, max, sum, and average. This class...
CLASSDuplicateFormatFlagsExceptionNoneUnchecked exception thrown when duplicate flags are provided in the format specifier. Unless ...
CLASSEmptyStackExceptionNoneThrown by methods in the Stack class to indicate that the stack is empty.
CLASSEnumNoneThis is the common base class of all Java language enumeration classes. More information about ...
CLASSEnumConstantNotPresentExceptionNoneThrown when an application tries to access an enum constant by name and the enum type contains n...
CLASSEnumMapNoneA specialized Map implementation for use with enum type keys. All of the keys in an enum map mu...
CLASSEnumSetNoneA specialized Set implementation for use with enum types. All of the elements in an enum set mu...
CLASSEnumerationNoneAn object that implements the Enumeration interface generates a series of elements, one at a tim...
CLASSErrorNoneAn Error is a subclass of Throwable that indicates serious problems that a reasonable applicatio...
CLASSEventListenerNoneA tagging interface that all event listener interfaces must extend.
CLASSEventListenerProxyNoneAn abstract wrapper class for an EventListener class which associates a set of additional parame...
CLASSEventObjectNoneThe root class from which all event state objects shall be derived. All Events are construct...
CLASSExceptionNoneThe class Exception and its subclasses are a form of Throwable that indicates conditions that a ...
CLASSExceptionInInitializerErrorNoneSignals that an unexpected exception has occurred in a static initializer. An ExceptionInInitial...
CLASSFloatNoneThe Float class wraps a value of primitive type float in an object. An object of type Float con...
CLASSFormatFlagsConversionMismatchExceptionNoneUnchecked exception thrown when a conversion and flag are incompatible. Unless otherwise speci...
CLASSFormattableNoneThe Formattable interface must be implemented by any class that needs to perform custom formatti...
CLASSFormattableFlagsNoneFormattableFlags are passed to the Formattable.formatTo() method and modify the output format for...
CLASSFormatterNoneAn interpreter for printf-style format strings. This class provides support for layout justific...
CLASSFormatterClosedExceptionNoneUnchecked exception thrown when the formatter has been closed. Unless otherwise specified, pas...
CLASSFunctionalInterfaceNoneAn informative annotation type used to indicate that an interface type declaration is intended t...
CLASSGregorianCalendarNoneGregorianCalendar is a concrete subclass of Calendar and provides the standard calendar system ...
CLASSHashMapNoneHash table based implementation of the Map interface. This implementation provides all of the o...
CLASSHashSetNoneThis class implements the Set interface, backed by a hash table (actually a HashMap instance). ...
CLASSHashtableNoneThis class implements a hash table, which maps keys to values. Any non-null object can be used a...
CLASSHexFormatNoneHexFormat converts between bytes and chars and hex-encoded strings which may include additional ...
CLASSIdentityHashMapNoneThis class implements the Map interface with a hash table, using reference-equality in place of ...
CLASSIllegalAccessErrorNoneThrown if an application attempts to access or modify a field, or to call a method that it does ...
CLASSIllegalAccessExceptionNoneAn IllegalAccessException is thrown when an application tries to reflectively create an instance...
CLASSIllegalArgumentExceptionNoneThrown to indicate that a method has been passed an illegal or inappropriate argument.
CLASSIllegalCallerExceptionNoneThrown to indicate that a method has been called by an inappropriate caller.
CLASSIllegalFormatCodePointExceptionNoneUnchecked exception thrown when a character with an invalid Unicode code point as defined by Cha...
CLASSIllegalFormatConversionExceptionNoneUnchecked exception thrown when the argument corresponding to the format specifier is of an inco...
CLASSIllegalFormatExceptionNoneUnchecked exception thrown when a format string contains an illegal syntax or a format specifier...
CLASSIllegalFormatFlagsExceptionNoneUnchecked exception thrown when an illegal combination flags is given. Unless otherwise specif...
CLASSIllegalFormatPrecisionExceptionNoneUnchecked exception thrown when the precision is a negative value other than -1, the conversion ...
CLASSIllegalFormatWidthExceptionNoneUnchecked exception thrown when the format width is a negative value other than -1 or is otherwi...
CLASSIllegalMonitorStateExceptionNoneThrown to indicate that a thread has attempted to wait on an object's monitor or to notify other...
CLASSIllegalStateExceptionNoneSignals that a method has been invoked at an illegal or inappropriate time. In other words, the...
CLASSIllegalThreadStateExceptionNoneThrown to indicate that a thread is not in an appropriate state for the requested operation. See...
CLASSIllformedLocaleExceptionNoneThrown by methods in Locale and Locale.Builder to indicate that an argument is not a well-formed...
CLASSIncompatibleClassChangeErrorNoneThrown when an incompatible class change has occurred to some class definition. The definition o...
CLASSIndexOutOfBoundsExceptionNoneThrown to indicate that an index of some sort (such as to an array, to a string, or to a vector)...
CLASSInheritableThreadLocalNoneThis class extends ThreadLocal to provide inheritance of values from parent thread to child thre...
CLASSInputMismatchExceptionNoneThrown by a Scanner to indicate that the token retrieved does not match the pattern for the expe...
CLASSInstantiationErrorNoneThrown when an application tries to use the Java new construct to instantiate an abstract class ...
CLASSInstantiationExceptionNoneThrown when an application tries to create an instance of a class using the newInstance method i...
CLASSIntSummaryStatisticsNoneA state object for collecting statistics such as count, min, max, sum, and average. This class...
CLASSIntegerNoneThe Integer class wraps a value of the primitive type int in an object. An object of type Intege...
CLASSInternalErrorNoneThrown to indicate some unexpected internal error has occurred in the Java Virtual Machine.
CLASSInterruptedExceptionNoneThrown when a thread is waiting, sleeping, or otherwise occupied, and the thread is interrupted,...
CLASSInvalidPropertiesFormatExceptionNoneThrown to indicate that an operation could not complete because the input did not conform to the...
CLASSIterableNoneImplementing this interface allows an object to be the target of the enhanced for statement (som...
CLASSIteratorNoneAn iterator over a collection. Iterator takes the place of Enumeration in the Java Collections ...
CLASSLayerInstantiationExceptionNoneThrown when creating a module layer fails.
CLASSLinkageErrorNoneSubclasses of LinkageError indicate that a class has some dependency on another class; however, ...
CLASSLinkedHashMapNoneHash table and linked list implementation of the Map interface, with predictable iteration order...
CLASSLinkedHashSetNoneHash table and linked list implementation of the Set interface, with predictable iteration order...
CLASSLinkedListNoneDoubly-linked list implementation of the List and Deque interfaces. Implements all optional lis...
CLASSListNoneAn ordered collection (also known as a sequence). The user of this interface has precise contro...
CLASSListIteratorNoneAn iterator for lists that allows the programmer to traverse the list in either direction, modif...
CLASSListResourceBundleNoneListResourceBundle is an abstract subclass of ResourceBundle that manages resources for a locale...
CLASSLocaleNoneA Locale object represents a specific geographical, political, or cultural region. An operation ...
CLASSLongNoneThe Long class wraps a value of the primitive type long in an object. An object of type Long co...
CLASSLongSummaryStatisticsNoneA state object for collecting statistics such as count, min, max, sum, and average. This class...
CLASSMapNoneAn object that maps keys to values. A map cannot contain duplicate keys; each key can map to at...
CLASSMathNoneThe class Math contains methods for performing basic numeric operations such as the elementary e...
CLASSMissingFormatArgumentExceptionNoneUnchecked exception thrown when there is a format specifier which does not have a corresponding ...
CLASSMissingFormatWidthExceptionNoneUnchecked exception thrown when the format width is required. Unless otherwise specified, pass...
CLASSMissingResourceExceptionNoneSignals that a resource is missing.
CLASSModuleNoneRepresents a run-time module, either named or unnamed. Named modules have a name and are const...
CLASSModuleLayerNoneA layer of modules in the Java virtual machine. A layer is created from a graph of modules in ...
CLASSNavigableMapNoneA SortedMap extended with navigation methods returning the closest matches for given search targ...
CLASSNavigableSetNoneA SortedSet extended with navigation methods reporting closest matches for given search targets....
CLASSNegativeArraySizeExceptionNoneThrown if an application tries to create an array with negative size.
CLASSNoClassDefFoundErrorNoneThrown if the Java Virtual Machine or a ClassLoader instance tries to load in the definition of ...
CLASSNoSuchElementExceptionNoneThrown by various accessor methods to indicate that the element being requested does not exist.
CLASSNoSuchFieldErrorNoneThrown if an application tries to access or modify a specified field of an object, and that obje...
CLASSNoSuchFieldExceptionNoneSignals that the class doesn't have a field of a specified name.
CLASSNoSuchMethodErrorNoneThrown if an application tries to call a specified method of a class (either static or instance)...
CLASSNoSuchMethodExceptionNoneThrown when a particular method cannot be found.
CLASSNullPointerExceptionNoneThrown when an application attempts to use null in a case where an object is required. These inc...
CLASSNumberNoneThe abstract class Number is the superclass of platform classes representing numeric values that...
CLASSNumberFormatExceptionNoneThrown to indicate that the application has attempted to convert a string to one of the numeric ...
CLASSObjectNoneClass Object is the root of the class hierarchy. Every class has Object as a superclass. All obj...
CLASSObjectsNoneThis class consists of static utility methods for operating on objects, or checking certain cond...
CLASSObservableNoneThis class represents an observable object, or "data" in the model-view paradigm. It can be subc...
CLASSObserverNoneA class can implement the Observer interface when it wants to be informed of changes in observab...
CLASSOptionalNoneA container object which may or may not contain a non-null value. If a value is present, isPrese...
CLASSOptionalDoubleNoneA container object which may or may not contain a double value. If a value is present, isPresent...
CLASSOptionalIntNoneA container object which may or may not contain an int value. If a value is present, isPresent()...
CLASSOptionalLongNoneA container object which may or may not contain a long value. If a value is present, isPresent()...
CLASSOutOfMemoryErrorNoneThrown when the Java Virtual Machine cannot allocate an object because it is out of memory, and ...
CLASSOverrideNoneIndicates that a method declaration is intended to override a method declaration in a supertype....
CLASSPackageNoneRepresents metadata about a run-time package associated with a class loader. Metadata includes a...
CLASSPrimitiveIteratorNoneA base type for primitive specializations of Iterator. Specialized subtypes are provided for in...
CLASSPriorityQueueNoneAn unbounded priority queue based on a priority heap. The elements of the priority queue are ord...
CLASSProcessNoneProcess provides control of native processes started by ProcessBuilder.start and Runtime.exec. ...
CLASSProcessBuilderNoneThis class is used to create operating system processes. Each ProcessBuilder instance manages a...
CLASSProcessHandleNoneProcessHandle identifies and provides control of native processes. Each individual process can b...
CLASSPropertiesNoneThe Properties class represents a persistent set of properties. The Properties can be saved to a...
CLASSPropertyPermissionNoneThis class is for property permissions. The name is the name of the property ("java.home", "...
CLASSPropertyResourceBundleNonePropertyResourceBundle is a concrete subclass of ResourceBundle that manages resources for a loc...
CLASSQueueNoneA collection designed for holding elements prior to processing. Besides basic Collection operati...
CLASSRandomNoneAn instance of this class is used to generate a stream of pseudorandom numbers; its period is on...
CLASSRandomAccessNoneMarker interface used by List implementations to indicate that they support fast (generally cons...
CLASSReadableNoneA Readable is a source of characters. Characters from a Readable are made available to callers o...
CLASSRecordNoneThis is the common base class of all Java language record classes. More information about recor...
CLASSReflectiveOperationExceptionNoneCommon superclass of exceptions thrown by reflective operations in core reflection.
CLASSResourceBundleNoneResource bundles contain locale-specific objects. When your program needs a locale-specific res...
CLASSRunnableNoneThe Runnable interface should be implemented by any class whose instances are intended to be exe...
CLASSRuntimeNoneEvery Java application has a single instance of class Runtime that allows the application to int...
CLASSRuntimeExceptionNoneRuntimeException is the superclass of those exceptions that can be thrown during the normal oper...
CLASSRuntimePermissionNoneThis class is for runtime permissions. A RuntimePermission contains a name (also referred to as ...
CLASSSafeVarargsNoneA programmer assertion that the body of the annotated method or constructor does not perform pot...
CLASSScannerNoneA simple text scanner which can parse primitive types and strings using regular expressions. A...
CLASSSecurityExceptionNoneThrown by the security manager to indicate a security violation.
CLASSSecurityManagerNoneThe security manager is a class that allows applications to implement a security policy. It allo...
CLASSServiceConfigurationErrorNoneError thrown when something goes wrong while locating, loading, or instantiating a service provi...
CLASSServiceLoaderNoneA facility to load implementations of a service. A service is a well-known interface or class ...
CLASSSetNoneA collection that contains no duplicate elements. More formally, sets contain no pair of elemen...
CLASSShortNoneThe Short class wraps a value of primitive type short in an object. An object of type Short co...
CLASSSimpleTimeZoneNoneSimpleTimeZone is a concrete subclass of TimeZone that represents a time zone for use with a Gre...
CLASSSortedMapNoneA Map that further provides a total ordering on its keys. The map is ordered according to the na...
CLASSSortedSetNoneA Set that further provides a total ordering on its elements. The elements are ordered using the...
CLASSSpliteratorNoneAn object for traversing and partitioning elements of a source. The source of elements covered ...
CLASSSpliteratorsNoneStatic classes and methods for operating on or creating instances of Spliterator and its primiti...
CLASSSplittableRandomNoneA generator of uniform pseudorandom values (with period 264) applicable for use in (among other ...
CLASSStackNoneThe Stack class represents a last-in-first-out (LIFO) stack of objects. It extends class Vector ...
CLASSStackOverflowErrorNoneThrown when a stack overflow occurs because an application recurses too deeply.
CLASSStackTraceElementNoneAn element in a stack trace, as returned by Throwable.getStackTrace(). Each element represents a...
CLASSStackWalkerNoneA stack walker. The walk method opens a sequential stream of StackFrames for the current thre...
CLASSStrictMathNoneThe class StrictMath contains methods for performing basic numeric operations such as the elemen...
CLASSStringNoneThe String class represents character strings. All string literals in Java programs, such as "ab...
CLASSStringBufferNoneA thread-safe, mutable sequence of characters. A string buffer is like a String, but can be modi...
CLASSStringBuilderNoneA mutable sequence of characters. This class provides an API compatible with StringBuffer, but ...
CLASSStringIndexOutOfBoundsExceptionNoneThrown by String methods to indicate that an index is either negative or greater than the size o...
CLASSStringJoinerNoneStringJoiner is used to construct a sequence of characters separated by a delimiter and optional...
CLASSStringTokenizerNoneThe string tokenizer class allows an application to break a string into tokens. The tokenization...
CLASSSuppressWarningsNoneIndicates that the named compiler warnings should be suppressed in the annotated element (and in...
CLASSSystemNoneThe System class contains several useful class fields and methods. It cannot be instantiated. ...
CLASSThreadNoneA thread is a thread of execution in a program. The Java Virtual Machine allows an application t...
CLASSThreadDeathNoneAn instance of ThreadDeath is thrown in the victim thread when the (deprecated) Thread.stop() me...
CLASSThreadGroupNoneA thread group represents a set of threads. In addition, a thread group can also include other t...
CLASSThreadLocalNoneThis class provides thread-local variables. These variables differ from their normal counterpar...
CLASSThrowableNoneThe Throwable class is the superclass of all errors and exceptions in the Java language. Only ob...
CLASSTimeZoneNoneTimeZone represents a time zone offset, and also figures out daylight savings. Typically, yo...
CLASSTimerNoneA facility for threads to schedule tasks for future execution in a background thread. Tasks may...
CLASSTimerTaskNoneA task that can be scheduled for one-time or repeated execution by a Timer. A timer task is no...
CLASSTooManyListenersExceptionNoneThe TooManyListenersException Exception is used as part of the Java Event model to annotate ...
CLASSTreeMapNoneA Red-Black tree based NavigableMap implementation. The map is sorted according to the natural ...
CLASSTreeSetNoneA NavigableSet implementation based on a TreeMap. The elements are ordered using their natural ...
CLASSTypeNotPresentExceptionNoneThrown when an application tries to access a type using a string representing the type's name, b...
CLASSUUIDNoneA class that represents an immutable universally unique identifier (UUID). A UUID represents a 1...
CLASSUnknownErrorNoneThrown when an unknown but serious exception has occurred in the Java Virtual Machine.
CLASSUnknownFormatConversionExceptionNoneUnchecked exception thrown when an unknown conversion is given. Unless otherwise specified, pa...
CLASSUnknownFormatFlagsExceptionNoneUnchecked exception thrown when an unknown flag is given. Unless otherwise specified, passing ...
CLASSUnsatisfiedLinkErrorNoneThrown if the Java Virtual Machine cannot find an appropriate native-language definition of a me...
CLASSUnsupportedClassVersionErrorNoneThrown when the Java Virtual Machine attempts to read a class file and determines that the major...
CLASSUnsupportedOperationExceptionNoneThrown to indicate that the requested operation is not supported. This class is a member of the...
CLASSVectorNoneThe Vector class implements a growable array of objects. Like an array, it contains components t...
CLASSVerifyErrorNoneThrown when the "verifier" detects that a class file, though well formed, contains some sort of ...
CLASSVirtualMachineErrorNoneThrown to indicate that the Java Virtual Machine is broken or has run out of resources necessary...
CLASSVoidNoneThe Void class is an uninstantiable placeholder class to hold a reference to the Class object re...
CLASSWeakHashMapNoneHash table based implementation of the Map interface, with weak keys. An entry in a WeakHashMap...