Package java.util


package java.util
  • Class
    Description
    Class AbstractCollection is an abstract implementation of the Collection interface.
    AbstractList is an abstract implementation of the List interface, optimized for a backing store which supports random access.
    This class is an abstract implementation of the Map interface.
    A key-value mapping.
    An immutable key-value mapping.
    AbstractQueue is an abstract class which implements some of the methods in Queue.
    AbstractSequentialList is an abstract implementation of the List interface.
    An AbstractSet is an abstract implementation of the Set interface.
    An implementation of Deque, backed by an array.
    ArrayList is an implementation of List, backed by an array.
    Arrays contains 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.
    The BitSet class 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 is the root of the collection hierarchy.
    Collections contains static methods which operate on Collection classes.
    A Comparator is used to compare two objects to determine their ordering with respect to each other.
    An ConcurrentModificationException is 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.
    A kind of collection that can insert or remove element at both ends("double ended queue").
    **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.
    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 type EventListener.
    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 is an implementation of a Set.
    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 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.
    An Iterator is used to sequence over a collection of objects.
    LinkedHashMap is a variant of HashMap.
    LinkedHashSet is a variant of HashSet.
    LinkedList is an implementation of List, backed by a linked list.
    List<E>
    A List is a collection which maintains an ordering for its elements.
    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>
    A Map is a data structure consisting of a set of keys and values in which each key is mapped to a single value.
    Map.Entry is a key/value mapping contained in a Map.
    A resource bundle, or a key in one, could not be found.
    NavigableMap is a SortedMap with navigation methods answering the closest matches for specified item.
    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.
    Observer is the interface to be implemented by objects that receive notification of updates on an Observable object.
    A container that may or may not hold a non-null value (the Java 8 API).
    A container that holds one double or nothing.
    A container that holds one int or nothing.
    A container that holds one long or nothing.
    An iterator that can hand out its elements unboxed.
    An iterator of double values.
    An iterator of int values.
    An iterator of long values.
    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 .properties text format.
    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 by List implementations that support fast (usually constant time) random access.
    Set<E>
    A Set is a data structure which does not allow duplicate elements.
    A map that has its keys ordered.
    SortedSet is a Set which iterates over its elements in a sorted order.
    A source of elements that hands them out one at a time, which is what java.util.stream.StreamSupport makes a stream of.
    Ways to make a Spliterator of a collection or an iterator, and an iterator of a spliterator.
    Stack is 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.
    The StringTokenizer class 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 is an implementation of SortedSet.
    A 128 bit identifier: its canonical text form, random (version 4) generation and name based (version 3) generation.
    Vector is a variable size contiguous indexable array of objects.
    java.util.WeakHashMap: a map that does not keep its keys alive.