Package | Description |
---|---|
java.applet |
Provides the classes necessary to create an applet and the classes an applet
uses to communicate with its applet context.
|
java.awt |
Contains all of the classes for creating user
interfaces and for painting graphics and images.
|
java.awt.dnd |
Drag and Drop is a direct manipulation gesture found in many Graphical
User Interface systems that provides a mechanism to transfer
information between two entities logically associated with presentation
elements in the GUI.
|
java.awt.geom |
Provides the Java 2D classes for defining and performing operations
on objects related to two-dimensional geometry.
|
java.beans.beancontext |
Provides classes and interfaces relating to bean context.
|
java.io |
Provides for system input and output through data streams,
serialization and the file system.
|
java.lang |
Provides classes that are fundamental to the design of the Java
programming language.
|
java.lang.instrument |
Provides services that allow Java programming language agents to instrument programs running on the JVM.
|
java.lang.reflect |
Provides classes and interfaces for obtaining reflective
information about classes and objects.
|
java.net |
Provides the classes for implementing networking applications.
|
java.sql |
Provides the API for accessing and processing data stored in a
data source (usually a relational database) using the
JavaTM programming language.
|
java.text |
Provides classes and interfaces for handling text, dates, numbers, and messages
in a manner independent of natural languages.
|
java.time |
The main API for dates, times, instants, and durations.
|
java.time.chrono |
Generic API for calendar systems other than the default ISO.
|
java.time.temporal |
Access to date and time using fields and units, and date time adjusters.
|
java.util |
Contains the collections framework, legacy collection classes, event model,
date and time facilities, internationalization, and miscellaneous utility
classes (a string tokenizer, a random-number generator, and a bit array).
|
java.util.concurrent |
Utility classes commonly useful in concurrent programming.
|
java.util.concurrent.atomic |
A small toolkit of classes that support lock-free thread-safe
programming on single variables.
|
java.util.stream |
Classes to support functional-style operations on streams of elements, such
as map-reduce transformations on collections.
|
javax.management |
Provides the core classes for the Java Management Extensions.
|
javax.management.modelmbean |
Provides the definition of the ModelMBean classes.
|
javax.management.openmbean |
Provides the open data types and Open MBean descriptor classes.
|
javax.management.relation |
Provides the definition of the Relation Service.
|
javax.management.remote.rmi |
The RMI connector is a connector for the JMX Remote API that
uses RMI to transmit client requests to a remote MBean server.
|
javax.naming |
Provides the classes and interfaces for accessing naming services.
|
javax.naming.directory |
Extends the javax.naming package to provide functionality
for accessing directory services.
|
javax.naming.ldap |
Provides support for LDAPv3 extended operations and controls.
|
javax.naming.spi | |
javax.sql.rowset.serial |
Provides utility classes to allow serializable mappings between SQL types
and data types in the Java programming language.
|
javax.swing |
Provides a set of "lightweight"
(all-Java language) components that,
to the maximum degree possible, work the same on all platforms.
|
javax.swing.border |
Provides classes and interface for drawing
specialized borders around a Swing component.
|
javax.swing.event |
Provides for events fired by Swing components.
|
javax.swing.plaf |
Provides one interface and many abstract classes that
Swing uses to provide its pluggable look-and-feel capabilities.
|
javax.swing.text |
Provides classes and interfaces that deal with editable
and noneditable text components.
|
javax.swing.tree |
Provides classes and interfaces for dealing with
javax.swing.JTree . |
javax.xml.crypto |
Common classes for XML cryptography.
|
javax.xml.crypto.dom |
DOM-specific classes for the
javax.xml.crypto package. |
javax.xml.crypto.dsig |
Classes for generating and validating XML digital
signatures.
|
javax.xml.crypto.dsig.keyinfo |
Classes for parsing and processing
KeyInfo elements and structures. |
javax.xml.crypto.dsig.spec |
Parameter classes for XML digital signatures.
|
Modifier and Type | Method and Description |
---|---|
void |
Applet.resize(Dimension d)
Requests that this applet be resized.
|
void |
Applet.resize(int width,
int height)
Requests that this applet be resized.
|
Modifier and Type | Method and Description |
---|---|
Object |
RenderingHints.clone()
Creates a clone of this
RenderingHints object
that has the same contents as this RenderingHints
object. |
Set<AWTKeyStroke> |
Window.getFocusTraversalKeys(int id)
Gets a focus traversal key for this Window.
|
<T extends EventListener> |
Component.getListeners(Class<T> listenerType)
Returns an array of all the objects currently registered
as
FooListener s
upon this Component . |
static <T extends EventListener> |
AWTEventMulticaster.getListeners(EventListener l,
Class<T> listenerType)
Returns an array of all the objects chained as
FooListener s by the specified
java.util.EventListener . |
void |
Component.remove(MenuComponent popup)
Removes the specified popup menu from the component.
|
Modifier and Type | Method and Description |
---|---|
Iterator<InputEvent> |
DragGestureEvent.iterator()
Returns an
Iterator for the events
comprising the gesture. |
Object[] |
DragGestureEvent.toArray(Object[] array)
Returns an array of the events comprising the drag gesture.
|
Modifier and Type | Method and Description |
---|---|
void |
AffineTransform.concatenate(AffineTransform Tx)
Concatenates an
AffineTransform Tx to
this AffineTransform Cx in the most commonly useful
way to provide a new user space
that is mapped to the former user space by Tx . |
double |
AffineTransform.getDeterminant()
Returns the determinant of the matrix representation of the transform.
|
Point2D |
AffineTransform.inverseTransform(Point2D ptSrc,
Point2D ptDst)
Inverse transforms the specified
ptSrc and stores the
result in ptDst . |
void |
AffineTransform.preConcatenate(AffineTransform Tx)
Concatenates an
AffineTransform Tx to
this AffineTransform Cx
in a less commonly used way such that Tx modifies the
coordinate transformation relative to the absolute pixel
space rather than relative to the existing user space. |
void |
AffineTransform.scale(double sx,
double sy)
Concatenates this transform with a scaling transformation.
|
Modifier and Type | Interface and Description |
---|---|
interface |
BeanContext
The BeanContext acts a logical hierarchical container for JavaBeans.
|
Modifier and Type | Field and Description |
---|---|
protected Collection |
BeanContextMembershipEvent.children
The list of children affected by this
event notification.
|
Modifier and Type | Method and Description |
---|---|
Iterator |
BeanContextMembershipEvent.iterator()
Gets the array of children affected by this event.
|
Constructor and Description |
---|
BeanContextMembershipEvent(BeanContext bc,
Collection changes)
Contruct a BeanContextMembershipEvent
|
Modifier and Type | Method and Description |
---|---|
void |
BufferedWriter.close() |
void |
FilterOutputStream.close()
Closes this output stream and releases any system resources
associated with the stream.
|
int |
LineNumberReader.read()
Read a single character.
|
int |
LineNumberInputStream.read()
Deprecated.
Reads the next byte of data from this input stream.
|
int |
LineNumberReader.read(char[] cbuf,
int off,
int len)
Read characters into a portion of an array.
|
void |
RandomAccessFile.writeBytes(String s)
Writes the string to the file as a sequence of bytes.
|
Modifier and Type | Class and Description |
---|---|
class |
EnumConstantNotPresentException
Thrown when an application tries to access an enum constant by name
and the enum type contains no constant with the specified name.
|
Modifier and Type | Field and Description |
---|---|
static Class<Integer> |
Integer.TYPE
The
Class instance representing the primitive type
int . |
static Class<Float> |
Float.TYPE
The
Class instance representing the primitive type
float . |
static Class<Boolean> |
Boolean.TYPE
The Class object representing the primitive type boolean.
|
static Class<Void> |
Void.TYPE
The
Class object representing the pseudo-type corresponding to
the keyword void . |
static Class<Long> |
Long.TYPE
The
Class instance representing the primitive type
long . |
static Class<Short> |
Short.TYPE
The
Class instance representing the primitive type
short . |
static Class<Character> |
Character.TYPE
The
Class instance representing the primitive type
char . |
static Class<Double> |
Double.TYPE
The
Class instance representing the primitive type
double . |
static Class<Byte> |
Byte.TYPE
The
Class instance representing the primitive type
byte . |
Modifier and Type | Method and Description |
---|---|
<U> Class<? extends U> |
Class.asSubclass(Class<U> clazz)
Casts this
Class object to represent a subclass of the class
represented by the specified class object. |
T |
Class.cast(Object obj)
Casts an object to the class or interface represented
by this
Class object. |
<A extends Annotation> |
Class.getAnnotation(Class<A> annotationClass) |
<A extends Annotation> |
Class.getDeclaredAnnotation(Class<A> annotationClass) |
Class<E> |
Enum.getDeclaringClass()
Returns the Class object corresponding to this enum constant's
enum type.
|
TypeVariable<Class<T>>[] |
Class.getTypeParameters()
Returns an array of
TypeVariable objects that represent the
type variables declared by the generic declaration represented by this
GenericDeclaration object, in declaration order. |
void |
ThreadGroup.resume()
Deprecated.
This method is used solely in conjunction with
Thread.suspend and ThreadGroup.suspend,
both of which have been deprecated, as they are inherently
deadlock-prone. See
Thread.suspend() for details. |
void |
ThreadGroup.suspend()
Deprecated.
This method is inherently deadlock-prone. See
Thread.suspend() for details. |
Modifier and Type | Method and Description |
---|---|
Class[] |
Instrumentation.getAllLoadedClasses()
Returns an array of all classes currently loaded by the JVM.
|
Class[] |
Instrumentation.getInitiatedClasses(ClassLoader loader)
Returns an array of all classes for which
loader is an initiating loader. |
Modifier and Type | Method and Description |
---|---|
TypeVariable<Method>[] |
Method.getTypeParameters()
Returns an array of
TypeVariable objects that represent the
type variables declared by the generic declaration represented by this
GenericDeclaration object, in declaration order. |
TypeVariable<Constructor<T>>[] |
Constructor.getTypeParameters()
Returns an array of
TypeVariable objects that represent the
type variables declared by the generic declaration represented by this
GenericDeclaration object, in declaration order. |
Modifier and Type | Method and Description |
---|---|
Object |
ContentHandler.getContent(URLConnection urlc,
Class[] classes)
Given a URL connect stream positioned at the beginning of the
representation of an object, this method reads that stream and
creates an object that matches one of the types specified.
|
long |
HttpURLConnection.getHeaderFieldDate(String name,
long Default) |
long |
URLConnection.getHeaderFieldDate(String name,
long Default)
Returns the value of the named field parsed as date.
|
Modifier and Type | Method and Description |
---|---|
LocalDate |
Date.toLocalDate()
Converts this
Date object to a LocalDate |
LocalDateTime |
Timestamp.toLocalDateTime()
Converts this
Timestamp object to a LocalDateTime . |
LocalTime |
Time.toLocalTime()
Converts this
Time object to a LocalTime . |
String |
Time.toString()
Formats a time in JDBC time escape format.
|
String |
Timestamp.toString()
Formats a timestamp in JDBC timestamp escape format.
|
String |
Date.toString()
Formats a date in the date escape format yyyy-mm-dd.
|
static Date |
Date.valueOf(LocalDate date)
Obtains an instance of
Date from a LocalDate object
with the same year, month and day of month value as the given
LocalDate . |
static Timestamp |
Timestamp.valueOf(LocalDateTime dateTime)
Obtains an instance of
Timestamp from a LocalDateTime
object, with the same year, month, day of month, hours, minutes,
seconds and nanos date-time value as the provided LocalDateTime . |
static Time |
Time.valueOf(LocalTime time)
Obtains an instance of
Time from a LocalTime object
with the same hour, minute and second time value as the given
LocalTime . |
Modifier and Type | Method and Description |
---|---|
void |
MessageFormat.applyPattern(String pattern)
Sets the pattern used by this message format.
|
void |
CollationElementIterator.setOffset(int newOffset)
Sets the iterator to point to the collation element corresponding to
the specified character (the parameter is a CHARACTER offset in the
original string, not an offset into its corresponding sequence of
collation elements).
|
Modifier and Type | Method and Description |
---|---|
static ZoneOffset |
ZoneOffset.of(String offsetId)
Obtains an instance of
ZoneOffset using the ID. |
<R> R |
MonthDay.query(TemporalQuery<R> query)
Queries this month-day using the specified query.
|
<R> R |
Instant.query(TemporalQuery<R> query)
Queries this instant using the specified query.
|
<R> R |
OffsetTime.query(TemporalQuery<R> query)
Queries this time using the specified query.
|
<R> R |
OffsetDateTime.query(TemporalQuery<R> query)
Queries this date-time using the specified query.
|
<R> R |
LocalTime.query(TemporalQuery<R> query)
Queries this time using the specified query.
|
<R> R |
LocalDate.query(TemporalQuery<R> query)
Queries this date using the specified query.
|
<R> R |
DayOfWeek.query(TemporalQuery<R> query)
Queries this day-of-week using the specified query.
|
<R> R |
YearMonth.query(TemporalQuery<R> query)
Queries this year-month using the specified query.
|
<R> R |
LocalDateTime.query(TemporalQuery<R> query)
Queries this date-time using the specified query.
|
<R> R |
Month.query(TemporalQuery<R> query)
Queries this month-of-year using the specified query.
|
<R> R |
ZoneOffset.query(TemporalQuery<R> query)
Queries this offset using the specified query.
|
<R> R |
ZonedDateTime.query(TemporalQuery<R> query)
Queries this date-time using the specified query.
|
<R> R |
Year.query(TemporalQuery<R> query)
Queries this year using the specified query.
|
Modifier and Type | Method and Description |
---|---|
ChronoLocalDateTime<HijrahDate> |
HijrahDate.atTime(LocalTime localTime) |
default ChronoLocalDateTime<?> |
ChronoLocalDate.atTime(LocalTime localTime)
Combines this date with a time to create a
ChronoLocalDateTime . |
ChronoLocalDateTime<MinguoDate> |
MinguoDate.atTime(LocalTime localTime) |
ChronoLocalDateTime<JapaneseDate> |
JapaneseDate.atTime(LocalTime localTime) |
ChronoLocalDateTime<ThaiBuddhistDate> |
ThaiBuddhistDate.atTime(LocalTime localTime) |
ChronoLocalDateTime<ThaiBuddhistDate> |
ThaiBuddhistChronology.localDateTime(TemporalAccessor temporal) |
ChronoLocalDateTime<JapaneseDate> |
JapaneseChronology.localDateTime(TemporalAccessor temporal) |
ChronoLocalDateTime<MinguoDate> |
MinguoChronology.localDateTime(TemporalAccessor temporal) |
ChronoLocalDateTime<HijrahDate> |
HijrahChronology.localDateTime(TemporalAccessor temporal) |
default <R> R |
ChronoLocalDate.query(TemporalQuery<R> query)
Queries this date using the specified query.
|
default <R> R |
ChronoLocalDateTime.query(TemporalQuery<R> query)
Queries this date-time using the specified query.
|
default <R> R |
Era.query(TemporalQuery<R> query)
Queries this era using the specified query.
|
default <R> R |
ChronoZonedDateTime.query(TemporalQuery<R> query)
Queries this date-time using the specified query.
|
ChronoZonedDateTime<ThaiBuddhistDate> |
ThaiBuddhistChronology.zonedDateTime(Instant instant,
ZoneId zone) |
ChronoZonedDateTime<JapaneseDate> |
JapaneseChronology.zonedDateTime(Instant instant,
ZoneId zone) |
ChronoZonedDateTime<MinguoDate> |
MinguoChronology.zonedDateTime(Instant instant,
ZoneId zone) |
ChronoZonedDateTime<HijrahDate> |
HijrahChronology.zonedDateTime(Instant instant,
ZoneId zone) |
ChronoZonedDateTime<ThaiBuddhistDate> |
ThaiBuddhistChronology.zonedDateTime(TemporalAccessor temporal) |
ChronoZonedDateTime<JapaneseDate> |
JapaneseChronology.zonedDateTime(TemporalAccessor temporal) |
ChronoZonedDateTime<MinguoDate> |
MinguoChronology.zonedDateTime(TemporalAccessor temporal) |
ChronoZonedDateTime<HijrahDate> |
HijrahChronology.zonedDateTime(TemporalAccessor temporal) |
Modifier and Type | Method and Description |
---|---|
<R extends Temporal> |
ChronoUnit.addTo(R temporal,
long amount) |
<R extends Temporal> |
ChronoField.adjustInto(R temporal,
long newValue) |
Modifier and Type | Field and Description |
---|---|
protected boolean |
Calendar.areFieldsSet
True if
fields[] are in sync with the currently set time. |
static List |
Collections.EMPTY_LIST
The empty list (immutable).
|
static Map |
Collections.EMPTY_MAP
The empty map (immutable).
|
static Set |
Collections.EMPTY_SET
The empty set (immutable).
|
protected int[] |
Calendar.fields
The calendar field values for the currently set time for this calendar.
|
protected boolean[] |
Calendar.isSet
The flags which tell if a specified calendar field for the calendar is set.
|
protected boolean |
Calendar.isTimeSet
True if then the value of
time is valid. |
protected long |
Calendar.time
The currently set time for this calendar, expressed in milliseconds after
January 1, 1970, 0:00:00 GMT.
|
Modifier and Type | Method and Description |
---|---|
static <T> List<T> |
Arrays.asList(T... a)
Returns a fixed-size list backed by the specified array.
|
static <T> int |
Collections.binarySearch(List<? extends T> list,
T key,
Comparator<? super T> c)
Searches the specified list for the specified object using the binary
search algorithm.
|
Object |
HashSet.clone()
Returns a shallow copy of this HashSet instance: the elements
themselves are not cloned.
|
EnumSet<E> |
EnumSet.clone()
Returns a copy of this set.
|
EnumMap<K,V> |
EnumMap.clone()
Returns a shallow copy of this enum map.
|
Object |
HashMap.clone()
Returns a shallow copy of this HashMap instance: the keys and
values themselves are not cloned.
|
Object |
TreeSet.clone()
Returns a shallow copy of this
TreeSet instance. |
static <T> T[] |
Arrays.copyOf(T[] original,
int newLength)
Copies the specified array, truncating or padding with nulls (if necessary)
so the copy has the specified length.
|
static <T> T[] |
Arrays.copyOfRange(T[] original,
int from,
int to)
Copies the specified range of the specified array into a new array.
|
static <T> Enumeration<T> |
Collections.emptyEnumeration()
Returns an enumeration that has no elements.
|
static <T> Iterator<T> |
Collections.emptyIterator()
Returns an iterator that has no elements.
|
static <T> List<T> |
Collections.emptyList()
Returns an empty list (immutable).
|
static <T> ListIterator<T> |
Collections.emptyListIterator()
Returns a list iterator that has no elements.
|
static <K,V> Map<K,V> |
Collections.emptyMap()
Returns an empty map (immutable).
|
static <K,V> NavigableMap<K,V> |
Collections.emptyNavigableMap()
Returns an empty navigable map (immutable).
|
static <E> NavigableSet<E> |
Collections.emptyNavigableSet()
Returns an empty navigable set (immutable).
|
static <T> Set<T> |
Collections.emptySet()
Returns an empty set (immutable).
|
static <K,V> SortedMap<K,V> |
Collections.emptySortedMap()
Returns an empty sorted map (immutable).
|
static <E> SortedSet<E> |
Collections.emptySortedSet()
Returns an empty sorted set (immutable).
|
static <T> Spliterator<T> |
Spliterators.emptySpliterator()
Creates an empty
Spliterator |
String |
Base64.Encoder.encodeToString(byte[] src)
Encodes the specified byte array into a String using the
Base64
encoding scheme. |
boolean |
Calendar.equals(Object obj)
Compares this
Calendar to the specified
Object . |
void |
IdentityHashMap.forEach(BiConsumer<? super K,? super V> action) |
void |
WeakHashMap.forEach(BiConsumer<? super K,? super V> action) |
void |
Hashtable.forEach(BiConsumer<? super K,? super V> action) |
default void |
Spliterator.OfPrimitive.forEachRemaining(T_CONS action)
Performs the given action for each remaining element, sequentially in
the current thread, until all elements have been processed or the
action throws an exception.
|
void |
PrimitiveIterator.forEachRemaining(T_CONS action)
Performs the given action for each remaining element, in the order
elements occur when iterating, until all elements have been processed
or the action throws an exception.
|
V |
IdentityHashMap.get(Object key)
Returns the value to which the specified key is mapped,
or
null if this map contains no mapping for the key. |
V |
Hashtable.get(Object key)
Returns the value to which the specified key is mapped,
or
null if this map contains no mapping for the key. |
static <T> T |
Collections.max(Collection<? extends T> coll,
Comparator<? super T> comp)
Returns the maximum element of the given collection, according to the
order induced by the specified comparator.
|
static <T> T |
Collections.min(Collection<? extends T> coll,
Comparator<? super T> comp)
Returns the minimum element of the given collection, according to the
order induced by the specified comparator.
|
static <T extends Comparable<? super T>> |
Comparator.naturalOrder()
Returns a comparator that compares
Comparable objects in natural
order. |
static <T extends Comparable<? super T>> |
Arrays.parallelSort(T[] a)
Sorts the specified array of objects into ascending order, according
to the natural ordering of its elements.
|
static <T> void |
Arrays.parallelSort(T[] a,
Comparator<? super T> cmp)
Sorts the specified array of objects according to the order induced by
the specified comparator.
|
static <T extends Comparable<? super T>> |
Arrays.parallelSort(T[] a,
int fromIndex,
int toIndex)
Sorts the specified range of the specified array of objects into
ascending order, according to the
natural ordering of its
elements.
|
static <T> void |
Arrays.parallelSort(T[] a,
int fromIndex,
int toIndex,
Comparator<? super T> cmp)
Sorts the specified range of the specified array of objects according
to the order induced by the specified comparator.
|
E |
PriorityQueue.peek() |
E |
ArrayDeque.peekFirst() |
E |
ArrayDeque.peekLast() |
E |
PriorityQueue.poll() |
protected void |
Hashtable.rehash()
Increases the capacity of and internally reorganizes this
hashtable, in order to accommodate and access its entries more
efficiently.
|
boolean |
Vector.removeIf(Predicate<? super E> filter) |
void |
IdentityHashMap.replaceAll(BiFunction<? super K,? super V,? extends V> function) |
void |
WeakHashMap.replaceAll(BiFunction<? super K,? super V,? extends V> function) |
void |
Hashtable.replaceAll(BiFunction<? super K,? super V,? extends V> function) |
void |
ArrayList.replaceAll(UnaryOperator<E> operator) |
void |
Vector.replaceAll(UnaryOperator<E> operator) |
static void |
Collections.reverse(List<?> list)
Reverses the order of the elements in the specified list.
|
static <T> Comparator<T> |
Collections.reverseOrder()
Returns a comparator that imposes the reverse of the natural
ordering on a collection of objects that implement the
Comparable interface. |
static void |
Collections.shuffle(List<?> list,
Random rnd)
Randomly permute the specified list using the specified source of
randomness.
|
void |
ArrayList.sort(Comparator<? super E> c) |
void |
Vector.sort(Comparator<? super E> c) |
default void |
List.sort(Comparator<? super E> c)
Sorts this list according to the order induced by the specified
Comparator . |
static <T extends Comparable<? super T>> |
Collections.sort(List<T> list)
Sorts the specified list into ascending order, according to the
natural ordering of its elements.
|
static <T> void |
Collections.sort(List<T> list,
Comparator<? super T> c)
Sorts the specified list according to the order induced by the
specified comparator.
|
static void |
Collections.swap(List<?> list,
int i,
int j)
Swaps the elements at the specified positions in the specified list.
|
<T> T[] |
PriorityQueue.toArray(T[] a)
Returns an array containing all of the elements in this queue; the
runtime type of the returned array is that of the specified array.
|
<T> T[] |
ArrayList.toArray(T[] a)
Returns an array containing all of the elements in this list in proper
sequence (from first to last element); the runtime type of the returned
array is that of the specified array.
|
<T> T[] |
Vector.toArray(T[] a)
Returns an array containing all of the elements in this Vector in the
correct order; the runtime type of the returned array is that of the
specified array.
|
<T> T[] |
AbstractCollection.toArray(T[] a)
Returns an array containing all of the elements in this collection;
the runtime type of the returned array is that of the specified array.
|
<T> T[] |
LinkedList.toArray(T[] a)
Returns an array containing all of the elements in this list in
proper sequence (from first to last element); the runtime type of
the returned array is that of the specified array.
|
<T> T[] |
ArrayDeque.toArray(T[] a)
Returns an array containing all of the elements in this deque in
proper sequence (from first to last element); the runtime type of the
returned array is that of the specified array.
|
boolean |
Spliterator.OfPrimitive.tryAdvance(T_CONS action)
If a remaining element exists, performs the given action on it,
returning
true ; else returns false . |
Constructor and Description |
---|
PriorityQueue(Collection<? extends E> c)
Creates a
PriorityQueue containing the elements in the
specified collection. |
PriorityQueue(PriorityQueue<? extends E> c)
Creates a
PriorityQueue containing the elements in the
specified priority queue. |
PriorityQueue(SortedSet<? extends E> c)
Creates a
PriorityQueue containing the elements in the
specified sorted set. |
PropertyResourceBundle(InputStream stream)
Creates a property resource bundle from an
InputStream . |
PropertyResourceBundle(Reader reader)
Creates a property resource bundle from a
Reader . |
Modifier and Type | Class and Description |
---|---|
class |
PriorityBlockingQueue<E>
An unbounded blocking queue that uses
the same ordering rules as class
PriorityQueue and supplies
blocking retrieval operations. |
Modifier and Type | Method and Description |
---|---|
V |
Exchanger.exchange(V x)
Waits for another thread to arrive at this exchange point (unless
the current thread is interrupted),
and then transfers the given object to it, receiving its object
in return.
|
V |
Exchanger.exchange(V x,
long timeout,
TimeUnit unit)
Waits for another thread to arrive at this exchange point (unless
the current thread is interrupted or
the specified waiting time elapses), and then transfers the given
object to it, receiving its object in return.
|
Spliterator<E> |
ConcurrentSkipListSet.spliterator()
Returns a
Spliterator over the elements in this set. |
Object[] |
LinkedBlockingDeque.toArray()
Returns an array containing all of the elements in this deque, in
proper sequence (from first to last element).
|
<T> T[] |
LinkedBlockingDeque.toArray(T[] a)
Returns an array containing all of the elements in this deque, in
proper sequence; the runtime type of the returned array is that of
the specified array.
|
<T> T[] |
ArrayBlockingQueue.toArray(T[] a)
Returns an array containing all of the elements in this queue, in
proper sequence; the runtime type of the returned array is that of
the specified array.
|
<T> T[] |
LinkedBlockingQueue.toArray(T[] a)
Returns an array containing all of the elements in this queue, in
proper sequence; the runtime type of the returned array is that of
the specified array.
|
<T> T[] |
ConcurrentLinkedQueue.toArray(T[] a)
Returns an array containing all of the elements in this queue, in
proper sequence; the runtime type of the returned array is that of
the specified array.
|
<T> T[] |
CopyOnWriteArrayList.toArray(T[] a)
Returns an array containing all of the elements in this list in
proper sequence (from first to last element); the runtime type of
the returned array is that of the specified array.
|
Modifier and Type | Method and Description |
---|---|
E |
AtomicReferenceArray.getAndSet(int i,
E newValue)
Atomically sets the element at position
i to the given
value and returns the old value. |
V |
AtomicReference.getAndSet(V newValue)
Atomically sets to the given value and returns the old value.
|
Modifier and Type | Method and Description |
---|---|
static <T> Stream<T> |
Stream.of(T... values)
Returns a sequential ordered stream whose elements are the specified values.
|
Modifier and Type | Class and Description |
---|---|
class |
MBeanAttributeInfo
Describes an MBean attribute exposed for management.
|
class |
Notification
The Notification class represents a notification emitted by an
MBean.
|
class |
ObjectName
Represents the object name of an MBean, or a pattern that can
match the names of several MBeans.
|
Modifier and Type | Method and Description |
---|---|
List<Attribute> |
AttributeList.asList()
Return a view of this list as a
List<Attribute> . |
Modifier and Type | Class and Description |
---|---|
class |
DescriptorSupport
This class represents the metadata set for a ModelMBean element.
|
class |
InvalidTargetObjectTypeException
Exception thrown when an invalid target object type is specified.
|
class |
ModelMBeanAttributeInfo
The ModelMBeanAttributeInfo object describes an attribute of the ModelMBean.
|
class |
ModelMBeanConstructorInfo
The ModelMBeanConstructorInfo object describes a constructor of the ModelMBean.
|
class |
ModelMBeanInfoSupport
This class represents the meta data for ModelMBeans.
|
class |
ModelMBeanNotificationInfo
The ModelMBeanNotificationInfo object describes a notification emitted
by a ModelMBean.
|
class |
ModelMBeanOperationInfo
The ModelMBeanOperationInfo object describes a management operation of
the ModelMBean.
|
class |
XMLParseException
This exception is thrown when an XML formatted string is being parsed into ModelMBean objects
or when XML formatted strings are being created from ModelMBean objects.
|
Modifier and Type | Method and Description |
---|---|
Set<Map.Entry<Object,Object>> |
TabularDataSupport.entrySet()
Returns a collection view of the index to row mappings
contained in this
TabularDataSupport instance. |
static <T> ArrayType<T> |
ArrayType.getPrimitiveArrayType(Class<T> arrayClass)
Create an
ArrayType instance in a type-safe manner. |
Collection<Object> |
TabularDataSupport.values()
Returns a collection view of the rows contained in this
TabularDataSupport instance. |
Modifier and Type | Class and Description |
---|---|
class |
MBeanServerNotificationFilter
Filter for
MBeanServerNotification . |
class |
RelationNotification
A notification of a change in the Relation Service.
|
class |
RelationTypeSupport
A RelationTypeSupport object implements the RelationType interface.
|
class |
Role
Represents a role: includes a role name and referenced MBeans (via their
ObjectNames).
|
class |
RoleInfo
A RoleInfo object summarises a role in a relation type.
|
class |
RoleResult
Represents the result of a multiple access to several roles of a relation
(either for reading or writing).
|
class |
RoleUnresolved
Represents an unresolved role: a role not retrieved from a relation due
to a problem.
|
Modifier and Type | Method and Description |
---|---|
List<RoleUnresolved> |
RoleUnresolvedList.asList()
Return a view of this list as a
List<RoleUnresolved> . |
List<Role> |
RoleList.asList()
Return a view of this list as a
List<Role> . |
Modifier and Type | Interface and Description |
---|---|
interface |
RMIConnection
RMI object used to forward an MBeanServer request from a client
to its MBeanServer implementation on the server side.
|
Modifier and Type | Method and Description |
---|---|
void |
RMIConnectionImpl.addNotificationListener(ObjectName name,
ObjectName listener,
MarshalledObject filter,
MarshalledObject handback,
Subject delegationSubject) |
Integer[] |
RMIConnectionImpl.addNotificationListeners(ObjectName[] names,
MarshalledObject[] filters,
Subject[] delegationSubjects) |
ObjectInstance |
RMIConnectionImpl.createMBean(String className,
ObjectName name,
MarshalledObject params,
String[] signature,
Subject delegationSubject) |
ObjectInstance |
RMIConnectionImpl.createMBean(String className,
ObjectName name,
ObjectName loaderName,
MarshalledObject params,
String[] signature,
Subject delegationSubject) |
Object |
RMIConnectionImpl.invoke(ObjectName name,
String operationName,
MarshalledObject params,
String[] signature,
Subject delegationSubject) |
Set<ObjectInstance> |
RMIConnectionImpl.queryMBeans(ObjectName name,
MarshalledObject query,
Subject delegationSubject) |
Set<ObjectName> |
RMIConnectionImpl.queryNames(ObjectName name,
MarshalledObject query,
Subject delegationSubject) |
void |
RMIConnectionImpl.removeNotificationListener(ObjectName name,
ObjectName listener,
MarshalledObject filter,
MarshalledObject handback,
Subject delegationSubject) |
void |
RMIConnectionImpl.setAttribute(ObjectName name,
MarshalledObject attribute,
Subject delegationSubject) |
AttributeList |
RMIConnectionImpl.setAttributes(ObjectName name,
MarshalledObject attributes,
Subject delegationSubject) |
Modifier and Type | Method and Description |
---|---|
static <T> T |
InitialContext.doLookup(Name name)
A static method to retrieve the named object.
|
static <T> T |
InitialContext.doLookup(String name)
A static method to retrieve the named object.
|
protected void |
InitialContext.init(Hashtable<?,?> environment)
Initializes the initial context using the supplied environment.
|
Modifier and Type | Method and Description |
---|---|
Object |
BasicAttribute.clone() |
Object |
BasicAttributes.clone() |
Constructor and Description |
---|
InitialLdapContext(Hashtable<?,?> environment,
Control[] connCtls)
Constructs an initial context
using environment properties and connection request controls.
|
Modifier and Type | Method and Description |
---|---|
static Context |
NamingManager.getContinuationContext(CannotProceedException cpe)
Creates a context in which to continue a context operation.
|
static DirContext |
DirectoryManager.getContinuationDirContext(CannotProceedException cpe)
Creates a context in which to continue a DirContext operation.
|
Modifier and Type | Method and Description |
---|---|
void |
SQLOutputImpl.writeArray(Array x)
Writes an
Array object in the Java
programming language to this SQLOutputImpl
object. |
void |
SQLOutputImpl.writeAsciiStream(InputStream x)
Writes a stream of ASCII characters to this
SQLOutputImpl object. |
void |
SQLOutputImpl.writeBigDecimal(BigDecimal x)
Writes a
java.math.BigDecimal object in the Java programming
language to this SQLOutputImpl object. |
void |
SQLOutputImpl.writeBinaryStream(InputStream x)
Writes a stream of uninterpreted bytes to this
SQLOutputImpl
object. |
void |
SQLOutputImpl.writeBlob(Blob x)
Writes a
Blob object in the Java programming language
to this SQLOutputImpl object. |
void |
SQLOutputImpl.writeBoolean(boolean x)
Writes a
boolean in the Java programming language
to this SQLOutputImpl object. |
void |
SQLOutputImpl.writeByte(byte x)
Writes a
byte in the Java programming language
to this SQLOutputImpl object. |
void |
SQLOutputImpl.writeBytes(byte[] x)
Writes an array of
bytes in the Java programming language
to this SQLOutputImpl object. |
void |
SQLOutputImpl.writeCharacterStream(Reader x)
Writes a stream of Unicode characters to this
SQLOutputImpl object. |
void |
SQLOutputImpl.writeClob(Clob x)
Writes a
Clob object in the Java programming language
to this SQLOutputImpl object. |
void |
SQLOutputImpl.writeDate(Date x)
Writes a
java.sql.Date object in the Java programming
language to this SQLOutputImpl object. |
void |
SQLOutputImpl.writeDouble(double x)
Writes a
double in the Java programming language
to this SQLOutputImpl object. |
void |
SQLOutputImpl.writeFloat(float x)
Writes a
float in the Java programming language
to this SQLOutputImpl object. |
void |
SQLOutputImpl.writeInt(int x)
Writes an
int in the Java programming language
to this SQLOutputImpl object. |
void |
SQLOutputImpl.writeLong(long x)
Writes a
long in the Java programming language
to this SQLOutputImpl object. |
void |
SQLOutputImpl.writeNClob(NClob x)
Writes an SQL
NCLOB value to the stream. |
void |
SQLOutputImpl.writeNString(String x)
Writes the next attribute to the stream as a
String
in the Java programming language. |
void |
SQLOutputImpl.writeObject(SQLData x)
Writes to the stream the data contained in the given
SQLData object. |
void |
SQLOutputImpl.writeRef(Ref x)
Writes a
Ref object in the Java programming language
to this SQLOutputImpl object. |
void |
SQLOutputImpl.writeRowId(RowId x)
Writes an SQL
ROWID value to the stream. |
void |
SQLOutputImpl.writeShort(short x)
Writes a
short in the Java programming language
to this SQLOutputImpl object. |
void |
SQLOutputImpl.writeSQLXML(SQLXML x)
Writes an SQL
XML value to the stream. |
void |
SQLOutputImpl.writeString(String x)
Writes a
String in the Java programming language
to this SQLOutputImpl object. |
void |
SQLOutputImpl.writeStruct(Struct x)
Writes a
Struct object in the Java
programming language to this SQLOutputImpl
object. |
void |
SQLOutputImpl.writeTime(Time x)
Writes a
java.sql.Time object in the Java programming
language to this SQLOutputImpl object. |
void |
SQLOutputImpl.writeTimestamp(Timestamp x)
Writes a
java.sql.Timestamp object in the Java programming
language to this SQLOutputImpl object. |
void |
SQLOutputImpl.writeURL(URL url)
Writes an
java.sql.Type.DATALINK object in the Java
programming language to this SQLOutputImpl object. |
Modifier and Type | Class and Description |
---|---|
protected class |
AbstractButton.ButtonChangeListener
Extends
ChangeListener to be serializable. |
class |
ActionMap
ActionMap provides mappings from
Object s
(called keys or Action names)
to Action s. |
class |
Box
A lightweight container
that uses a BoxLayout object as its layout manager.
|
protected class |
Box.AccessibleBox
This class implements accessibility support for the
Box class. |
static class |
Box.Filler
An implementation of a lightweight component that participates in
layout but has no view.
|
protected class |
Box.Filler.AccessibleBoxFiller
This class implements accessibility support for the
Box.Filler class. |
class |
BoxLayout
A layout manager that allows multiple components to be laid out either
vertically or horizontally.
|
class |
ButtonGroup
This class is used to create a multiple-exclusion scope for
a set of buttons.
|
class |
ComponentInputMap
A
ComponentInputMap is an InputMap
associated with a particular JComponent . |
class |
InputMap
InputMap provides a binding between an input event
(currently only KeyStroke s are used)
and an Object . |
class |
JButton
An implementation of a "push" button.
|
protected class |
JButton.AccessibleJButton
This class implements accessibility support for the
JButton class. |
class |
JLabel
A display area for a short text string or an image,
or both.
|
protected class |
JLabel.AccessibleJLabel
The class used to obtain the accessible role for this object.
|
class |
JLayeredPane
JLayeredPane adds depth to a JFC/Swing container,
allowing components to overlap each other when needed. |
protected class |
JLayeredPane.AccessibleJLayeredPane
This class implements accessibility support for the
JLayeredPane class. |
class |
JMenu
An implementation of a menu -- a popup window containing
JMenuItem s that
is displayed when the user selects an item on the JMenuBar . |
protected class |
JMenu.AccessibleJMenu
This class implements accessibility support for the
JMenu class. |
protected class |
JMenu.WinListener
A listener class that watches for a popup window closing.
|
class |
JMenuBar
An implementation of a menu bar.
|
protected class |
JMenuBar.AccessibleJMenuBar
This class implements accessibility support for the
JMenuBar class. |
class |
JMenuItem
An implementation of an item in a menu.
|
protected class |
JMenuItem.AccessibleJMenuItem
This class implements accessibility support for the
JMenuItem class. |
class |
JPopupMenu
An implementation of a popup menu -- a small window that pops up
and displays a series of choices.
|
protected class |
JPopupMenu.AccessibleJPopupMenu
This class implements accessibility support for the
JPopupMenu class. |
static class |
JPopupMenu.Separator
A popup menu-specific separator.
|
class |
JRootPane
A lightweight container used behind the scenes by
JFrame , JDialog , JWindow ,
JApplet , and JInternalFrame . |
protected class |
JRootPane.AccessibleJRootPane
This class implements accessibility support for the
JRootPane class. |
protected class |
JRootPane.RootLayout
A custom layout manager that is responsible for the layout of
layeredPane, glassPane, and menuBar.
|
class |
JSeparator
JSeparator provides a general purpose component for
implementing divider lines - most commonly used as a divider
between menu items that breaks them up into logical groupings. |
protected class |
JSeparator.AccessibleJSeparator
This class implements accessibility support for the
JSeparator class. |
class |
JToolTip
Used to display a "Tip" for a Component.
|
protected class |
JToolTip.AccessibleJToolTip
This class implements accessibility support for the
JToolTip class. |
class |
JTree
|
protected class |
JTree.AccessibleJTree
This class implements accessibility support for the
JTree class. |
static class |
JTree.DynamicUtilTreeNode
DynamicUtilTreeNode can wrap
vectors/hashtables/arrays/strings and
create the appropriate children tree nodes as necessary. |
protected static class |
JTree.EmptySelectionModel
EmptySelectionModel is a TreeSelectionModel
that does not allow anything to be selected. |
protected class |
JTree.TreeSelectionRedirector
Handles creating a new
TreeSelectionEvent with the
JTree as the
source and passing it off to all the listeners. |
class |
JWindow
A
JWindow is a container that can be displayed anywhere on the
user's desktop. |
protected class |
JWindow.AccessibleJWindow
This class implements accessibility support for the
JWindow class. |
class |
Timer
Fires one or more
ActionEvent s at specified
intervals. |
class |
TransferHandler
This class is used to handle the transfer of a
Transferable
to and from Swing components. |
Modifier and Type | Method and Description |
---|---|
void |
Popup.hide()
Hides and disposes of the
Popup . |
boolean |
JTree.AccessibleJTree.AccessibleJTreeNode.isFocusTraversable() |
static boolean |
JComponent.isLightweightComponent(Component c)
Returns true if this component is lightweight, that is, if it doesn't
have a native window system peer.
|
protected void |
SwingWorker.publish(V... chunks)
Sends data chunks to the
SwingWorker.process(java.util.List<V>) method. |
void |
Popup.show()
Makes the
Popup visible. |
Modifier and Type | Class and Description |
---|---|
class |
AbstractBorder
A class that implements an empty border with no size.
|
class |
CompoundBorder
A composite Border class used to compose two Border objects
into a single border by nesting an inside Border object within
the insets of an outside Border object.
|
class |
EmptyBorder
A class which provides an empty, transparent border which
takes up space but does no drawing.
|
class |
MatteBorder
A class which provides a matte-like border of either a solid color
or a tiled icon.
|
class |
TitledBorder
A class which implements an arbitrary border
with the addition of a String title in a
specified position and justification.
|
Modifier and Type | Class and Description |
---|---|
class |
AncestorEvent
An event reported to a child component that originated from an
ancestor in the component hierarchy.
|
class |
ChangeEvent
ChangeEvent is used to notify interested parties that
state has changed in the event source.
|
class |
EventListenerList
A class that holds a list of EventListeners.
|
class |
ListDataEvent
Defines an event that encapsulates changes to a list.
|
class |
MenuDragMouseEvent
MenuDragMouseEvent is used to notify interested parties that
the menu element has received a MouseEvent forwarded to it
under drag conditions.
|
class |
MenuEvent
MenuEvent is used to notify interested parties that
the menu which is the event source has been posted,
selected, or canceled.
|
class |
MenuKeyEvent
MenuKeyEvent is used to notify interested parties that
the menu element has received a KeyEvent forwarded to it
in a menu tree.
|
class |
PopupMenuEvent
PopupMenuEvent only contains the source of the event which is the JPoupMenu
sending the event
|
Modifier and Type | Method and Description |
---|---|
boolean |
ComponentUI.contains(JComponent c,
int x,
int y)
Returns
true if the specified x,y location is
contained within the look and feel's defined shape of the specified
component. |
Modifier and Type | Class and Description |
---|---|
class |
BadLocationException
This exception is to report bad locations within a document model
(that is, attempts to reference a location that doesn't exist).
|
Modifier and Type | Class and Description |
---|---|
class |
DefaultTreeSelectionModel
Default implementation of TreeSelectionModel.
|
Modifier and Type | Method and Description |
---|---|
Iterator |
NodeSetData.iterator()
Returns a read-only iterator over the nodes contained in this
NodeSetData in
document order. |
Modifier and Type | Method and Description |
---|---|
Iterator |
DOMCryptoContext.iterator()
Returns a read-only iterator over the set of Id/Element mappings of
this
DOMCryptoContext . |
Modifier and Type | Method and Description |
---|---|
List |
XMLObject.getContent()
Returns an
unmodifiable
list of XMLStructure s contained in this XMLObject ,
which represent elements from any namespace. |
List |
SignatureProperty.getContent()
Returns an
unmodifiable
list of one or more XMLStructure s that are contained in
this SignatureProperty . |
List |
XMLSignature.getObjects()
|
List |
SignatureProperties.getProperties()
Returns an
unmodifiable
list of one or more SignatureProperty s that are contained in
this SignatureProperties . |
List |
Manifest.getReferences()
|
List |
SignedInfo.getReferences()
Returns an
unmodifiable list of one or more Reference s. |
List |
Reference.getTransforms()
|
abstract Manifest |
XMLSignatureFactory.newManifest(List references)
Creates a
Manifest containing the specified
list of Reference s. |
abstract Manifest |
XMLSignatureFactory.newManifest(List references,
String id)
Creates a
Manifest containing the specified
list of Reference s and optional id. |
abstract Reference |
XMLSignatureFactory.newReference(String uri,
DigestMethod dm,
List appliedTransforms,
Data result,
List transforms,
String type,
String id)
Creates a
Reference with the specified parameters. |
abstract Reference |
XMLSignatureFactory.newReference(String uri,
DigestMethod dm,
List transforms,
String type,
String id)
Creates a
Reference with the specified parameters. |
abstract Reference |
XMLSignatureFactory.newReference(String uri,
DigestMethod dm,
List transforms,
String type,
String id,
byte[] digestValue)
Creates a
Reference with the specified parameters and
pre-calculated digest value. |
abstract SignatureProperties |
XMLSignatureFactory.newSignatureProperties(List properties,
String id)
Creates a
SignatureProperties containing the specified
list of SignatureProperty s and optional id. |
abstract SignatureProperty |
XMLSignatureFactory.newSignatureProperty(List content,
String target,
String id)
Creates a
SignatureProperty containing the specified
list of XMLStructure s, target URI and optional id. |
abstract SignedInfo |
XMLSignatureFactory.newSignedInfo(CanonicalizationMethod cm,
SignatureMethod sm,
List references)
Creates a
SignedInfo with the specified canonicalization
and signature methods, and list of one or more references. |
abstract SignedInfo |
XMLSignatureFactory.newSignedInfo(CanonicalizationMethod cm,
SignatureMethod sm,
List references,
String id)
Creates a
SignedInfo with the specified parameters. |
abstract XMLObject |
XMLSignatureFactory.newXMLObject(List content,
String id,
String mimeType,
String encoding)
Creates an
XMLObject from the specified parameters. |
abstract XMLSignature |
XMLSignatureFactory.newXMLSignature(SignedInfo si,
KeyInfo ki,
List objects,
String id,
String signatureValueId)
Creates an
XMLSignature and initializes it with the
specified parameters. |
Modifier and Type | Method and Description |
---|---|
List |
X509Data.getContent()
Returns an
unmodifiable
list of the content in this X509Data . |
List |
KeyInfo.getContent()
Returns an
unmodifiable
list containing the key information. |
List |
PGPData.getExternalElements()
Returns an
unmodifiable list
of XMLStructure s representing elements from an external
namespace. |
List |
RetrievalMethod.getTransforms()
|
abstract KeyInfo |
KeyInfoFactory.newKeyInfo(List content)
Creates a
KeyInfo containing the specified list of
key information types. |
abstract KeyInfo |
KeyInfoFactory.newKeyInfo(List content,
String id)
Creates a
KeyInfo containing the specified list of key
information types and optional id. |
abstract PGPData |
KeyInfoFactory.newPGPData(byte[] keyId,
byte[] keyPacket,
List other)
Creates a
PGPData from the specified PGP public key
identifier, and optional key material packet and list of external
elements. |
abstract PGPData |
KeyInfoFactory.newPGPData(byte[] keyPacket,
List other)
Creates a
PGPData from the specified PGP key material
packet and optional list of external elements. |
abstract RetrievalMethod |
KeyInfoFactory.newRetrievalMethod(String uri,
String type,
List transforms)
Creates a
RetrievalMethod from the specified parameters. |
abstract X509Data |
KeyInfoFactory.newX509Data(List content)
Creates a
X509Data containing the specified list of
X.509 content. |
Modifier and Type | Method and Description |
---|---|
Map |
XPathType.getNamespaceMap()
Returns a map of namespace prefixes.
|
Map |
XPathFilterParameterSpec.getNamespaceMap()
Returns a map of namespace prefixes.
|
List |
ExcC14NParameterSpec.getPrefixList()
Returns the inclusive namespace prefix list.
|
List |
XPathFilter2ParameterSpec.getXPathList()
Returns a list of one or more
XPathType objects. |
Constructor and Description |
---|
ExcC14NParameterSpec(List prefixList)
Creates a
ExcC14NParameterSpec with the specified list
of prefixes. |
XPathFilter2ParameterSpec(List xPathList)
Creates an
XPathFilter2ParameterSpec . |
XPathFilterParameterSpec(String xPath,
Map namespaceMap)
Creates an
XPathFilterParameterSpec with the specified
XPath expression and namespace map. |
XPathType(String expression,
XPathType.Filter filter,
Map namespaceMap)
Creates an
XPathType instance with the specified XPath
expression, filter, and namespace map. |
Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 1993, 2016, Oracle and/or its affiliates. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.