Searched refs:pop (Results 1 - 23 of 23) sorted by relevance

/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/
H A DStackTest.java43 s.pop();
65 s.pop();
66 assertTrue("Peek did not return top item after a pop", s.pop() == item2);
70 s.pop();
71 s.pop();
73 s.pop();
81 * java.util.Stack#pop()
84 // Test for method java.lang.Object java.util.Stack.pop()
92 lastPopped = s.pop();
[all...]
H A DEmptyStackExceptionTest.java35 s.pop();
H A DLinkedListTest.java804 * {@link java.util.LinkedList#pop()}
811 assertEquals(testObjOne, testList.pop());
813 assertEquals(testObjTwo, testList.pop());
814 assertEquals(testObjThree, testList.pop());
818 assertNull(testList.pop());
820 testList.pop();
H A DArrayDequeTest.java530 * {@link java.util.ArrayDeque#pop()}
537 assertEquals(testObjOne, testQue.pop());
539 assertEquals(testObjTwo, testQue.pop());
540 assertEquals(testObjThree, testQue.pop());
543 testQue.pop();
H A DCollectionsTest.java2139 assertEquals(testInt[i], deque.pop());
/libcore/support/src/test/java/tests/util/
H A DCallVerificationStack.java200 public Object pop() { method in class:CallVerificationStack
201 this.callStack.pop();
202 return super.pop();
211 BaseTypeWrapper wrapper = (BaseTypeWrapper) this.pop();
222 BaseTypeWrapper wrapper = (BaseTypeWrapper) this.pop();
233 BaseTypeWrapper wrapper = (BaseTypeWrapper) this.pop();
244 BaseTypeWrapper wrapper = (BaseTypeWrapper) this.pop();
255 BaseTypeWrapper wrapper = (BaseTypeWrapper) this.pop();
266 BaseTypeWrapper wrapper = (BaseTypeWrapper) this.pop();
277 BaseTypeWrapper wrapper = (BaseTypeWrapper) this.pop();
[all...]
/libcore/luni/src/main/java/java/util/
H A DDeque.java126 * <td>{@link #pop pop()}</td>
482 E pop(); method in interface:Deque
H A DStack.java22 * stack of objects. It enables users to pop to and push from the stack,
50 * @see #pop
71 public synchronized E pop() { method in class:Stack
89 * @see #pop
H A DArrayDeque.java70 * element that would be removed by remove() or pop()); or an
482 public E pop() { method in class:ArrayDeque
567 * {@link #remove} or popped (via successive calls to {@link #pop}).
H A DLinkedList.java790 * @see java.util.Deque#pop()
793 public E pop() { method in class:LinkedList
H A DCollections.java2800 return q.pop();
/libcore/benchmarks/src/benchmarks/regression/
H A DIntegerBenchmark.java54 t += pop((long) i);
59 private static int pop(long l) { method in class:IntegerBenchmark
/libcore/luni/src/main/native/
H A Dlibcore_icu_NativeIDN.cpp52 #pragma GCC diagnostic pop
H A Dorg_apache_harmony_xml_ExpatParser.cpp89 jstring pop() { function in class:StringStack
660 jstring localName = parsingContext->stringStack.pop();
661 jstring uri = parsingContext->stringStack.pop();
662 jstring qName = parsingContext->stringStack.pop();
737 jstring internedPrefix = parsingContext->stringStack.pop();
/libcore/jsr166-tests/src/test/java/jsr166/
H A DLinkedListTest.java516 * pop removes next element, or throws NSEE if empty
521 assertEquals(i, q.pop());
524 q.pop();
H A DArrayDequeTest.java150 * pop() removes next element, or throws NSEE if empty
155 assertEquals(i, q.pop());
158 q.pop();
H A DConcurrentLinkedDequeTest.java154 * pop() removes first element, or throws NSEE if empty
159 assertEquals(i, q.pop());
162 q.pop();
H A DLinkedBlockingDequeTest.java467 * pop removes next element, or throws NSEE if empty
472 assertEquals(i, q.pop());
475 q.pop();
/libcore/luni/src/main/java/java/util/concurrent/
H A DLinkedBlockingDeque.java745 public E pop() { method in class:LinkedBlockingDeque
H A DForkJoinPool.java144 * pop, and poll (aka steal), under the further constraints that
145 * push and pop are called only from the owning thread (or, as
163 * of tasks. To accomplish this, we shift the CAS arbitrating pop
165 * the slots themselves. So, both a successful pop and poll
173 * pop, or poll have not fully committed. Note that this means
188 * poll rather than pop. This can be useful in message-passing
564 * slot to push to or pop from. It is written only by owner thread
728 final ForkJoinTask<?> pop() { method in class:ForkJoinPool.WorkQueue
789 return mode == 0 ? pop() : poll();
888 if (s + 1 == top) { // pop
[all...]
H A DConcurrentLinkedDeque.java1002 public E pop() { return removeFirst(); } method in class:ConcurrentLinkedDeque
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/io/
H A DSerializationStressTest4.java1318 equals = ((java.util.Stack) objToSave).pop().equals(
1319 ((java.util.Stack) objLoaded).pop());
/libcore/benchmarks/libs/
H A Dcaliper.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/google/caliper/ com/google/caliper/AllocationMeasurer ...

Completed in 309 milliseconds