- set(int, E) - Method in class java.util.AbstractSequentialList
-
Replaces the element at the specified position in this list with the specified element (optional operation).
- set(int, E) - Method in class java.util.LinkedList
-
Replaces the element at the specified position in this list with the specified element.
- shuffle(List<?>) - Static method in class java.util.Collections
-
Randomly permutes the specified list using a default source of randomness.
- shuffle(List<?>, Random) - Static method in class java.util.Collections
-
Randomly permute the specified list using the specified source of randomness.
- singleton(T) - Static method in class java.util.Collections
-
Returns an immutable set containing only the specified object.
- singletonList(T) - Static method in class java.util.Collections
-
Returns an immutable list containing only the specified object.
- singletonMap(K, V) - Static method in class java.util.Collections
-
Returns an immutable map, mapping only the specified key to the specified value.
- size() - Method in class java.util.ArrayDeque
-
Returns the number of elements in this deque.
- size() - Method in interface java.util.Deque
-
Returns the number of elements in this deque.
- size() - Method in class java.util.HashSet
-
Returns the number of elements in this set (its cardinality).
- size() - Method in class java.util.LinkedList
-
Returns the number of elements in this list.
- size() - Method in class java.util.TreeMap
-
Returns the number of key-value mappings in this map.
- size() - Method in class java.util.TreeSet
-
Returns the number of elements in this set (its cardinality).
- sort(int[]) - Static method in class java.util.Arrays
-
Sorts the specified array into ascending numerical order.
- sort(int[], int, int) - Static method in class java.util.Arrays
-
Sorts the specified range of the array into ascending order.
- sort(long[]) - Static method in class java.util.Arrays
-
Sorts the specified array into ascending numerical order.
- sort(long[], int, int) - Static method in class java.util.Arrays
-
Sorts the specified range of the array into ascending order.
- sort(short[]) - Static method in class java.util.Arrays
-
Sorts the specified array into ascending numerical order.
- sort(short[], int, int) - Static method in class java.util.Arrays
-
Sorts the specified range of the array into ascending order.
- sort(char[]) - Static method in class java.util.Arrays
-
Sorts the specified array into ascending numerical order.
- sort(char[], int, int) - Static method in class java.util.Arrays
-
Sorts the specified range of the array into ascending order.
- sort(byte[]) - Static method in class java.util.Arrays
-
Sorts the specified array into ascending numerical order.
- sort(byte[], int, int) - Static method in class java.util.Arrays
-
Sorts the specified range of the array into ascending order.
- sort(float[]) - Static method in class java.util.Arrays
-
Sorts the specified array into ascending numerical order.
- sort(float[], int, int) - Static method in class java.util.Arrays
-
Sorts the specified range of the array into ascending order.
- sort(double[]) - Static method in class java.util.Arrays
-
Sorts the specified array into ascending numerical order.
- sort(double[], int, int) - Static method in class java.util.Arrays
-
Sorts the specified range of the array into ascending order.
- sort(Object[]) - Static method in class java.util.Arrays
-
Sorts the specified array of objects into ascending order, according to the natural
ordering of its elements.
- sort(Object[], int, int) - Static method in class java.util.Arrays
-
Sorts the specified range of the specified array of objects into ascending order, according to the
natural ordering of its elements.
- sort(T[], Comparator<? super T>) - Static method in class java.util.Arrays
-
Sorts the specified array of objects according to the order induced by the specified comparator.
- sort(T[], int, int, Comparator<? super T>) - Static method in class java.util.Arrays
-
Sorts the specified range of the specified array of objects according to the order induced by the specified
comparator.
- sort(List<T>) - Static method in class java.util.Collections
-
Sorts the specified list into ascending order, according to the natural ordering of its
elements.
- sort(List<T>, Comparator<? super T>) - Static method in class java.util.Collections
-
Sorts the specified list according to the order induced by the specified comparator.
- SortedMap<K,V> - Interface in java.util
-
A Map
that further provides a total ordering on its keys.
- SortedSet<E> - Interface in java.util
-
A Set
that further provides a total ordering on its elements.
- subMap(K, boolean, K, boolean) - Method in interface java.util.NavigableMap
-
Returns a view of the portion of this map whose keys range from fromKey
to toKey
.
- subMap(K, K) - Method in interface java.util.NavigableMap
-
Returns a view of the portion of this map whose keys range from fromKey
, inclusive, to toKey
,
exclusive.
- subMap(K, K) - Method in interface java.util.SortedMap
-
Returns a view of the portion of this map whose keys range from fromKey
, inclusive, to toKey
,
exclusive.
- subMap(K, boolean, K, boolean) - Method in class java.util.TreeMap
-
- subMap(K, K) - Method in class java.util.TreeMap
-
- subSet(E, boolean, E, boolean) - Method in interface java.util.NavigableSet
-
Returns a view of the portion of this set whose elements range from fromElement
to toElement
.
- subSet(E, E) - Method in interface java.util.NavigableSet
-
Returns a view of the portion of this set whose elements range from fromElement, inclusive, to
toElement, exclusive.
- subSet(E, E) - Method in interface java.util.SortedSet
-
Returns a view of the portion of this set whose elements range from fromElement, inclusive, to
toElement, exclusive.
- subSet(E, boolean, E, boolean) - Method in class java.util.TreeSet
-
- subSet(E, E) - Method in class java.util.TreeSet
-
- swap(List<?>, int, int) - Static method in class java.util.Collections
-
Swaps the elements at the specified positions in the specified list.
- synchronizedCollection(Collection<T>) - Static method in class java.util.Collections
-
Returns a synchronized (thread-safe) collection backed by the specified collection.
- synchronizedList(List<T>) - Static method in class java.util.Collections
-
Returns a synchronized (thread-safe) list backed by the specified list.
- synchronizedMap(Map<K, V>) - Static method in class java.util.Collections
-
Returns a synchronized (thread-safe) map backed by the specified map.
- synchronizedSet(Set<T>) - Static method in class java.util.Collections
-
Returns a synchronized (thread-safe) set backed by the specified set.
- synchronizedSortedMap(SortedMap<K, V>) - Static method in class java.util.Collections
-
Returns a synchronized (thread-safe) sorted map backed by the specified sorted map.
- synchronizedSortedSet(SortedSet<T>) - Static method in class java.util.Collections
-
Returns a synchronized (thread-safe) sorted set backed by the specified sorted set.