- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 155 for addLast (0.08 sec)
-
src/test/java/org/codelibs/core/collection/SLinkedListTest.java
public void testRemove() throws Exception { list.addLast(null); list.addLast("1"); list.addLast("2"); assertThat(list.remove("3"), is(not(true))); assertThat(list.remove("1"), is(true)); assertThat(list.remove(null), is(true)); list.clear(); list.addLast("1"); list.addLast("2"); list.addLast("3"); list.remove(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) -
guava/src/com/google/common/collect/TreeTraverser.java
this.stack = new ArrayDeque<>(); stack.addLast(expand(root)); } @Override @CheckForNull protected T computeNext() { while (!stack.isEmpty()) { PostOrderNode<T> top = stack.getLast(); if (top.childIterator.hasNext()) { T child = top.childIterator.next(); stack.addLast(expand(child)); } else { stack.removeLast();
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 8.9K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/SynchronizedDequeTest.java
@Override public void addFirst(E e) { assertTrue(Thread.holdsLock(mutex)); delegate.addFirst(e); } @Override public void addLast(E e) { assertTrue(Thread.holdsLock(mutex)); delegate.addLast(e); } @Override public boolean offerFirst(E e) { assertTrue(Thread.holdsLock(mutex)); return delegate.offerFirst(e); }
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
@Override protected abstract Deque<E> delegate(); @Override public void addFirst(@ParametricNullness E e) { delegate().addFirst(e); } @Override public void addLast(@ParametricNullness E e) { delegate().addLast(e); } @Override public Iterator<E> descendingIterator() { return delegate().descendingIterator(); } @Override @ParametricNullness public E getFirst() {
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/main/java/org/codelibs/core/collection/SLinkedList.java
header.previous = header; for (int i = 0; i < size; i++) { addLast((E) s.readObject()); } } @Override public Object clone() { final SLinkedList<E> copy = new SLinkedList<>(); for (Entry e = header.next; e != header; e = e.next) { copy.addLast(e.element); } return copy; } /** * 配列に変換します。
Registered: Fri Nov 01 20:58:10 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 11K bytes - Viewed (0) -
compat/maven-model-builder/src/main/java/org/apache/maven/model/building/Graph.java
if (children != null) { for (String v : children) { DfsState state = stateMap.putIfAbsent(v, DfsState.VISITING); if (state == null) { cycle.addLast(v); List<String> ret = visitCycle(graph, graph.get(v), stateMap, cycle); if (ret != null) { return ret; }
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 3.4K bytes - Viewed (0) -
build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/docbook/DslDocModel.groovy
if (currentlyBuilding.contains(className)) { throw new RuntimeException("Cycle building $className. Currently building $currentlyBuilding") } currentlyBuilding.addLast(className) try { ClassMetaData classMetaData = classMetaData.find(className) if (!classMetaData) { if (!className.contains('.internal.')) {
Registered: Wed Nov 06 11:36:14 UTC 2024 - Last Modified: Wed Dec 09 08:14:05 UTC 2020 - 4.9K bytes - Viewed (0) -
impl/maven-core/src/main/java/org/apache/maven/internal/impl/Graph.java
for (Vertex v : children) { DfsState state = stateMap.putIfAbsent(v, DfsState.VISITING); if (state == null) { cycle.addLast(v.label); List<String> ret = visitCycle(v.children, stateMap, cycle); if (ret != null) { return ret; } cycle.removeLast();
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 4.6K bytes - Viewed (0) -
src/main/java/org/codelibs/core/misc/DisposableUtil.java
* 破棄可能なリソース。{@literal null}であってはいけません */ public static synchronized void add(final Disposable disposable) { assertArgumentNotNull("disposable", disposable); disposables.addLast(disposable); } /** * 破棄可能なリソースを先頭に登録します。 * <p> * リソースは登録された逆順に破棄されるため、先頭に登録されたリソースは最後に破棄されることになります。 * </p> * * @param disposable
Registered: Fri Nov 01 20:58:10 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 3.1K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/internal/connection/FastFallbackExchangeFinder.kt
return result } private fun cancelInFlightConnects() { for (plan in tcpConnectsInFlight) { plan.cancel() val retry = plan.retry() ?: continue routePlanner.deferredPlans.addLast(retry) } tcpConnectsInFlight.clear() }
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 5.8K bytes - Viewed (0)