thumbnail

java.util Package Quiz

Enter the names of all interfaces, classes, enums, exceptions, and errors imported by the java.util package according to Oracle.
Quiz by Night1224
Rate:
Last updated: September 29, 2022
You have not attempted this quiz yet.
First submittedSeptember 29, 2022
Times taken5
Average score0.8%
Report this quizReport
20:00
Enter answer here
0
 / 128 guessed
The quiz is paused. You have remaining.
Scoring
You scored / = %
This beats or equals % of test takers also scored 100%
The average score is
Your high score is
Your fastest time is
Keep scrolling down for answers and more stats ...
Interface
The root interface in the collection hierarchy.
Collection<E>
A comparison function, which imposes a total ordering on some collection of objects.
Comparator<T>
A linear collection that supports element insertion and removal at both ends.
Deque<E>
An object that implements this interface generates a series of elements, one at a time.
Enumeration<E>
A tagging interface that all event listener interfaces must extend.
EventListener
This interface must be implemented by any class that needs to perform custom formatting using the 's' conversion specifier of Formatter.
Formattable
An iterator over a collection.
Iterator<E>
An ordered collection (also known as a sequence).
List<E>
An iterator for lists that allows the programmer to traverse the list in either direction, modify the list during iteration, and obtain the iterator's current position in the list.
ListIterator<E>
An object that maps keys to values.
Map<K,V>
A map entry (key-value pair).
Map.Entry<K,V>
A SortedMap extended with navigation methods returning the closest matches for given search targets.
NavigableMap<K,V>
A SortedSet extended with navigation methods reporting closest matches for given search targets.
NavigableSet<E>
A class can implement this interface when it wants to be informed of changes in observable objects.
Observer
A base type for primitive specializations of Iterator.
PrimitiveIterator<T,T_CONS>
An Iterator specialized for double values.
PrimitiveIterator.OfDouble
An Iterator specialized for int values.
PrimitiveIterator.OfInt
An Iterator specialized for long values.
PrimitiveIterator.OfLong
A collection designed for holding elements prior to processing.
Queue<E>
Marker interface used by List implementations to indicate that they support fast (generally constant time) random access.
RandomAccess
A collection that contains no duplicate elements.
Set<E>
A Map that further provides a total ordering on its keys.
SortedMap<K,V>
A Set that further provides a total ordering on its elements.
SortedSet<E>
An object for traversing and partitioning elements of a source.
Spliterator<T>
A Spliterator specialized for double values.
Spliterator.OfDouble
A Spliterator specialized for int values.
Spliterator.OfInt
A Spliterator specialized for long values.
Spliterator.OfLong
A Spliterator specialized for primitive values.
Spliterator.OfPrimitive<T,T_CONS,T_SPLITR extends Spliterator.OfPrimitive<T,T_CONS,T_SPLITR>>
Class
This class provides a skeletal implementation of the Collection interface, to minimize the effort required to implement this interface.
AbstractCollection<E>
This class provides a skeletal implementation of the List interface to minimize the effort required to implement this interface backed by a "random access" data store (such as an array).
AbstractList<E>
This class provides a skeletal implementation of the Map interface, to minimize the effort required to implement this interface.
AbstractMap<K,V>
An Entry maintaining a key and a value.
AbstractMap.SimpleEntry<K,V>
An Entry maintaining an immutable key and value.
AbstractMap.SimpleImmutableEntry<K,V>
This class provides skeletal implementations of some Queue operations.
AbstractQueue<E>
This class provides a skeletal implementation of the List interface to minimize the effort required to implement this interface backed by a "sequential access" data store (such as a linked list).
AbstractSequentialList<E>
This class provides a skeletal implementation of the Set interface to minimize the effort required to implement this interface.
AbstractSet<E>
Resizable-array implementation of the Deque interface.
ArrayDeque<E>
Resizable-array implementation of the List interface.
ArrayList<E>
This class contains various methods for manipulating arrays (such as sorting and searching).
Arrays
This class consists exclusively of static methods for obtaining encoders and decoders for the Base64 encoding scheme.
Base64
This class implements a decoder for decoding byte data using the Base64 encoding scheme as specified in RFC 4648 and RFC 2045.
Base64.Decoder
This class implements an encoder for encoding byte data using the Base64 encoding scheme as specified in RFC 4648 and RFC 2045.
Base64.Encoder
This class implements a vector of bits that grows as needed.
BitSet
This class is an abstract class that provides methods for converting between a specific instant in time and a set of calendar fields such as YEAR, MONTH, DAY_OF_MONTH, HOUR, and so on, and for manipulating the calendar fields, such as getting the date of the next week.
Calendar
This is used for creating a Calendar from various date-time parameters.
Calendar.Builder
This class consists exclusively of static methods that operate on or return collections.
Collections
Represents a currency.
Currency
This class represents a specific instant in time, with millisecond precision.
Date
This class is the abstract parent of any class, such as Hashtable, which maps keys to values.
Dictionary<K,V>
A state object for collecting statistics such as count, min, max, sum, and average.
DoubleSummaryStatistics
A specialized Map implementation for use with enum type keys.
EnumMap<K extends Enum<K>,V>
A specialized Set implementation for use with enum types.
EnumSet<E extends Enum<E>>
An abstract wrapper class for an EventListener class which associates a set of additional parameters with the listener.
EventListenerProxy<T extends EventListener>
The root class from which all event state objects shall be derived.
EventObject
FomattableFlags are passed to the Formattable.formatTo() method and modify the output format for Formattables.
FormattableFlags
An interpreter for printf-style format strings.
Formatter
This is a concrete subclass of Calendar and provides the standard calendar system used by most of the world.
GregorianCalendar
Hash table based implementation of the Map interface.
HashMap<K,V>
This class implements the Set interface, backed by a hash table (actually a HashMap instance).
HashSet<E>
This class implements a hash table, which maps keys to values.
Hashtable<K,V>
This class implements the Map interface with a hash table, using reference-equality in place of object-equality when comparing keys (and values).
IdentityHashMap<K,V>
A state object for collecting statistics such as count, min, max, sum, and average.
IntSummaryStatistics
Hash table and linked list implementation of the Map interface, with predictable iteration order.
LinkedHashMap<K,V>
Hash table and linked list implementation of the Set interface, with predictable iteration order.
LinkedHashSet<E>
Doubly-linked list implementation of the List and Deque interfaces.
LinkedList<E>
This is an abstract subclass of ResourceBundle that manages resources for a locale in a convenient and easy to use list.
ListResourceBundle
This object represents a specific geographical, political, or cultural region.
Locale
This class expresses a Language Range defined in RFC 4647 Matching of Language Tags.
Locale.Builder
Builder is used to build instances of Locale from values configured by the setters.
Locale.LanguageRange
A state object for collecting statistics such as count, min, max, sum, and average.
LongSummaryStatistics
This class consists of static utility methods for operating on objects.
Objects
This class represents an observable object, or "data" in the model-view paradigm.
Observable
A container object which may or may not contain a non-null value.
Optional<T>
A container object which may or may not contain a double value.
OptionalDouble
A container object which may or may not contain a int value.
OptionalInt
A container object which may or may not contain a long value.
OptionalLong
An unbounded priority queue based on a priority heap.
PriorityQueue<E>
This class represents a persistent set of properties.
Properties
This class is for property permissions.
PropertyPermission
This is a concrete subclass of ResourceBundle that manages resources for a locale using a set of static strings from a property file.
PropertyResourceBundle
An instance of this class is used to generate a stream of pseudorandom numbers.
Random
Resource bundles contain locale-specific objects.
ResourceBundle
This defines a set of callback methods that are invoked by the ResourceBundle.getBundle factory methods during the bundle loading process.
ResourceBundle.Control
A simple text scanner which can parse primitive types and strings using regular expressions.
Scanner
A simple service-provider loading facility.
ServiceLoader<S>
This is a concrete subclass of TimeZone that represents a time zone for use with a Gregorian calendar.
SimpleTimeZone
Static classes and methods for operating on or creating instances of Spliterator and its primitive specializations Spliterator.OfInt, Spliterator.OfLong, and Spliterator.OfDouble.
Spliterators
An abstract Spliterator.OfDouble that implements trySplit to permit limited parallelism.
Spliterators.AbstractDoubleSpliterator
An abstract Spliterator.OfInt that implements trySplit to permit limited parallelism.
Spliterators.AbstractIntSpliterator
An abstract Spliterator.OfLong that implements trySplit to permit limited parallelism.
Spliterators.AbstractLongSpliterator
An abstract Spliterator that implements trySplit to permit limited parallelism.
Spliterators.AbstractSpliterator<T>
A generator of uniform pseudorandom values applicable for use in (among other contexts) isolated parallel computations that may generate subtasks.
SplittableRandom
This class represents a last-in-first-out (LIFO) stack of objects.
Stack<E>
StringJoiner is used to construct a sequence of characters separated by a delimiter and optionally starting with a supplied prefix and ending with a supplied suffix.
StringJoiner
The string tokenizer class allows an application to break a string into tokens.
StringTokenizer
A facility for threads to schedule tasks for future execution in a background thread.
Timer
A task that can be scheduled for one-time or repeated execution by a Timer.
TimerTask
TimeZone represents a time zone offset, and also figures out daylight savings.
TimeZone
A Red-Black tree based NavigableMap implementation.
TreeMap<K,V>
A NavigableSet implementation based on a TreeMap.
TreeSet<E>
A class that represents an immutable universally unique identifier (UUID).
UUID
This class implements a growable array of objects.
Vector<E>
Hash table based implementation of the Map interface, with weak keys.
WeakHashMap<K,V>
Enum
Enum for BigDecimal formatting.
Formatter.BigDecimalLayoutForm
Enum for locale categories.
Locale.Category
This enum provides constants to select a filtering mode for locale matching.
Locale.FilteringMode
Exception
This exception may be thrown by methods that have detected concurrent modification of an object when such modification is not permissible.
ConcurrentModificationException
Unchecked exception thrown when duplicate flags are provided in the format specifier.
DuplicateFormatFlagsException
Thrown by methods in the Stack class to indicate that the stack is empty.
EmptyStackException
Unchecked exception thrown when a conversion and flag are incompatible.
FormatFlagsConversionMismatchException
Unchecked exception thrown when the formatter has been closed.
FormatterClosedException
Unchecked exception thrown when a character with an invalid Unicode code point as defined by Character.isValidCodePoint(int) is passed to the Formatter.
IllegalFormatCodePointException
Unchecked exception thrown when the argument corresponding to the format specifier is of an incompatible type.
IllegalFormatConversionException
Unchecked exception thrown when a format string contains an illegal syntax or a format specifier that is incompatible with the given arguments.
IllegalFormatException
Unchecked exception thrown when an illegal combination flags is given.
IllegalFormatFlagsException
Unchecked exception thrown when the precision is a negative value other than -1, the conversion does not support a precision, or the value is otherwise unsupported.
IllegalFormatPrecisionException
Unchecked exception thrown when the format width is a negative value other than -1 or is otherwise unsupported.
IllegalFormatWidthException
Thrown by methods in Locale and Locale.Builder to indicate that an argument is not a well-formed BCP 47 tag.
IllformedLocaleException
Thrown by a Scanner to indicate that the token retrieved does not match the pattern for the expected type, or that the token is out of range for the expected type.
InputMismatchException
Thrown to indicate that an operation could not complete because the input did not conform to the appropriate XML document type for a collection of properties, as per the Properties specification.
InvalidPropertiesFormatException
Unchecked exception thrown when there is a format specifier which does not have a corresponding argument or if an argument index refers to an argument that does not exist.
MissingFormatArgumentException
Unchecked exception thrown when the format width is required.
MissingFormatWidthException
Signals that a resource is missing.
MissingResourceException
Thrown by various accessor methods to indicate that the element being requested does not exist.
NoSuchElementException
This Exception is used as part of the Java Event model to annotate and implement a unicast special case of a multicast Event Source.
TooManyListenersException
Unchecked exception thrown when an unknown conversion is given.
UnknownFormatConversionException
Unchecked exception thrown when an unknown flag is given.
UnknownFormatFlagsException
Error
Error thrown when something goes wrong while loading a service provider.
ServiceConfigurationError
+1
Level 49
Dec 13, 2023
I strongly encourage you not to require people to provide type parameters. For example, accept Map instead of Map.