- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 27 for removeList (0.42 sec)
-
src/main/java/org/codelibs/core/collection/ArrayMap.java
Registered: Fri Nov 01 20:58:10 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 20.6K bytes - Viewed (0) -
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) -
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) -
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) -
src/main/java/org/codelibs/core/collection/SLinkedList.java
* * @return 最初の要素 */ public E removeFirst() { if (isEmpty()) { throw new NoSuchElementException(); } final E first = header.next.element; header.next.remove(); return first; } /** * 最後の要素を削除します。 * * @return 最後の要素 */ public E removeLast() { if (isEmpty()) {
Registered: Fri Nov 01 20:58:10 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 11K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/MinMaxPriorityQueue.java
* defined as the <i>least</i> element in the queue according to the queue's comparator. But unlike * a regular priority queue, the methods {@link #peekLast}, {@link #pollLast} and {@link * #removeLast} are also provided, to act on the <i>greatest</i> element in the queue instead. * * <p>A min-max priority queue can be configured with a maximum size. If so, each time the size of
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 34.1K 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-commons/module-identity/src/main/kotlin/gradlebuild.module-jar.gradle.kts
seen.add(rootVariant) queue.addAll(rootDependencies) while (queue.isNotEmpty()) { val dependency = when (val result = queue.removeFirst()) { is ResolvedDependencyResult -> result is UnresolvedDependencyResult -> throw result.failure else -> throw AssertionError("Unknown dependency type: $result") }
Registered: Wed Nov 06 11:36:14 UTC 2024 - Last Modified: Wed May 01 08:59:48 UTC 2024 - 4.4K bytes - Viewed (0) -
impl/maven-core/src/main/java/org/apache/maven/internal/impl/Graph.java
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 4.6K bytes - Viewed (0)