- Sort Score
- Result 10 results
- Languages All
Results 211 - 220 of 276 for ImmutableList (0.09 sec)
-
android/guava/src/com/google/common/graph/SuccessorsFunction.java
* return an {@code Iterable<? extends N>}, then you can use a lambda to perform a more general * transformation: * * {@snippet : * someGraphAlgorithm(startNode, node -> ImmutableList.of(node.leftChild(), node.rightChild())); * } * * <p>Graph algorithms that need additional capabilities (accessing both predecessors andRegistered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Mar 17 20:26:29 UTC 2025 - 4.2K bytes - Viewed (0) -
guava-testlib/src/com/google/common/testing/TestLogHandler.java
* getOnlyRecordLogged(), getAndClearLogRecords()...) * * TODO(cpovirk): consider renaming this method to reflect that it takes a snapshot (and/or return * an ImmutableList) */ public List<LogRecord> getStoredLogRecords() { synchronized (lock) { List<LogRecord> result = new ArrayList<>(list); return Collections.unmodifiableList(result); } }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sun Dec 22 03:38:46 UTC 2024 - 2.8K bytes - Viewed (0) -
guava-testlib/test/com/google/common/testing/NullPointerTesterTest.java
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Jul 14 14:44:08 UTC 2025 - 47.7K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/google/SortedMultisetTestSuiteBuilder.java
import static java.util.Collections.emptySet; import static java.util.Collections.sort; import com.google.common.annotations.GwtIncompatible; import com.google.common.collect.BoundType; import com.google.common.collect.ImmutableList; import com.google.common.collect.Multiset; import com.google.common.collect.SortedMultiset; import com.google.common.collect.testing.AbstractTester; import com.google.common.collect.testing.FeatureSpecificTestSuiteBuilder;
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Aug 11 19:31:30 UTC 2025 - 11.9K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/graph/AbstractNetworkTest.java
addEdge(5, 6, "baz"); int threadCount = 20; ExecutorService executor = newFixedThreadPool(threadCount); CyclicBarrier barrier = new CyclicBarrier(threadCount); ImmutableList.Builder<Future<?>> futures = ImmutableList.builder(); for (int i = 0; i < threadCount; i++) { futures.add( executor.submit( new Callable<@Nullable Void>() { @Override
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 18:46:00 UTC 2025 - 32.7K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/base/PredicatesTest.java
} public void testOr_applyIterable() { Predicate<@Nullable Integer> vacuouslyFalse = Predicates.or(ImmutableList.of()); Predicate<@Nullable Integer> troo = Predicates.or(ImmutableList.of(TRUE)); Predicate<@Nullable Integer> trueAndFalse = Predicates.or(ImmutableList.of(TRUE, FALSE)); assertEvalsToFalse(vacuouslyFalse); assertEvalsToTrue(troo); assertEvalsToTrue(trueAndFalse); }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 32.2K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/MoreCollectors.java
} /** * This atrocity is here to let us report several of the elements in the stream if there were more * than one, not just two. */ @SuppressWarnings("EmptyList") // ImmutableList doesn't support nullable element types private static final class ToOptionalState { static final int MAX_EXTRAS = 4; @Nullable Object element; List<Object> extras; ToOptionalState() {Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Apr 14 16:07:06 UTC 2025 - 5.6K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/eventbus/EventBusTest.java
*/ package com.google.common.eventbus; import static java.util.concurrent.Executors.newFixedThreadPool; import static org.junit.Assert.assertThrows; import com.google.common.collect.ImmutableList; import com.google.common.collect.Lists; import java.util.ArrayList; import java.util.List; import java.util.concurrent.CopyOnWriteArrayList; import java.util.concurrent.ExecutorService;
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed Jul 16 17:42:14 UTC 2025 - 11.3K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/ImmutableTable.java
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 17:27:14 UTC 2025 - 17.4K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/AbstractSequentialIteratorTest.java
@GwtCompatible @NullMarked public class AbstractSequentialIteratorTest extends TestCase { @GwtIncompatible // Too slow public void testDoublerExhaustive() { new IteratorTester<Integer>( 3, UNMODIFIABLE, ImmutableList.of(1, 2), IteratorTester.KnownOrder.KNOWN_ORDER) { @Override protected Iterator<Integer> newTargetIterator() { return newDoubler(1, 2); } }.test(); }Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 4.7K bytes - Viewed (0)