/* * Copyright (C) 2014 The Android Open Source Project * Copyright (c) 1997, 2023, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 only, as * published by the Free Software Foundation. Oracle designates this * particular file as subject to the "Classpath" exception as provided * by Oracle in the LICENSE file that accompanied this code. * * This code is distributed in the hope that it will be useful, but WITHOUT * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License * version 2 for more details (a copy is included in the LICENSE file that * accompanied this code). * * You should have received a copy of the GNU General Public License version * 2 along with this work; if not, write to the Free Software Foundation, * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. * * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA * or visit www.oracle.com if you need additional information or have any * questions. */ package java.util; @SuppressWarnings({"unchecked", "deprecation", "all"}) public class Collections { Collections() { throw new RuntimeException("Stub!"); } public static > void sort(java.util.List list) { throw new RuntimeException("Stub!"); } public static void sort(java.util.List list, java.util.Comparator c) { throw new RuntimeException("Stub!"); } public static int binarySearch(java.util.List> list, T key) { throw new RuntimeException("Stub!"); } public static int binarySearch(java.util.List list, T key, java.util.Comparator c) { throw new RuntimeException("Stub!"); } public static void reverse(java.util.List list) { throw new RuntimeException("Stub!"); } public static void shuffle(java.util.List list) { throw new RuntimeException("Stub!"); } public static void shuffle(java.util.List list, java.util.Random rnd) { throw new RuntimeException("Stub!"); } public static void shuffle(java.util.List list, java.util.random.RandomGenerator rnd) { throw new RuntimeException("Stub!"); } public static void swap(java.util.List list, int i, int j) { throw new RuntimeException("Stub!"); } public static void fill(java.util.List list, T obj) { throw new RuntimeException("Stub!"); } public static void copy(java.util.List dest, java.util.List src) { throw new RuntimeException("Stub!"); } public static > T min(java.util.Collection coll) { throw new RuntimeException("Stub!"); } public static T min(java.util.Collection coll, java.util.Comparator comp) { throw new RuntimeException("Stub!"); } public static > T max(java.util.Collection coll) { throw new RuntimeException("Stub!"); } public static T max(java.util.Collection coll, java.util.Comparator comp) { throw new RuntimeException("Stub!"); } public static void rotate(java.util.List list, int distance) { throw new RuntimeException("Stub!"); } public static boolean replaceAll(java.util.List list, T oldVal, T newVal) { throw new RuntimeException("Stub!"); } public static int indexOfSubList(java.util.List source, java.util.List target) { throw new RuntimeException("Stub!"); } public static int lastIndexOfSubList(java.util.List source, java.util.List target) { throw new RuntimeException("Stub!"); } public static java.util.Collection unmodifiableCollection(java.util.Collection c) { throw new RuntimeException("Stub!"); } public static java.util.SequencedCollection unmodifiableSequencedCollection(java.util.SequencedCollection c) { throw new RuntimeException("Stub!"); } public static java.util.Set unmodifiableSet(java.util.Set s) { throw new RuntimeException("Stub!"); } public static java.util.SequencedSet unmodifiableSequencedSet(java.util.SequencedSet s) { throw new RuntimeException("Stub!"); } public static java.util.SortedSet unmodifiableSortedSet(java.util.SortedSet s) { throw new RuntimeException("Stub!"); } public static java.util.NavigableSet unmodifiableNavigableSet(java.util.NavigableSet s) { throw new RuntimeException("Stub!"); } public static java.util.List unmodifiableList(java.util.List list) { throw new RuntimeException("Stub!"); } public static java.util.Map unmodifiableMap(java.util.Map m) { throw new RuntimeException("Stub!"); } public static java.util.SequencedMap unmodifiableSequencedMap(java.util.SequencedMap m) { throw new RuntimeException("Stub!"); } public static java.util.SortedMap unmodifiableSortedMap(java.util.SortedMap m) { throw new RuntimeException("Stub!"); } public static java.util.NavigableMap unmodifiableNavigableMap(java.util.NavigableMap m) { throw new RuntimeException("Stub!"); } public static java.util.Collection synchronizedCollection(java.util.Collection c) { throw new RuntimeException("Stub!"); } public static java.util.Set synchronizedSet(java.util.Set s) { throw new RuntimeException("Stub!"); } public static java.util.SortedSet synchronizedSortedSet(java.util.SortedSet s) { throw new RuntimeException("Stub!"); } public static java.util.NavigableSet synchronizedNavigableSet(java.util.NavigableSet s) { throw new RuntimeException("Stub!"); } public static java.util.List synchronizedList(java.util.List list) { throw new RuntimeException("Stub!"); } public static java.util.Map synchronizedMap(java.util.Map m) { throw new RuntimeException("Stub!"); } public static java.util.SortedMap synchronizedSortedMap(java.util.SortedMap m) { throw new RuntimeException("Stub!"); } public static java.util.NavigableMap synchronizedNavigableMap(java.util.NavigableMap m) { throw new RuntimeException("Stub!"); } public static java.util.Collection checkedCollection(java.util.Collection c, java.lang.Class type) { throw new RuntimeException("Stub!"); } public static java.util.Queue checkedQueue(java.util.Queue queue, java.lang.Class type) { throw new RuntimeException("Stub!"); } public static java.util.Set checkedSet(java.util.Set s, java.lang.Class type) { throw new RuntimeException("Stub!"); } public static java.util.SortedSet checkedSortedSet(java.util.SortedSet s, java.lang.Class type) { throw new RuntimeException("Stub!"); } public static java.util.NavigableSet checkedNavigableSet(java.util.NavigableSet s, java.lang.Class type) { throw new RuntimeException("Stub!"); } public static java.util.List checkedList(java.util.List list, java.lang.Class type) { throw new RuntimeException("Stub!"); } public static java.util.Map checkedMap(java.util.Map m, java.lang.Class keyType, java.lang.Class valueType) { throw new RuntimeException("Stub!"); } public static java.util.SortedMap checkedSortedMap(java.util.SortedMap m, java.lang.Class keyType, java.lang.Class valueType) { throw new RuntimeException("Stub!"); } public static java.util.NavigableMap checkedNavigableMap(java.util.NavigableMap m, java.lang.Class keyType, java.lang.Class valueType) { throw new RuntimeException("Stub!"); } public static java.util.Iterator emptyIterator() { throw new RuntimeException("Stub!"); } public static java.util.ListIterator emptyListIterator() { throw new RuntimeException("Stub!"); } public static java.util.Enumeration emptyEnumeration() { throw new RuntimeException("Stub!"); } public static final java.util.Set emptySet() { throw new RuntimeException("Stub!"); } public static java.util.SortedSet emptySortedSet() { throw new RuntimeException("Stub!"); } public static java.util.NavigableSet emptyNavigableSet() { throw new RuntimeException("Stub!"); } public static final java.util.List emptyList() { throw new RuntimeException("Stub!"); } public static final java.util.Map emptyMap() { throw new RuntimeException("Stub!"); } public static final java.util.SortedMap emptySortedMap() { throw new RuntimeException("Stub!"); } public static final java.util.NavigableMap emptyNavigableMap() { throw new RuntimeException("Stub!"); } public static java.util.Set singleton(T o) { throw new RuntimeException("Stub!"); } public static java.util.List singletonList(T o) { throw new RuntimeException("Stub!"); } public static java.util.Map singletonMap(K key, V value) { throw new RuntimeException("Stub!"); } public static java.util.List nCopies(int n, T o) { throw new RuntimeException("Stub!"); } public static java.util.Comparator reverseOrder() { throw new RuntimeException("Stub!"); } public static java.util.Comparator reverseOrder(java.util.Comparator cmp) { throw new RuntimeException("Stub!"); } public static java.util.Enumeration enumeration(java.util.Collection c) { throw new RuntimeException("Stub!"); } public static java.util.ArrayList list(java.util.Enumeration e) { throw new RuntimeException("Stub!"); } public static int frequency(java.util.Collection c, java.lang.Object o) { throw new RuntimeException("Stub!"); } public static boolean disjoint(java.util.Collection c1, java.util.Collection c2) { throw new RuntimeException("Stub!"); } @java.lang.SafeVarargs public static boolean addAll(java.util.Collection c, T... elements) { throw new RuntimeException("Stub!"); } public static java.util.Set newSetFromMap(java.util.Map map) { throw new RuntimeException("Stub!"); } public static java.util.SequencedSet newSequencedSetFromMap(java.util.SequencedMap map) { throw new RuntimeException("Stub!"); } public static java.util.Queue asLifoQueue(java.util.Deque deque) { throw new RuntimeException("Stub!"); } public static final java.util.List EMPTY_LIST; static { EMPTY_LIST = null; } public static final java.util.Map EMPTY_MAP; static { EMPTY_MAP = null; } public static final java.util.Set EMPTY_SET; static { EMPTY_SET = null; } }