Package java.util
package java.util
-
ClassDescriptionClass
AbstractCollectionis an abstract implementation of theCollectioninterface.AbstractList<E>AbstractListis an abstract implementation of theListinterface, optimized for a backing store which supports random access.AbstractMap<K,V> This class is an abstract implementation of theMapinterface.A key-value mapping.An immutable key-value mapping.AbstractQueue is an abstract class which implements some of the methods inQueue.AbstractSequentialList is an abstract implementation of the List interface.AbstractSet<E>An AbstractSet is an abstract implementation of the Set interface.ArrayDeque<E>An implementation of Deque, backed by an array.ArrayList<E>ArrayList is an implementation ofList, backed by an array.Arrayscontains static methods which operate on arrays.java.util.Base64: the basic, URL-safe and MIME encodings of RFC 4648 and RFC 2045, by the JDK's rules for padding and for what a decoder refuses.java.util.Base64.Decoder.java.util.Base64.Encoder.TheBitSetclass implements a bit field.Calendar is an abstract base class for converting between a Date object and a set of integer fields such as YEAR, MONTH, DAY, HOUR, and so on.Collection<E>Collectionis the root of the collection hierarchy.Collectionscontains static methods which operate onCollectionclasses.Comparator<T>AComparatoris used to compare two objects to determine their ordering with respect to each other.AnConcurrentModificationExceptionis thrown when a Collection is modified and an existing iterator on the Collection is used to modify the Collection as well.The class Date represents a specific instant in time, with millisecond precision.Deque<E>A kind of collection that can insert or remove element at both ends("double ended queue").Dictionary<K,V> **Note: Do not use this class since it is obsolete.The count, sum, minimum, maximum and average of the values it was given.Thrown by methods in the Stack class to indicate that the stack is empty.Enumeration<T>An object that implements the Enumeration interface generates a series of elements, one at a time.EventListener is the superclass of all event listener interfaces.This abstract class provides a simple wrapper for objects of typeEventListener.java.util.EventObject: the root of every listener event, carrying the object the event happened on.HashMap<K,V> HashMap is an implementation of Map.HashSet<E>HashSet is an implementation of a Set.Hashtable<K,V> Hashtable associates keys with values.java.util.HexFormat: bytes to hexadecimal text and back, with an optional delimiter between bytes and a prefix and suffix around each.IdentityHashMap<K,V> IdentityHashMap is a variant on HashMap which tests equality by reference instead of equality by value.The count, sum, minimum, maximum and average of the values it was given.Iterator<E>AnIteratoris used to sequence over a collection of objects.LinkedHashMap<K,V> LinkedHashMap is a variant of HashMap.LinkedHashSet is a variant of HashSet.LinkedList<E>LinkedList is an implementation of List, backed by a linked list.List<E>AListis a collection which maintains an ordering for its elements.ListIterator<E>An ListIterator is used to sequence over a List of objects.A language, a country and a variant, with the JDK's value semantics: two locales of the same codes are equal, hash alike and print alike (en_US).The count, sum, minimum, maximum and average of the values it was given.Map<K,V> AMapis a data structure consisting of a set of keys and values in which each key is mapped to a single value.Map.Entry<K,V> Map.Entryis a key/value mapping contained in aMap.A resource bundle, or a key in one, could not be found.NavigableMap<K,V> NavigableMap is a SortedMap with navigation methods answering the closest matches for specified item.NavigableSet<E>NavigableSet is a SortedSet with navigation methods answering the closest matches for specified item.Thrown by the nextElement method of an Enumeration to indicate that there are no more elements in the enumeration.This is a compatibility class which supports the java.util.Objects API.Observable is used to notify a group of Observer objects when a change occurs.Observeris the interface to be implemented by objects that receive notification of updates on anObservableobject.Optional<T>A container that may or may not hold a non-null value (the Java 8 API).A container that holds onedoubleor nothing.A container that holds oneintor nothing.A container that holds onelongor nothing.PrimitiveIterator<T,T_CONS> An iterator that can hand out its elements unboxed.An iterator ofdoublevalues.An iterator ofintvalues.An iterator oflongvalues.A PriorityQueue holds elements on a priority heap, which orders the elements according to their natural order or according to the comparator specified at construction time.String keys and values, a second table of defaults behind them, and the.propertiestext format.Queue<E>This kind of collection provides advanced operations compared to basic collections, such as insertion, extraction, and inspection.An instance of this class is used to generate a stream of pseudorandom numbers.RandomAccess is implemented byListimplementations that support fast (usually constant time) random access.Set<E>ASetis a data structure which does not allow duplicate elements.SortedMap<K,V> A map that has its keys ordered.SortedSet<E>SortedSet is a Set which iterates over its elements in a sorted order.Spliterator<T>A source of elements that hands them out one at a time, which is whatjava.util.stream.StreamSupportmakes a stream of.Ways to make aSpliteratorof a collection or an iterator, and an iterator of a spliterator.Stack<E>Stackis a Last-In/First-Out(LIFO) data structure which represents a stack of objects.java.util.StringJoiner: builds a sequence of strings separated by a delimiter, optionally between a prefix and a suffix.TheStringTokenizerclass allows an application to break a string into tokens by performing code point comparison.TimeZone represents a time zone offset, and also figures out daylight savings.TreeMap<K,V> TreeMap is an implementation of SortedMap.TreeSet<E>TreeSet is an implementation of SortedSet.A 128 bit identifier: its canonical text form, random (version 4) generation and name based (version 3) generation.Vector<E>Vector is a variable size contiguous indexable array of objects.WeakHashMap<K,V> java.util.WeakHashMap: a map that does not keep its keys alive.