- emptyList
Returns the empty list (immutable). This list is serializable.This example
illustrates the type-safe
- sort
- singletonList
Returns an immutable list containing only the specified object. The returned
list is serializable.
- unmodifiableList
Returns an unmodifiable view of the specified list. This method allows modules
to provide users with
- emptyMap
Returns the empty map (immutable). This map is serializable.This example
illustrates the type-safe w
- emptySet
Returns the empty set (immutable). This set is serializable. Unlike the
like-named field, this metho
- unmodifiableMap
Returns an unmodifiable view of the specified map. This method allows modules to
provide users with
- singleton
Returns an immutable set containing only the specified object. The returned set
is serializable.
- unmodifiableSet
Returns an unmodifiable view of the specified set. This method allows modules to
provide users with
- singletonMap
Returns an immutable map, mapping only the specified key to the specified value.
The returned map is
- addAll
Adds all of the specified elements to the specified collection. Elements to be
added may be specifie
- reverse
Reverses the order of the elements in the specified list. This method runs in
linear time.