[all packages] [package java.util] [class hierarchy] [index]

pure interface of class java.util.Collections

The documentated page.
public class Collections
{
    public static <A> void sort(List<A> list);
    public static <A> void sort(List<A> list,
                                Comparator<A> c);
    public static <A> int binarySearch(List<A> list,
                                       A key);
    public static <A> int binarySearch(List<A> list,
                                       A key,
                                       Comparator<A> c);
    public static <A> A min(Collection<A> coll);
    public static <A> A min(Collection<A> coll,
                            Comparator<A> comp);
    public static <A> A max(Collection<A> coll);
    public static <A> A max(Collection<A> coll,
                            Comparator<A> comp);
    public static <A> List<A> subList(List<A> list,
                                      int fromIndex,
                                      int toIndex);
    static class SubList<A>
      extends AbstractList<A>
    public static <A> Collection<A> unmodifiableCollection(Collection<A> c);
    static class UnmodifiableCollection<A>
      implements Collection<A>, Serializable
    public static <A> Set<A> unmodifiableSet(Set<A> s);
    static class UnmodifiableSet<A>
      extends UnmodifiableCollection<A>
      implements Set<A>, Serializable
    public static <A> SortedSet<A> unmodifiableSortedSet(SortedSet<A> s);
    static class UnmodifiableSortedSet<A>
      extends UnmodifiableSet<A>
      implements SortedSet<A>, Serializable
    public static <A> List<A> unmodifiableList(List<A> list);
    static class UnmodifiableList<A>
      extends UnmodifiableCollection<A>
      implements List<A>
    public static <A, B> Map<A, B> unmodifiableMap(Map<A, B> m);
    private static class UnmodifiableMap<A, B>
      implements Map<A, B>, Serializable
    public static <A, B> SortedMap<A, B> unmodifiableSortedMap(SortedMap<A, B> m);
    static class UnmodifiableSortedMap<A, B>
      extends UnmodifiableMap<A, B>
      implements SortedMap<A, B>, Serializable
    public static <A> Collection<A> synchronizedCollection(Collection<A> c);
    static class SynchronizedCollection<A>
      implements Collection<A>, Serializable
    public static <A> Set<A> synchronizedSet(Set<A> s);
    static class SynchronizedSet<A>
      extends SynchronizedCollection<A>
      implements Set<A>
    public static <A> SortedSet<A> synchronizedSortedSet(SortedSet<A> s);
    static class SynchronizedSortedSet<A>
      extends SynchronizedSet<A>
      implements SortedSet<A>
    public static <A> List<A> synchronizedList(List<A> list);
    static class SynchronizedList<A>
      extends SynchronizedCollection<A>
      implements List<A>
    public static <A, B> Map<A, B> synchronizedMap(Map<A, B> m);
    private static class SynchronizedMap<A, B>
      implements Map<A, B>
    public static <A, B> SortedMap<A, B> synchronizedSortedMap(SortedMap<A, B> m);
    static class SynchronizedSortedMap<A, B>
      extends SynchronizedMap<A, B>
      implements SortedMap<A, B>
    public static <A> List<A> nCopies(int n,
                                      A o);
    public static final Comparator<A> REVERSE_ORDER;
    private static class ReverseComparator
      implements Comparator<A>, Serializable
    public static Enumeration enumeration(Collection<A> c);
    public Collections();
}

[all packages] [package java.util] [class hierarchy] [index]
java.util.Collections.interface.html