- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 41 for ArrayDeque (0.18 sec)
-
okhttp-testing-support/src/main/kotlin/okhttp3/RecordingCookieJar.kt
*/ package okhttp3 import assertk.assertThat import assertk.assertions.containsExactly import java.util.ArrayDeque import java.util.Deque class RecordingCookieJar : CookieJar { private val requestCookies: Deque<List<Cookie>> = ArrayDeque() private val responseCookies: Deque<List<Cookie>> = ArrayDeque() fun enqueueRequestCookies(vararg cookies: Cookie) { requestCookies.add(cookies.toList()) }
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 1.5K bytes - Viewed (0) -
android/guava/src/com/google/common/io/LineReader.java
import com.google.common.annotations.J2ktIncompatible; import com.google.errorprone.annotations.CanIgnoreReturnValue; import java.io.IOException; import java.io.Reader; import java.nio.CharBuffer; import java.util.ArrayDeque; import java.util.Queue; import javax.annotation.CheckForNull; /** * A class for reading lines of text. Provides the same functionality as {@link
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Wed May 17 14:35:11 GMT 2023 - 3.1K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/features/FeatureUtil.java
import com.google.errorprone.annotations.CanIgnoreReturnValue; import java.lang.annotation.Annotation; import java.lang.reflect.AnnotatedElement; import java.lang.reflect.Method; import java.util.ArrayDeque; import java.util.ArrayList; import java.util.Collections; import java.util.HashMap; import java.util.LinkedHashSet; import java.util.List; import java.util.Locale; import java.util.Map; import java.util.Queue;
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Wed Sep 21 15:08:35 GMT 2022 - 12.1K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/Queues.java
return new ArrayBlockingQueue<>(capacity); } // ArrayDeque /** * Creates an empty {@code ArrayDeque}. * * @since 12.0 */ public static <E> ArrayDeque<E> newArrayDeque() { return new ArrayDeque<>(); } /** * Creates an {@code ArrayDeque} containing the elements of the specified iterable, in the order
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Mon Apr 01 16:15:01 GMT 2024 - 16K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/TreeTraverser.java
this.childIterator = checkNotNull(childIterator); } } private final class PostOrderIterator extends AbstractIterator<T> { private final ArrayDeque<PostOrderNode<T>> stack; PostOrderIterator(T root) { this.stack = new ArrayDeque<>(); stack.addLast(expand(root)); } @Override @CheckForNull protected T computeNext() { while (!stack.isEmpty()) {
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Mon Apr 01 16:15:01 GMT 2024 - 8.2K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/SynchronizedDequeTest.java
* See the License for the specific language governing permissions and * limitations under the License. */ package com.google.common.collect; import java.util.ArrayDeque; import java.util.Collection; import java.util.Deque; import java.util.Iterator; import junit.framework.TestCase; import org.checkerframework.checker.nullness.qual.Nullable; /**
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Wed Apr 19 19:24:36 GMT 2023 - 7.4K bytes - Viewed (0) -
src/main/java/org/codelibs/core/collection/CollectionsUtil.java
} /** * {@link ArrayDeque}の新しいインスタンスを作成して返します。 * * @param <E> * {@link ArrayDeque}の要素型 * @return {@link ArrayDeque}の新しいインスタンス * @see ArrayDeque#ArrayDeque() */ public static <E> ArrayDeque<E> newArrayDeque() { return new ArrayDeque<>(); } /** * {@link ArrayDeque}の新しいインスタンスを作成して返します。 * * @param <E>
Java - Registered: Fri May 03 20:58:11 GMT 2024 - Last Modified: Thu Mar 07 01:59:08 GMT 2024 - 53.9K bytes - Viewed (0) -
android/guava/src/com/google/common/graph/Traverser.java
return endOfData(); } }; } final Iterator<N> postOrder(Iterator<? extends N> startNodes) { Deque<N> ancestorStack = new ArrayDeque<>(); Deque<Iterator<? extends N>> horizon = new ArrayDeque<>(); horizon.add(startNodes); return new AbstractIterator<N>() { @Override @CheckForNull protected N computeNext() {
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Tue May 30 20:12:45 GMT 2023 - 19.8K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/Dispatcher.kt
private val readyAsyncCalls = ArrayDeque<AsyncCall>() /** Running asynchronous calls. Includes canceled calls that haven't finished yet. */ private val runningAsyncCalls = ArrayDeque<AsyncCall>() /** Running synchronous calls. Includes canceled calls that haven't finished yet. */ private val runningSyncCalls = ArrayDeque<RealCall>() constructor(executorService: ExecutorService) : this() {
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Sat Apr 20 17:03:43 GMT 2024 - 9K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/SynchronizedQueueTest.java
* See the License for the specific language governing permissions and * limitations under the License. */ package com.google.common.collect; import java.util.ArrayDeque; import java.util.Collection; import java.util.Iterator; import java.util.Queue; import junit.framework.TestCase; import org.checkerframework.checker.nullness.qual.Nullable; /**
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Wed Apr 19 19:24:36 GMT 2023 - 4.7K bytes - Viewed (0)