- Sort Score
- Result 10 results
- Languages All
Results 161 - 170 of 276 for ImmutableList (0.19 sec)
-
guava-tests/test/com/google/common/collect/ImmutableMultisetTest.java
(ms1, ms2) -> { if (!ms1.equals(ms2)) { return false; } List<TypeWithDuplicates> elements1 = ImmutableList.copyOf(ms1.elementSet()); List<TypeWithDuplicates> elements2 = ImmutableList.copyOf(ms2.elementSet()); for (int i = 0; i < ms1.elementSet().size(); i++) { if (!elements1.get(i).fullEquals(elements2.get(i))) {Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 24.8K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/io/ByteSinkTester.java
import static com.google.common.io.SourceSinkFactory.CharSinkFactory; import static java.nio.charset.StandardCharsets.UTF_8; import static org.junit.Assert.assertArrayEquals; import com.google.common.collect.ImmutableList; import java.io.ByteArrayInputStream; import java.io.IOException; import java.io.OutputStream; import java.lang.reflect.Method; import java.util.Map.Entry; import junit.framework.TestSuite;
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 18:46:00 UTC 2025 - 4K bytes - Viewed (0) -
guava-tests/test/com/google/common/io/ByteSinkTester.java
import static com.google.common.io.SourceSinkFactory.CharSinkFactory; import static java.nio.charset.StandardCharsets.UTF_8; import static org.junit.Assert.assertArrayEquals; import com.google.common.collect.ImmutableList; import java.io.ByteArrayInputStream; import java.io.IOException; import java.io.OutputStream; import java.lang.reflect.Method; import java.util.Map.Entry; import junit.framework.TestSuite;
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 18:46:00 UTC 2025 - 4K bytes - Viewed (0) -
android/guava/src/com/google/common/graph/DirectedGraphConnections.java
checkNotNull(thisNode); checkNotNull(successorNodeToValueFn); Map<N, Object> adjacentNodeValues = new HashMap<>(); ImmutableList.Builder<NodeConnection<N>> orderedNodeConnectionsBuilder = ImmutableList.builder(); int predecessorCount = 0; int successorCount = 0; for (EndpointPair<N> incidentEdge : incidentEdges) {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Jan 18 02:54:30 UTC 2025 - 17.8K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/IteratorsTest.java
assertTrue(partitions.hasNext()); assertEquals(ImmutableList.of(1), partitions.next()); assertFalse(partitions.hasNext()); } @GwtIncompatible // fairly slow (~50s) public void testPartition_general() { new IteratorTester<List<Integer>>( 5, IteratorFeature.UNMODIFIABLE, ImmutableList.of(asList(1, 2, 3), asList(4, 5, 6), asList(7)),
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 54.4K bytes - Viewed (0) -
guava-tests/test/com/google/common/util/concurrent/MoreExecutorsTest.java
List<Callable<T>> tasks = ImmutableList.of(); List<? extends Future<?>> unused = executor.invokeAll(tasks); } public void testListeningDecorator() throws Exception { ListeningExecutorService service = listeningDecorator(newDirectExecutorService()); assertSame(service, listeningDecorator(service)); List<Callable<String>> callables = ImmutableList.of(Callables.returning("x"));
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 18:46:00 UTC 2025 - 28K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/base/Utf8Test.java
* @author Martin Buchholz * @author Clément Roux */ @GwtCompatible @NullUnmarked public class Utf8Test extends TestCase { private static final ImmutableList<String> ILL_FORMED_STRINGS; static { ImmutableList.Builder<String> builder = ImmutableList.builder(); char[] surrogates = { MAX_LOW_SURROGATE, MAX_HIGH_SURROGATE, MIN_LOW_SURROGATE, MIN_HIGH_SURROGATE, }; for (char surrogate : surrogates) {Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 12.8K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/RegularImmutableBiMap.java
return new RegularImmutableMap.EntrySet<K, V>(this, alternatingKeysAndValues, keyOffset, size); } @Override ImmutableSet<K> createKeySet() { @SuppressWarnings("unchecked") ImmutableList<K> keyList = (ImmutableList<K>) new RegularImmutableMap.KeysOrValuesAsList(alternatingKeysAndValues, keyOffset, size); return new RegularImmutableMap.KeySet<>(this, keyList); } @Override
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Aug 11 19:31:30 UTC 2025 - 4.2K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/UnmodifiableIterator.java
/** * An iterator that does not support {@link #remove}. * * <p>{@code UnmodifiableIterator} is used primarily in conjunction with implementations of {@link * ImmutableCollection}, such as {@link ImmutableList}. You can, however, convert an existing * iterator to an {@code UnmodifiableIterator} using {@link Iterators#unmodifiableIterator}. * * @author Jared Levy * @since 2.0 */ @GwtCompatibleRegistered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sun Dec 22 03:38:46 UTC 2024 - 1.7K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/testing/EquivalenceTester.java
import static junit.framework.Assert.assertEquals; import static junit.framework.Assert.assertTrue; import com.google.common.annotations.GwtCompatible; import com.google.common.base.Equivalence; import com.google.common.collect.ImmutableList; import com.google.common.collect.Lists; import com.google.common.testing.RelationshipTester.Item; import com.google.errorprone.annotations.CanIgnoreReturnValue; import java.util.ArrayList; import java.util.List;
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Aug 09 01:14:59 UTC 2025 - 4.1K bytes - Viewed (0)