- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 18 for removeList (0.17 sec)
-
android/guava-tests/test/com/google/common/collect/SynchronizedDequeTest.java
return delegate.offerLast(e); } @Override public E removeFirst() { assertTrue(Thread.holdsLock(mutex)); return delegate.removeFirst(); } @Override public E removeLast() { assertTrue(Thread.holdsLock(mutex)); return delegate.removeLast(); } @Override public @Nullable E pollFirst() {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Aug 06 17:23:04 UTC 2024 - 7.4K bytes - Viewed (0) -
guava/src/com/google/common/collect/ForwardingDeque.java
delegate().push(e); } @CanIgnoreReturnValue @Override @ParametricNullness public E removeFirst() { return delegate().removeFirst(); } @CanIgnoreReturnValue @Override @ParametricNullness public E removeLast() { return delegate().removeLast(); } @CanIgnoreReturnValue @Override public boolean removeFirstOccurrence(@CheckForNull Object o) {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Mar 13 14:30:51 UTC 2023 - 4.2K bytes - Viewed (0) -
src/test/java/org/codelibs/core/collection/SLinkedListTest.java
list.addLast("1"); list.addLast("2"); list.removeFirst(); assertThat(list.getFirst(), is("2")); } /** * @throws Exception */ @Test public void testRemoveLast() throws Exception { list.addLast("1"); list.addLast("2"); list.removeLast(); assertThat(list.getLast(), is("1")); } /**
Registered: Fri Nov 01 20:58:10 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 8.3K bytes - Viewed (0) -
build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/docbook/HtmlToXmlJavadocLexer.java
if (elementStack.contains(element)) { while (!elementStack.getFirst().equals(element)) { visitor.onEndHtmlElement(elementStack.removeFirst()); } elementStack.removeFirst(); visitor.onEndHtmlElement(element); } } private void unwindTo(Collection<String> ancestors, TokenVisitor visitor) {
Registered: Wed Nov 06 11:36:14 UTC 2024 - Last Modified: Wed Dec 09 08:14:05 UTC 2020 - 5.8K bytes - Viewed (0) -
okhttp-testing-support/src/main/kotlin/okhttp3/RecordingCookieJar.kt
fun enqueueRequestCookies(vararg cookies: Cookie) { requestCookies.add(cookies.toList()) } fun takeResponseCookies(): List<Cookie> { return responseCookies.removeFirst() } fun assertResponseCookies(vararg cookies: String?) { assertThat(takeResponseCookies().map(Cookie::toString)).containsExactly(*cookies) } override fun saveFromResponse( url: HttpUrl,
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 1.5K bytes - Viewed (0) -
build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/docbook/DocBookBuilder.java
} } public void push(Element element) { stack.getFirst().appendChild(element); stack.addFirst(element); } public Element pop() { Element element = stack.removeFirst(); if (emptyPara(element)) { element.getParentNode().removeChild(element); } return element; } private boolean emptyPara(Element element) {
Registered: Wed Nov 06 11:36:14 UTC 2024 - Last Modified: Wed Dec 09 08:14:05 UTC 2020 - 2.8K bytes - Viewed (0) -
build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/docbook/DefaultGenerationListener.java
Registered: Wed Nov 06 11:36:14 UTC 2024 - Last Modified: Wed Dec 09 08:14:05 UTC 2020 - 1.3K bytes - Viewed (0) -
guava/src/com/google/common/collect/TreeTraverser.java
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 8.9K bytes - Viewed (0) -
guava-tests/test/com/google/common/cache/CacheLoaderTest.java
private final Deque<Runnable> tasks = Queues.newArrayDeque(); @Override public void execute(Runnable task) { tasks.add(task); } private void runNext() { tasks.removeFirst().run(); } } public void testAsyncReload() throws Exception { final AtomicInteger loadCount = new AtomicInteger(); final AtomicInteger reloadCount = new AtomicInteger();
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Oct 18 19:07:49 UTC 2024 - 3.6K bytes - Viewed (0) -
build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/docbook/DslDocModel.groovy
} catch (Exception e) { throw new ClassDocGenerationException("Could not load the class documentation for class '$className'.", e) } } finally { currentlyBuilding.removeLast() } } private File getFileForClass(String className) { File classFile = new File(classDocbookDir, "${className}.xml") classFile }
Registered: Wed Nov 06 11:36:14 UTC 2024 - Last Modified: Wed Dec 09 08:14:05 UTC 2020 - 4.9K bytes - Viewed (0)