/libcore/ojluni/annotations/flagged_api/java/util/ |
D | List.annotated.java | 30 public interface List<E> extends java.util.SequencedCollection<E>, java.util.Collection<E> { 38 public java.util.Iterator<E> iterator(); in iterator() 44 public boolean add(E e); in add() 50 public boolean addAll(java.util.Collection<? extends E> c); in addAll() 52 public boolean addAll(int index, java.util.Collection<? extends E> c); in addAll() 58 public default void replaceAll(java.util.function.UnaryOperator<E> operator) { throw new RuntimeExc… in replaceAll() 60 public default void sort(java.util.Comparator<? super E> c) { throw new RuntimeException("Stub!"); } in sort() 68 public E get(int index); in get() 70 public E set(int index, E element); in set() 72 public void add(int index, E element); in add() [all …]
|
D | NavigableSet.annotated.java | 44 public interface NavigableSet<E> extends java.util.SortedSet<E> { 46 public E lower(E e); in lower() 48 public E floor(E e); in floor() 50 public E ceiling(E e); in ceiling() 52 public E higher(E e); in higher() 54 public E pollFirst(); in pollFirst() 56 public E pollLast(); in pollLast() 59 public java.util.Iterator<E> iterator(); in iterator() 61 public java.util.NavigableSet<E> descendingSet(); in descendingSet() 63 public java.util.Iterator<E> descendingIterator(); in descendingIterator() [all …]
|
D | TreeSet.annotated.java | 30 public class TreeSet<E> extends java.util.AbstractSet<E> implements java.util.NavigableSet<E>, java… 34 public TreeSet(java.util.Comparator<? super E> comparator) { throw new RuntimeException("Stub!"); } in TreeSet() 36 public TreeSet(java.util.Collection<? extends E> c) { throw new RuntimeException("Stub!"); } in TreeSet() 38 public TreeSet(java.util.SortedSet<E> s) { throw new RuntimeException("Stub!"); } in TreeSet() 40 public java.util.Iterator<E> iterator() { throw new RuntimeException("Stub!"); } in iterator() 42 public java.util.Iterator<E> descendingIterator() { throw new RuntimeException("Stub!"); } in descendingIterator() 44 public java.util.NavigableSet<E> descendingSet() { throw new RuntimeException("Stub!"); } in descendingSet() 52 public boolean add(E e) { throw new RuntimeException("Stub!"); } in add() 58 public boolean addAll(java.util.Collection<? extends E> c) { throw new RuntimeException("Stub!"); } in addAll() 60 public java.util.NavigableSet<E> subSet(E fromElement, boolean fromInclusive, E toElement, boolean … in subSet() [all …]
|
D | Deque.annotated.java | 40 public interface Deque<E> extends java.util.Queue<E>, java.util.SequencedCollection<E> { 42 public void addFirst(E e); in addFirst() 44 public void addLast(E e); in addLast() 46 public boolean offerFirst(E e); in offerFirst() 48 public boolean offerLast(E e); in offerLast() 50 public E removeFirst(); in removeFirst() 52 public E removeLast(); in removeLast() 54 public E pollFirst(); in pollFirst() 56 public E pollLast(); in pollLast() 58 public E getFirst(); in getFirst() [all …]
|
D | LinkedList.annotated.java | 30 public class LinkedList<E> extends java.util.AbstractSequentialList<E> implements java.util.List<E>… 34 public LinkedList(java.util.Collection<? extends E> c) { throw new RuntimeException("Stub!"); } in LinkedList() 36 public E getFirst() { throw new RuntimeException("Stub!"); } in getFirst() 38 public E getLast() { throw new RuntimeException("Stub!"); } in getLast() 40 public E removeFirst() { throw new RuntimeException("Stub!"); } in removeFirst() 42 public E removeLast() { throw new RuntimeException("Stub!"); } in removeLast() 44 public void addFirst(E e) { throw new RuntimeException("Stub!"); } in addFirst() 46 public void addLast(E e) { throw new RuntimeException("Stub!"); } in addLast() 52 public boolean add(E e) { throw new RuntimeException("Stub!"); } in add() 56 public boolean addAll(java.util.Collection<? extends E> c) { throw new RuntimeException("Stub!"); } in addAll() [all …]
|
D | SortedSet.annotated.java | 30 public interface SortedSet<E> extends java.util.Set<E>, java.util.SequencedSet<E> { 32 public java.util.Comparator<? super E> comparator(); in comparator() 34 public java.util.SortedSet<E> subSet(E fromElement, E toElement); in subSet() 36 public java.util.SortedSet<E> headSet(E toElement); in headSet() 38 public java.util.SortedSet<E> tailSet(E fromElement); in tailSet() 40 public E first(); in first() 42 public E last(); in last() 45 public default java.util.Spliterator<E> spliterator() { throw new RuntimeException("Stub!"); } in spliterator() 47 public default void addFirst(E e) { throw new RuntimeException("Stub!"); } in addFirst() 49 public default void addLast(E e) { throw new RuntimeException("Stub!"); } in addLast() [all …]
|
/libcore/ojluni/src/main/java/java/util/ |
D | Set.java | 115 public interface Set<E> extends Collection<E> { 158 Iterator<E> iterator(); in iterator() 255 boolean add(E e); in add() 327 boolean addAll(Collection<? extends E> c); in addAll() 440 default Spliterator<E> spliterator() { in spliterator() 454 static <E> Set<E> of() { in of() 455 return (Set<E>) ImmutableCollections.EMPTY_SET; in of() 469 static <E> Set<E> of(E e1) { in of() 486 static <E> Set<E> of(E e1, E e2) { in of() 504 static <E> Set<E> of(E e1, E e2, E e3) { in of() [all …]
|
D | List.java | 138 public interface List<E> extends SequencedCollection<E>, Collection<E> { 179 Iterator<E> iterator(); in iterator() 265 boolean add(E e); in add() 334 boolean addAll(Collection<? extends E> c); in addAll() 363 boolean addAll(int index, Collection<? extends E> c); in addAll() 436 default void replaceAll(UnaryOperator<E> operator) { in replaceAll() 438 final ListIterator<E> li = this.listIterator(); in replaceAll() 526 default void sort(Comparator<? super E> c) { in sort() 529 ListIterator<E> i = this.listIterator(); in sort() 532 i.set((E) e); in sort() [all …]
|
D | EnumSet.java | 80 public abstract class EnumSet<E extends Enum<E>> extends AbstractSet<E> 90 final transient Class<E> elementType; 97 EnumSet(Class<E>elementType, Enum<?>[] universe) { in EnumSet() 111 public static <E extends Enum<E>> EnumSet<E> noneOf(Class<E> elementType) { in noneOf() 132 public static <E extends Enum<E>> EnumSet<E> allOf(Class<E> elementType) { in allOf() 133 EnumSet<E> result = noneOf(elementType); in allOf() 153 public static <E extends Enum<E>> EnumSet<E> copyOf(EnumSet<E> s) { in copyOf() 171 public static <E extends Enum<E>> EnumSet<E> copyOf(Collection<E> c) { in copyOf() 173 return ((EnumSet<E>)c).clone(); in copyOf() 177 Iterator<E> i = c.iterator(); in copyOf() [all …]
|
D | NavigableSet.java | 90 public interface NavigableSet<E> extends SortedSet<E> { 103 E lower(E e); in lower() 117 E floor(E e); in floor() 131 E ceiling(E e); in ceiling() 145 E higher(E e); in higher() 153 E pollFirst(); in pollFirst() 161 E pollLast(); in pollLast() 168 Iterator<E> iterator(); in iterator() 185 NavigableSet<E> descendingSet(); in descendingSet() 193 Iterator<E> descendingIterator(); in descendingIterator() [all …]
|
D | Deque.java | 201 public interface Deque<E> extends Queue<E>, SequencedCollection<E> { 221 void addFirst(E e); in addFirst() 242 void addLast(E e); in addLast() 260 boolean offerFirst(E e); in offerFirst() 278 boolean offerLast(E e); in offerLast() 288 E removeFirst(); in removeFirst() 298 E removeLast(); in removeLast() 306 E pollFirst(); in pollFirst() 314 E pollLast(); in pollLast() 325 E getFirst(); in getFirst() [all …]
|
D | TreeSet.java | 96 public class TreeSet<E> extends AbstractSet<E> 97 implements NavigableSet<E>, Cloneable, java.io.Serializable 102 private transient NavigableMap<E,Object> m; 110 TreeSet(NavigableMap<E,Object> m) { in TreeSet() argument 144 public TreeSet(Comparator<? super E> comparator) { in TreeSet() 162 public TreeSet(Collection<? extends E> c) { in TreeSet() 174 public TreeSet(SortedSet<E> s) { in TreeSet() 184 public Iterator<E> iterator() { in iterator() 194 public Iterator<E> descendingIterator() { in descendingIterator() 201 public NavigableSet<E> descendingSet() { in descendingSet() [all …]
|
D | SortedSet.java | 108 public interface SortedSet<E> extends Set<E>, SequencedSet<E> { 118 Comparator<? super E> comparator(); in comparator() 151 SortedSet<E> subSet(E fromElement, E toElement); in subSet() 178 SortedSet<E> headSet(E toElement); in headSet() 205 SortedSet<E> tailSet(E fromElement); in tailSet() 213 E first(); in first() 221 E last(); in last() 255 default Spliterator<E> spliterator() { in spliterator() 256 return new Spliterators.IteratorSpliterator<E>( in spliterator() 259 public Comparator<? super E> getComparator() { in spliterator() [all …]
|
D | LinkedList.java | 90 public class LinkedList<E> 91 extends AbstractSequentialList<E> 92 implements List<E>, Deque<E>, Cloneable, java.io.Serializable 99 transient Node<E> first; 104 transient Node<E> last; 128 public LinkedList(Collection<? extends E> c) { in LinkedList() 136 private void linkFirst(E e) { in linkFirst() 137 final Node<E> f = first; in linkFirst() 138 final Node<E> newNode = new Node<>(null, e, f); in linkFirst() 151 void linkLast(E e) { in linkLast() [all …]
|
D | ReverseOrderSortedSetView.java | 37 class ReverseOrderSortedSetView<E> implements SortedSet<E> { 38 final SortedSet<E> base; 39 final Comparator<? super E> comp; 41 private ReverseOrderSortedSetView(SortedSet<E> set) { in ReverseOrderSortedSetView() 76 Iterator<E> i = iterator(); in hashCode() 78 E obj = i.next(); in hashCode() 87 Iterator<E> it = iterator(); in toString() 94 E e = it.next(); in toString() 104 public void forEach(Consumer<? super E> action) { in forEach() 105 for (E e : this) in forEach() [all …]
|
/libcore/ojluni/annotations/hiddenapi/java/util/ |
D | EnumSet.java | 32 public abstract class EnumSet<E extends java.lang.Enum<E>> extends java.util.AbstractSet<E> 35 EnumSet(java.lang.Class<E> elementType, java.lang.Enum<?>[] universe) { in EnumSet() 39 public static <E extends java.lang.Enum<E>> java.util.EnumSet<E> noneOf( in noneOf() 40 java.lang.Class<E> elementType) { in noneOf() 44 public static <E extends java.lang.Enum<E>> java.util.EnumSet<E> allOf( in allOf() 45 java.lang.Class<E> elementType) { in allOf() 51 public static <E extends java.lang.Enum<E>> java.util.EnumSet<E> copyOf( in copyOf() 52 java.util.EnumSet<E> s) { in copyOf() 56 public static <E extends java.lang.Enum<E>> java.util.EnumSet<E> copyOf( in copyOf() 57 java.util.Collection<E> c) { in copyOf() [all …]
|
D | LinkedList.java | 31 public class LinkedList<E> extends java.util.AbstractSequentialList<E> 32 implements java.util.List<E>, 33 java.util.Deque<E>, 41 public LinkedList(java.util.Collection<? extends E> c) { in LinkedList() 45 private void linkFirst(E e) { in linkFirst() 49 void linkLast(E e) { in linkLast() 53 void linkBefore(E e, java.util.LinkedList.Node<E> succ) { in linkBefore() 57 private E unlinkFirst(java.util.LinkedList.Node<E> f) { in unlinkFirst() 61 private E unlinkLast(java.util.LinkedList.Node<E> l) { in unlinkLast() 65 E unlink(java.util.LinkedList.Node<E> x) { in unlink() [all …]
|
D | ArrayDeque.java | 40 public class ArrayDeque<E> extends java.util.AbstractCollection<E> 41 implements java.util.Deque<E>, java.lang.Cloneable, java.io.Serializable { 51 public ArrayDeque(java.util.Collection<? extends E> c) { in ArrayDeque() 63 public void addFirst(E e) { in addFirst() 67 public void addLast(E e) { in addLast() 71 public boolean offerFirst(E e) { in offerFirst() 75 public boolean offerLast(E e) { in offerLast() 79 public E removeFirst() { in removeFirst() 83 public E removeLast() { in removeLast() 87 public E pollFirst() { in pollFirst() [all …]
|
/libcore/ojluni/annotations/sdk/nullability/java/util/ |
D | Set.annotated.java | 31 public interface Set<E> extends java.util.Collection<E> { 39 @libcore.util.NonNull public java.util.Iterator<@libcore.util.NullFromTypeParam E> iterator(); in iterator() 46 public boolean add(@libcore.util.NullFromTypeParam E e); in add() 52 … addAll(@libcore.util.NonNull java.util.Collection<? extends @libcore.util.NullFromTypeParam E> c); in addAll() 64 @libcore.util.NonNull public default java.util.Spliterator<@libcore.util.NullFromTypeParam E> split… in spliterator() 66 @libcore.util.NonNull public static <E> java.util.Set<@libcore.util.NonNull E> of() { throw new Run… in of() 68 @libcore.util.NonNull public static <E> java.util.Set<@libcore.util.NonNull E> of(@libcore.util.Non… in of() 70 …util.NonNull public static <E> java.util.Set<@libcore.util.NonNull E> of(@libcore.util.NonNull E e… in of() 72 …ublic static <E> java.util.Set<@libcore.util.NonNull E> of(@libcore.util.NonNull E e1, @libcore.ut… in of() 74 …E> java.util.Set<@libcore.util.NonNull E> of(@libcore.util.NonNull E e1, @libcore.util.NonNull E e… in of() [all …]
|
D | List.annotated.java | 31 public interface List<E> extends java.util.Collection<E> { 39 @libcore.util.NonNull public java.util.Iterator<@libcore.util.NullFromTypeParam E> iterator(); in iterator() 46 public boolean add(@libcore.util.NullFromTypeParam E e); in add() 52 … addAll(@libcore.util.NonNull java.util.Collection<? extends @libcore.util.NullFromTypeParam E> c); in addAll() 54 … index, @libcore.util.NonNull java.util.Collection<? extends @libcore.util.NullFromTypeParam E> c); in addAll() 60 …il.NonNull java.util.function.UnaryOperator<@libcore.util.NullFromTypeParam E> operator) { throw n… in replaceAll() 62 ….util.Nullable java.util.Comparator<? super @libcore.util.NullFromTypeParam E> c) { throw new Runt… in sort() 70 @libcore.util.NullFromTypeParam public E get(int index); in get() 72 @libcore.util.NullFromTypeParam public E set(int index, @libcore.util.NullFromTypeParam E element); in set() 74 public void add(int index, @libcore.util.NullFromTypeParam E element); in add() [all …]
|
/libcore/ojluni/annotations/hiddenapi/java/util/concurrent/ |
D | LinkedBlockingDeque.java | 41 public class LinkedBlockingDeque<E> extends java.util.AbstractQueue<E> 42 implements java.util.concurrent.BlockingDeque<E>, java.io.Serializable { 52 public LinkedBlockingDeque(java.util.Collection<? extends E> c) { in LinkedBlockingDeque() 56 private boolean linkFirst(Node<E> node) { in linkFirst() 60 private boolean linkLast(Node<E> node) { in linkLast() 64 private E unlinkFirst() { in unlinkFirst() 68 private E unlinkLast() { in unlinkLast() 72 void unlink(Node<E> x) { in unlink() 76 public void addFirst(E e) { in addFirst() 80 public void addLast(E e) { in addLast() [all …]
|
/libcore/ojluni/src/main/java/java/util/concurrent/ |
D | ConcurrentSkipListSet.java | 95 public class ConcurrentSkipListSet<E> 96 extends AbstractSet<E> 97 implements NavigableSet<E>, Cloneable, java.io.Serializable { 107 private final ConcurrentNavigableMap<E,Object> m; 114 m = new ConcurrentSkipListMap<E,Object>(); in ConcurrentSkipListSet() 125 public ConcurrentSkipListSet(Comparator<? super E> comparator) { in ConcurrentSkipListSet() 126 m = new ConcurrentSkipListMap<E,Object>(comparator); in ConcurrentSkipListSet() 140 public ConcurrentSkipListSet(Collection<? extends E> c) { in ConcurrentSkipListSet() 141 m = new ConcurrentSkipListMap<E,Object>(); in ConcurrentSkipListSet() 153 public ConcurrentSkipListSet(SortedSet<E> s) { in ConcurrentSkipListSet() [all …]
|
D | BlockingDeque.java | 198 public interface BlockingDeque<E> extends BlockingQueue<E>, Deque<E> { 219 void addFirst(E e); in addFirst() 234 void addLast(E e); in addLast() 250 boolean offerFirst(E e); in offerFirst() 266 boolean offerLast(E e); in offerLast() 280 void putFirst(E e) throws InterruptedException; in putFirst() 294 void putLast(E e) throws InterruptedException; in putLast() 315 boolean offerFirst(E e, long timeout, TimeUnit unit) in offerFirst() 337 boolean offerLast(E e, long timeout, TimeUnit unit) in offerLast() 347 E takeFirst() throws InterruptedException; in takeFirst() [all …]
|
/libcore/ojluni/annotations/flagged_api/java/util/concurrent/ |
D | ConcurrentSkipListSet.annotated.java | 40 public class ConcurrentSkipListSet<E> extends java.util.AbstractSet<E> implements java.util.Navigab… 44 public ConcurrentSkipListSet(java.util.Comparator<? super E> comparator) { throw new RuntimeExcepti… in ConcurrentSkipListSet() 46 public ConcurrentSkipListSet(java.util.Collection<? extends E> c) { throw new RuntimeException("Stu… in ConcurrentSkipListSet() 48 public ConcurrentSkipListSet(java.util.SortedSet<E> s) { throw new RuntimeException("Stub!"); } in ConcurrentSkipListSet() 50 public java.util.concurrent.ConcurrentSkipListSet<E> clone() { throw new RuntimeException("Stub!");… in clone() 58 public boolean add(E e) { throw new RuntimeException("Stub!"); } in add() 64 public java.util.Iterator<E> iterator() { throw new RuntimeException("Stub!"); } in iterator() 66 public java.util.Iterator<E> descendingIterator() { throw new RuntimeException("Stub!"); } in descendingIterator() 72 public E lower(E e) { throw new RuntimeException("Stub!"); } in lower() 74 public E floor(E e) { throw new RuntimeException("Stub!"); } in floor() [all …]
|
/libcore/ojluni/src/main/java/java/util/concurrent/atomic/ |
D | AtomicReferenceArray.java | 54 public class AtomicReferenceArray<E> implements java.io.Serializable { 78 public AtomicReferenceArray(E[] array) { in AtomicReferenceArray() 100 public final E get(int i) { in get() 101 return (E)AA.getVolatile(array, i); in get() 111 public final void set(int i, E newValue) { in set() 123 public final void lazySet(int i, E newValue) { in lazySet() 137 public final E getAndSet(int i, E newValue) { in getAndSet() 138 return (E)AA.getAndSet(array, i, newValue); in getAndSet() 152 public final boolean compareAndSet(int i, E expectedValue, E newValue) { in compareAndSet() 174 public final boolean weakCompareAndSet(int i, E expectedValue, E newValue) { in weakCompareAndSet() [all …]
|