• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 /*
2  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
3  *
4  * This code is free software; you can redistribute it and/or modify it
5  * under the terms of the GNU General Public License version 2 only, as
6  * published by the Free Software Foundation.  Oracle designates this
7  * particular file as subject to the "Classpath" exception as provided
8  * by Oracle in the LICENSE file that accompanied this code.
9  *
10  * This code is distributed in the hope that it will be useful, but WITHOUT
11  * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
12  * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
13  * version 2 for more details (a copy is included in the LICENSE file that
14  * accompanied this code).
15  *
16  * You should have received a copy of the GNU General Public License version
17  * 2 along with this work; if not, write to the Free Software Foundation,
18  * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
19  *
20  * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
21  * or visit www.oracle.com if you need additional information or have any
22  * questions.
23  */
24 
25 /*
26  * This file is available under and governed by the GNU General Public
27  * License version 2 only, as published by the Free Software Foundation.
28  * However, the following notice accompanied the original version of this
29  * file:
30  *
31  * Written by Josh Bloch of Google Inc. and released to the public domain,
32  * as explained at http://creativecommons.org/publicdomain/zero/1.0/.
33  */
34 
35 
36 package java.util;
37 
38 
39 @SuppressWarnings({"unchecked", "deprecation", "all"})
40 public class ArrayDeque<@libcore.util.NonNull E> extends java.util.AbstractCollection<E> implements java.util.Deque<E>, java.lang.Cloneable, java.io.Serializable {
41 
ArrayDeque()42 public ArrayDeque() { throw new RuntimeException("Stub!"); }
43 
ArrayDeque(int numElements)44 public ArrayDeque(int numElements) { throw new RuntimeException("Stub!"); }
45 
ArrayDeque(@ibcore.util.NonNull java.util.Collection<? extends @libcore.util.NullFromTypeParam E> c)46 public ArrayDeque(@libcore.util.NonNull java.util.Collection<? extends @libcore.util.NullFromTypeParam E> c) { throw new RuntimeException("Stub!"); }
47 
addFirst(@ibcore.util.NullFromTypeParam E e)48 public void addFirst(@libcore.util.NullFromTypeParam E e) { throw new RuntimeException("Stub!"); }
49 
addLast(@ibcore.util.NullFromTypeParam E e)50 public void addLast(@libcore.util.NullFromTypeParam E e) { throw new RuntimeException("Stub!"); }
51 
offerFirst(@ibcore.util.NullFromTypeParam E e)52 public boolean offerFirst(@libcore.util.NullFromTypeParam E e) { throw new RuntimeException("Stub!"); }
53 
offerLast(@ibcore.util.NullFromTypeParam E e)54 public boolean offerLast(@libcore.util.NullFromTypeParam E e) { throw new RuntimeException("Stub!"); }
55 
removeFirst()56 @libcore.util.NullFromTypeParam public E removeFirst() { throw new RuntimeException("Stub!"); }
57 
removeLast()58 @libcore.util.NullFromTypeParam public E removeLast() { throw new RuntimeException("Stub!"); }
59 
pollFirst()60 @libcore.util.Nullable public E pollFirst() { throw new RuntimeException("Stub!"); }
61 
pollLast()62 @libcore.util.Nullable public E pollLast() { throw new RuntimeException("Stub!"); }
63 
getFirst()64 @libcore.util.NullFromTypeParam public E getFirst() { throw new RuntimeException("Stub!"); }
65 
getLast()66 @libcore.util.NullFromTypeParam public E getLast() { throw new RuntimeException("Stub!"); }
67 
peekFirst()68 @libcore.util.Nullable public E peekFirst() { throw new RuntimeException("Stub!"); }
69 
peekLast()70 @libcore.util.Nullable public E peekLast() { throw new RuntimeException("Stub!"); }
71 
removeFirstOccurrence(@ibcore.util.Nullable java.lang.Object o)72 public boolean removeFirstOccurrence(@libcore.util.Nullable java.lang.Object o) { throw new RuntimeException("Stub!"); }
73 
removeLastOccurrence(@ibcore.util.Nullable java.lang.Object o)74 public boolean removeLastOccurrence(@libcore.util.Nullable java.lang.Object o) { throw new RuntimeException("Stub!"); }
75 
add(@ibcore.util.NullFromTypeParam E e)76 public boolean add(@libcore.util.NullFromTypeParam E e) { throw new RuntimeException("Stub!"); }
77 
offer(@ibcore.util.NullFromTypeParam E e)78 public boolean offer(@libcore.util.NullFromTypeParam E e) { throw new RuntimeException("Stub!"); }
79 
remove()80 @libcore.util.NullFromTypeParam public E remove() { throw new RuntimeException("Stub!"); }
81 
poll()82 @libcore.util.Nullable public E poll() { throw new RuntimeException("Stub!"); }
83 
element()84 @libcore.util.NullFromTypeParam public E element() { throw new RuntimeException("Stub!"); }
85 
peek()86 @libcore.util.Nullable public E peek() { throw new RuntimeException("Stub!"); }
87 
push(@ibcore.util.NullFromTypeParam E e)88 public void push(@libcore.util.NullFromTypeParam E e) { throw new RuntimeException("Stub!"); }
89 
pop()90 @libcore.util.NullFromTypeParam public E pop() { throw new RuntimeException("Stub!"); }
91 
size()92 public int size() { throw new RuntimeException("Stub!"); }
93 
isEmpty()94 public boolean isEmpty() { throw new RuntimeException("Stub!"); }
95 
iterator()96 @libcore.util.NonNull public java.util.Iterator<@libcore.util.NullFromTypeParam E> iterator() { throw new RuntimeException("Stub!"); }
97 
descendingIterator()98 @libcore.util.NonNull public java.util.Iterator<@libcore.util.NullFromTypeParam E> descendingIterator() { throw new RuntimeException("Stub!"); }
99 
contains(@ibcore.util.Nullable java.lang.Object o)100 public boolean contains(@libcore.util.Nullable java.lang.Object o) { throw new RuntimeException("Stub!"); }
101 
remove(@ibcore.util.Nullable java.lang.Object o)102 public boolean remove(@libcore.util.Nullable java.lang.Object o) { throw new RuntimeException("Stub!"); }
103 
clear()104 public void clear() { throw new RuntimeException("Stub!"); }
105 
toArray()106 public java.lang.@libcore.util.Nullable Object @libcore.util.NonNull [] toArray() { throw new RuntimeException("Stub!"); }
107 
toArray(T @ibcore.util.NonNull [] a)108 public <T> T @libcore.util.NonNull [] toArray(T @libcore.util.NonNull [] a) { throw new RuntimeException("Stub!"); }
109 
clone()110 @libcore.util.NonNull public java.util.ArrayDeque<@libcore.util.NullFromTypeParam E> clone() { throw new RuntimeException("Stub!"); }
111 
spliterator()112 @libcore.util.NonNull public java.util.Spliterator<@libcore.util.NullFromTypeParam E> spliterator() { throw new RuntimeException("Stub!"); }
113 }
114