Searched defs:peek (Results 1 - 25 of 31) sorted by relevance

12

/dalvik/libcore/luni/src/main/java/java/util/
H A DQueue.java79 public E peek(); method in interface:Queue
H A DStack.java54 public synchronized E peek() { method in class:Stack
68 * @see #peek
89 * @see #peek
H A DLinkedList.java722 public E peek() { method in class:LinkedList
H A DPriorityQueue.java216 public E peek() { method in class:PriorityQueue
/dalvik/libcore/xml/src/main/java/org/apache/xml/utils/
H A DIntStack.java120 public final int peek() method in class:IntStack
138 public int peek(int n) method in class:IntStack
H A DObjectStack.java123 public Object peek() method in class:ObjectStack
141 public Object peek(int n) method in class:ObjectStack
H A DBoolStack.java142 public final boolean peek() method in class:BoolStack
H A DStringVector.java219 public final String peek() method in class:StringVector
/dalvik/dx/src/com/android/dx/cf/code/
H A DExecutionStack.java175 * {@code n == 0} means to peek at the top of the stack. Note that
179 * @param n {@code >= 0;} which element to peek at
183 public TypeBearer peek(int n) { method in class:ExecutionStack
199 * for {@code peek(n).getType()}.
201 * @see #peek
204 return peek(n).getType();
216 TypeBearer result = peek(0);
/dalvik/libcore/concurrent/src/main/java/java/util/concurrent/
H A DDelayQueue.java110 if (q.peek() == e) {
156 E first = q.peek();
178 E first = q.peek();
200 if (leader == null && q.peek() != null)
222 E first = q.peek();
250 if (leader == null && q.peek() != null)
266 public E peek() { method in class:DelayQueue
270 return q.peek();
302 E first = q.peek();
332 E first = q.peek();
[all...]
H A DPriorityBlockingQueue.java256 public E peek() { method in class:PriorityBlockingQueue
260 return q.peek();
H A DArrayBlockingQueue.java353 public E peek() { method in class:ArrayBlockingQueue
H A DConcurrentLinkedQueue.java312 public E peek() { method in class:ConcurrentLinkedQueue
332 * another variant of poll/peek; here returning out the first
333 * node, not element (so we cannot collapse with peek() without
H A DLinkedBlockingQueue.java434 public E peek() { method in class:LinkedBlockingQueue
H A DScheduledThreadPoolExecutor.java850 public ScheduledFutureTask peek() { method in class:ScheduledThreadPoolExecutor.DelayedWorkQueue
H A DSynchronousQueue.java22 * <tt>peek</tt> at a synchronous queue because an element is only
990 public E peek() { method in class:SynchronousQueue
/dalvik/libcore/concurrent/src/test/java/tests/api/java/util/concurrent/
H A DAbstractQueueTest.java30 public Integer peek() { return one; } method in class:AbstractQueueTest.Succeed
41 public Integer peek() { return null; } method in class:AbstractQueueTest.Fail
101 * element returns normally if peek succeeds
109 * element throws NSEE if peek returns null
/dalvik/libcore/json/src/main/java/org/json/
H A DJSONStringer.java189 Scope context = peek();
205 private Scope peek() throws JSONException { method in class:JSONStringer
384 Scope context = peek();
404 Scope context = peek();
/dalvik/libcore/luni/src/main/java/java/net/
H A DDatagramSocketImpl.java196 protected abstract int peek(InetAddress sender) throws IOException; method in class:DatagramSocketImpl
/dalvik/libcore/luni/src/test/java/tests/api/java/net/
H A DDatagramSocketImplFactoryTest.java212 public int peek(InetAddress arg0) throws IOException { method in class:DatagramSocketImplFactoryTest.TestDatagramSocketImpl
H A DDatagramSocketImplTest.java98 method = "peek",
297 public int peek(InetAddress sender) throws IOException { method in class:MockDatagramSocketImpl
H A DDatagramSocketTest.java340 // PlainDatagramSocketImpl.peek()
1331 protected int peek(InetAddress arg0) throws IOException {
2741 protected int peek(InetAddress arg0) throws IOException { method in class:DatagramSocketTest.TestDatagramSocketImpl
/dalvik/libcore/luni/src/test/java/tests/api/java/util/
H A DAbstractQueueTest.java105 public E peek() { method in class:AbstractQueueTest.MockAbstractQueue
302 assertNull(queue.peek());
319 assertNull(queue.peek());
/dalvik/libcore/luni/src/main/java/org/apache/harmony/luni/net/
H A DPlainDatagramSocketImpl.java228 protected int peek(InetAddress sender) throws IOException { method in class:PlainDatagramSocketImpl
240 .getLength(), receiveTimeout, true); // peek
253 // do not peek
396 .getLength(), receiveTimeout, true); // peek
401 .getLength(), receiveTimeout, true); // peek
/dalvik/libcore/xml/src/main/java/org/apache/xml/serializer/
H A DNamespaceMappings.java143 uri = ((MappingRecord) stack.peek()).m_uri;
154 ((MappingRecord) stack.peek()) : null;
242 MappingRecord mr = (MappingRecord)stack.peek();
271 MappingRecord map = (MappingRecord) (m_nodeStack.peek());
284 MappingRecord nm2 = (MappingRecord) prefixStack.peek();
421 public Object peek() { method in class:NamespaceMappings.Stack
431 public Object peek(int idx) { method in class:NamespaceMappings.Stack

Completed in 283 milliseconds

12