| java.lang.Object java.util.Collections
Collections | public class Collections (Code) | | |
Inner Class :static class SynchronizedList extends SynchronizedCollection implements List | |
Inner Class :static class SynchronizedSet extends SynchronizedCollection implements Set | |
Method Summary | |
public static int | binarySearch(List l, Object key) | public static int | binarySearch(List l, Object key, Comparator c) | final static int | compare(Object o1, Object o2, Comparator c) | public static void | copy(List dest, List source) | public static Enumeration | enumeration(Collection c) | public static void | fill(List l, Object val) | public static int | indexOfSubList(List source, List target) | public static int | lastIndexOfSubList(List source, List target) | public static ArrayList | list(Enumeration e) | public static Object | max(Collection c) | public static Object | max(Collection c, Comparator order) | public static Object | min(Collection c) | public static Object | min(Collection c, Comparator order) | public static List | nCopies(int n, Object o) | public static boolean | replaceAll(List list, Object oldval, Object newval) | public static void | reverse(List l) | public static Comparator | reverseOrder() | public static void | rotate(List list, int distance) | public static void | shuffle(List l) | public static void | shuffle(List l, Random r) | public static Set | singleton(Object o) | public static List | singletonList(Object o) | public static Map | singletonMap(Object key, Object value) | public static void | sort(List l) | public static void | sort(List l, Comparator c) | public static void | swap(List l, int i, int j) | public static Collection | synchronizedCollection(Collection c) | public static List | synchronizedList(List l) | public static Map | synchronizedMap(Map m) | public static Set | synchronizedSet(Set s) | public static SortedMap | synchronizedSortedMap(SortedMap m) | public static SortedSet | synchronizedSortedSet(SortedSet s) | public static Collection | unmodifiableCollection(Collection c) | public static List | unmodifiableList(List l) | public static Map | unmodifiableMap(Map m) | public static Set | unmodifiableSet(Set s) | public static SortedMap | unmodifiableSortedMap(SortedMap m) | public static SortedSet | unmodifiableSortedSet(SortedSet s) |
EMPTY_LIST | final public static List EMPTY_LIST(Code) | | |
EMPTY_MAP | final public static Map EMPTY_MAP(Code) | | |
EMPTY_SET | final public static Set EMPTY_SET(Code) | | |
indexOfSubList | public static int indexOfSubList(List source, List target)(Code) | | |
lastIndexOfSubList | public static int lastIndexOfSubList(List source, List target)(Code) | | |
rotate | public static void rotate(List list, int distance)(Code) | | |
swap | public static void swap(List l, int i, int j)(Code) | | |
synchronizedMap | public static Map synchronizedMap(Map m)(Code) | | |
synchronizedSet | public static Set synchronizedSet(Set s)(Code) | | |
unmodifiableMap | public static Map unmodifiableMap(Map m)(Code) | | |
unmodifiableSet | public static Set unmodifiableSet(Set s)(Code) | | |
|
|