Module java.base
Package java.util

# Class Collections

=
public class Collections
extends java.lang.Object

## Fields

- =
  public static final java.util.List EMPTY_LIST
- =
  public static final java.util.Map EMPTY_MAP
- =
  public static final java.util.Set EMPTY_SET

## Methods

- =
  @SafeVarargs
  public static <T> boolean addAll(java.util.Collection<? super T> arg0, T[] arg1)
- =
  public static <T> java.util.Queue<T> asLifoQueue(java.util.Deque<T> arg0)
- =
  public static <T> int binarySearch(java.util.List<? extends java.lang.Comparable<? super T>> arg0, T arg1)
- =
  public static <T> int binarySearch(java.util.List<? extends T> arg0, T arg1, java.util.Comparator<? super T> arg2)
- =
  public static <E> java.util.Collection<E> checkedCollection(java.util.Collection<E> arg0, java.lang.Class<E> arg1)
- =
  public static <E> java.util.List<E> checkedList(java.util.List<E> arg0, java.lang.Class<E> arg1)
- =
  public static <K, V> java.util.Map<K, V> checkedMap(java.util.Map<K, V> arg0, java.lang.Class<K> arg1, java.lang.Class<V> arg2)
- =
  public static <K, V> java.util.NavigableMap<K, V> checkedNavigableMap(java.util.NavigableMap<K, V> arg0, java.lang.Class<K> arg1, java.lang.Class<V> arg2)
- =
  public static <E> java.util.NavigableSet<E> checkedNavigableSet(java.util.NavigableSet<E> arg0, java.lang.Class<E> arg1)
- =
  public static <E> java.util.Queue<E> checkedQueue(java.util.Queue<E> arg0, java.lang.Class<E> arg1)
- =
  public static <E> java.util.Set<E> checkedSet(java.util.Set<E> arg0, java.lang.Class<E> arg1)
- =
  public static <K, V> java.util.SortedMap<K, V> checkedSortedMap(java.util.SortedMap<K, V> arg0, java.lang.Class<K> arg1, java.lang.Class<V> arg2)
- =
  public static <E> java.util.SortedSet<E> checkedSortedSet(java.util.SortedSet<E> arg0, java.lang.Class<E> arg1)
- =
  public static <T> void copy(java.util.List<? super T> arg0, java.util.List<? extends T> arg1)
- =
  public static boolean disjoint(java.util.Collection<?> arg0, java.util.Collection<?> arg1)
- =
  public static <T> java.util.Enumeration<T> emptyEnumeration()
- =
  public static <T> java.util.Iterator<T> emptyIterator()
- =
  public static final <T> java.util.List<T> emptyList()
- =
  public static <T> java.util.ListIterator<T> emptyListIterator()
- =
  public static final <K, V> java.util.Map<K, V> emptyMap()
- =
  public static final <K, V> java.util.NavigableMap<K, V> emptyNavigableMap()
- =
  public static <E> java.util.NavigableSet<E> emptyNavigableSet()
- =
  public static final <T> java.util.Set<T> emptySet()
- =
  public static final <K, V> java.util.SortedMap<K, V> emptySortedMap()
- =
  public static <E> java.util.SortedSet<E> emptySortedSet()
- =
  public static <T> java.util.Enumeration<T> enumeration(java.util.Collection<T> arg0)
- =
  public static <T> void fill(java.util.List<? super T> arg0, T arg1)
- =
  public static int frequency(java.util.Collection<?> arg0, java.lang.Object arg1)
- =
  public static int indexOfSubList(java.util.List<?> arg0, java.util.List<?> arg1)
- =
  public static int lastIndexOfSubList(java.util.List<?> arg0, java.util.List<?> arg1)
- =
  public static <T> java.util.ArrayList<T> list(java.util.Enumeration<T> arg0)
- =
  public static <T> T max(java.util.Collection<? extends T> arg0)
- =
  public static <T> T max(java.util.Collection<? extends T> arg0, java.util.Comparator<? super T> arg1)
- =
  public static <T> T min(java.util.Collection<? extends T> arg0)
- =
  public static <T> T min(java.util.Collection<? extends T> arg0, java.util.Comparator<? super T> arg1)
- =
  public static <T> java.util.List<T> nCopies(int arg0, T arg1)
- =
  public static <E> java.util.SequencedSet<E> newSequencedSetFromMap(java.util.SequencedMap<E, java.lang.Boolean> arg0)
- =
  public static <E> java.util.Set<E> newSetFromMap(java.util.Map<E, java.lang.Boolean> arg0)
- =
  public static <T> boolean replaceAll(java.util.List<T> arg0, T arg1, T arg2)
- =
  public static void reverse(java.util.List<?> arg0)
- =
  public static <T> java.util.Comparator<T> reverseOrder()
- =
  public static <T> java.util.Comparator<T> reverseOrder(java.util.Comparator<T> arg0)
- =
  public static void rotate(java.util.List<?> arg0, int arg1)
- =
  public static void shuffle(java.util.List<?> arg0)
- =
  public static void shuffle(java.util.List<?> arg0, java.util.Random arg1)
- =
  public static void shuffle(java.util.List<?> arg0, java.util.random.RandomGenerator arg1)
- =
  public static <T> java.util.Set<T> singleton(T arg0)
- =
  public static <T> java.util.List<T> singletonList(T arg0)
- =
  public static <K, V> java.util.Map<K, V> singletonMap(K arg0, V arg1)
- =
  public static <T> void sort(java.util.List<T> arg0)
- =
  public static <T> void sort(java.util.List<T> arg0, java.util.Comparator<? super T> arg1)
- =
  public static void swap(java.util.List<?> arg0, int arg1, int arg2)
- =
  public static <T> java.util.Collection<T> synchronizedCollection(java.util.Collection<T> arg0)
- =
  public static <T> java.util.List<T> synchronizedList(java.util.List<T> arg0)
- =
  public static <K, V> java.util.Map<K, V> synchronizedMap(java.util.Map<K, V> arg0)
- =
  public static <K, V> java.util.NavigableMap<K, V> synchronizedNavigableMap(java.util.NavigableMap<K, V> arg0)
- =
  public static <T> java.util.NavigableSet<T> synchronizedNavigableSet(java.util.NavigableSet<T> arg0)
- =
  public static <T> java.util.Set<T> synchronizedSet(java.util.Set<T> arg0)
- =
  public static <K, V> java.util.SortedMap<K, V> synchronizedSortedMap(java.util.SortedMap<K, V> arg0)
- =
  public static <T> java.util.SortedSet<T> synchronizedSortedSet(java.util.SortedSet<T> arg0)
- =
  public static <T> java.util.Collection<T> unmodifiableCollection(java.util.Collection<? extends T> arg0)
- =
  public static <T> java.util.List<T> unmodifiableList(java.util.List<? extends T> arg0)
- =
  public static <K, V> java.util.Map<K, V> unmodifiableMap(java.util.Map<? extends K, ? extends V> arg0)
- =
  public static <K, V> java.util.NavigableMap<K, V> unmodifiableNavigableMap(java.util.NavigableMap<K, ? extends V> arg0)
- =
  public static <T> java.util.NavigableSet<T> unmodifiableNavigableSet(java.util.NavigableSet<T> arg0)
- =
  public static <T> java.util.SequencedCollection<T> unmodifiableSequencedCollection(java.util.SequencedCollection<? extends T> arg0)
- =
  public static <K, V> java.util.SequencedMap<K, V> unmodifiableSequencedMap(java.util.SequencedMap<? extends K, ? extends V> arg0)
- =
  public static <T> java.util.SequencedSet<T> unmodifiableSequencedSet(java.util.SequencedSet<? extends T> arg0)
- =
  public static <T> java.util.Set<T> unmodifiableSet(java.util.Set<? extends T> arg0)
- =
  public static <K, V> java.util.SortedMap<K, V> unmodifiableSortedMap(java.util.SortedMap<K, ? extends V> arg0)
- =
  public static <T> java.util.SortedSet<T> unmodifiableSortedSet(java.util.SortedSet<T> arg0)

## Summary

No differences.