- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 13 for newLinkedList (0.11 sec)
-
android/guava-tests/test/com/google/common/collect/ListsTest.java
LinkedList<Integer> list = Lists.newLinkedList(); assertEquals(emptyList(), list); } public void testNewLinkedListFromCollection() { LinkedList<Integer> list = Lists.newLinkedList(SOME_COLLECTION); assertEquals(SOME_COLLECTION, list); } public void testNewLinkedListFromIterable() { LinkedList<Integer> list = Lists.newLinkedList(SOME_ITERABLE); assertEquals(SOME_COLLECTION, list);
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 35K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/ListsTest.java
LinkedList<Integer> list = Lists.newLinkedList(); assertEquals(emptyList(), list); } public void testNewLinkedListFromCollection() { LinkedList<Integer> list = Lists.newLinkedList(SOME_COLLECTION); assertEquals(SOME_COLLECTION, list); } public void testNewLinkedListFromIterable() { LinkedList<Integer> list = Lists.newLinkedList(SOME_ITERABLE); assertEquals(SOME_COLLECTION, list);
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 35K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/IterablesTest.java
@Override protected Iterator<Integer> newTargetIterator() { return Iterables.consumingIterable(Lists.newLinkedList(items)).iterator(); } }.test(); } public void testConsumingIterable_queue_removesFromQueue() { Queue<Integer> queue = Lists.newLinkedList(asList(5, 14)); Iterator<Integer> consumingIterator = Iterables.consumingIterable(queue).iterator();
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 19:12:33 UTC 2024 - 45K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/Collections2Test.java
import static com.google.common.base.Strings.isNullOrEmpty; import static com.google.common.collect.Iterables.concat; import static com.google.common.collect.Lists.newArrayList; import static com.google.common.collect.Lists.newLinkedList; import static com.google.common.truth.Truth.assertThat; import static java.util.Collections.nCopies; import com.google.common.annotations.GwtCompatible; import com.google.common.annotations.GwtIncompatible;
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Feb 21 10:16:44 UTC 2024 - 19.7K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/Collections2Test.java
import static com.google.common.base.Strings.isNullOrEmpty; import static com.google.common.collect.Iterables.concat; import static com.google.common.collect.Lists.newArrayList; import static com.google.common.collect.Lists.newLinkedList; import static com.google.common.truth.Truth.assertThat; import static java.util.Collections.nCopies; import com.google.common.annotations.GwtCompatible; import com.google.common.annotations.GwtIncompatible;
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Feb 21 10:16:44 UTC 2024 - 19.7K bytes - Viewed (0) -
guava/src/com/google/common/collect/Lists.java
@GwtCompatible(serializable = true) @SuppressWarnings("NonApiType") // acts as a direct substitute for a constructor call public static <E extends @Nullable Object> LinkedList<E> newLinkedList( Iterable<? extends E> elements) { LinkedList<E> list = newLinkedList(); Iterables.addAll(list, elements); return list; } /** * Creates an empty {@code CopyOnWriteArrayList} instance. *
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 43.1K bytes - Viewed (0) -
.idea/inspectionProfiles/Gradle.xml
</replaceConfiguration> <replaceConfiguration name="Treat some Guava Collection factory methods as Deprecated" uuid="82f9f9ab-9c3b-367f-99ad-40841dc13819" text="com.google.common.collect.Lists.newLinkedList()" recursive="false" caseInsensitive="false" type="JAVA" pattern_context="default" reformatAccordingToStyle="true" shortenFQN="true" replacement="new java.util.LinkedList<>()">
Registered: Wed Nov 06 11:36:14 UTC 2024 - Last Modified: Wed Jun 26 21:49:47 UTC 2024 - 15.4K bytes - Viewed (0) -
android/guava-tests/benchmark/com/google/common/util/concurrent/ExecutionListBenchmark.java
private static final class OldExecutionList { static final Logger log = Logger.getLogger(OldExecutionList.class.getName()); final Queue<OldExecutionList.RunnableExecutorPair> runnables = Lists.newLinkedList(); boolean executed = false; public void add(Runnable runnable, Executor executor) { Preconditions.checkNotNull(runnable, "Runnable was null.");
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Oct 18 22:10:29 UTC 2024 - 20.5K bytes - Viewed (0) -
guava-tests/test/com/google/common/base/PredicatesTest.java
Predicates.or(Collections.<Predicate<@Nullable Integer>>emptyList()); Predicate<@Nullable Integer> troo = Predicates.or(Collections.singletonList(TRUE)); /* * newLinkedList() takes varargs. TRUE and FALSE are both instances of * Predicate<Integer>, so the call is safe. */ Predicate<@Nullable Integer> trueAndFalse = Predicates.or(Arrays.asList(TRUE, FALSE));
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Feb 22 17:15:24 UTC 2024 - 32.4K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/MinMaxPriorityQueueTest.java
throws Exception { IteratorTester<T> tester = new IteratorTester<T>( steps, IteratorFeature.MODIFIABLE, Lists.newLinkedList(values), IteratorTester.KnownOrder.UNKNOWN_ORDER) { private @Nullable MinMaxPriorityQueue<T> mmHeap; @Override protected Iterator<T> newTargetIterator() {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 35.9K bytes - Viewed (0)