- Sort Score
- Result 10 results
- Languages All
Results 61 - 70 of 539 for IsList (0.11 sec)
-
android/guava/src/com/google/common/collect/SparseImmutableTable.java
Cell<R, C, V> getCell(int index) { int rowIndex = cellRowIndices[index]; Entry<R, ImmutableMap<C, V>> rowEntry = rowMap.entrySet().asList().get(rowIndex); ImmutableMap<C, V> row = rowEntry.getValue(); int columnIndex = cellColumnInRowIndices[index]; Entry<C, V> colEntry = row.entrySet().asList().get(columnIndex); return cellOf(rowEntry.getKey(), colEntry.getKey(), colEntry.getValue()); } @Override
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Nov 30 21:54:06 UTC 2023 - 5.6K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/IterablesTest.java
Iterable<?> b; // A few elements. a = asList(4, 8, 15, 16, 23, 42); b = asList(4, 8, 15, 16, 23, 42); assertTrue(elementsEqual(a, b)); // An element differs. a = asList(4, 8, 15, 12, 23, 42); b = asList(4, 8, 15, 16, 23, 42); assertFalse(elementsEqual(a, b)); // null versus non-null. a = Arrays.<@Nullable Integer>asList(4, 8, 15, null, 23, 42);
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-testlib/src/com/google/common/collect/testing/testers/MapForEachTester.java
import static com.google.common.collect.testing.features.MapFeature.ALLOWS_NULL_KEYS; import static com.google.common.collect.testing.features.MapFeature.ALLOWS_NULL_VALUES; import static java.util.Arrays.asList; import com.google.common.annotations.GwtCompatible; import com.google.common.collect.testing.AbstractMapTester; import com.google.common.collect.testing.Helpers;
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Oct 31 14:51:04 UTC 2024 - 3.4K bytes - Viewed (0) -
android/guava-testlib/test/com/google/common/collect/testing/OpenJdk6MapTests.java
import static com.google.common.collect.testing.testers.MapPutAllTester.getPutAllNullKeyUnsupportedMethod; import static com.google.common.collect.testing.testers.MapPutTester.getPutNullKeyUnsupportedMethod; import static java.util.Arrays.asList; import java.lang.reflect.Method; import java.util.Collection; import java.util.List; import java.util.Map; import junit.framework.Test; /**
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 00:05:46 UTC 2024 - 3.8K bytes - Viewed (0) -
guava-tests/test/com/google/common/base/JoinerTest.java
private static final Iterable<Integer> ITERABLE_ = Arrays.<Integer>asList(); private static final Iterable<Integer> ITERABLE_1 = Arrays.asList(1); private static final Iterable<Integer> ITERABLE_12 = Arrays.asList(1, 2); private static final Iterable<Integer> ITERABLE_123 = Arrays.asList(1, 2, 3); private static final Iterable<@Nullable Integer> ITERABLE_NULL = Arrays.asList((Integer) null);
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Sep 17 18:14:12 UTC 2024 - 11.7K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/IteratorTester.java
* Collections.unmodifiableList}'s iterator: * * <pre>{@code * List<String> expectedElements = * Arrays.asList("a", "b", "c", "d", "e"); * List<String> actualElements = * Collections.unmodifiableList( * Arrays.asList("a", "b", "c", "d", "e")); * IteratorTester<String> iteratorTester = * new IteratorTester<String>( * 6, * IteratorFeature.UNMODIFIABLE,
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Feb 21 16:49:06 UTC 2024 - 4.3K bytes - Viewed (0) -
guava-tests/test/com/google/common/io/LittleEndianDataOutputStreamTest.java
assertEquals(0, actual[9]); assertEquals((byte) 0xC9, actual[10]); assertEquals(0, actual[11]); } private static void assertEquals(byte[] expected, byte[] actual) { assertEquals(Bytes.asList(expected), Bytes.asList(actual)); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Jul 23 14:22:54 UTC 2024 - 4.7K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/io/LittleEndianDataOutputStreamTest.java
assertEquals(0, actual[9]); assertEquals((byte) 0xC9, actual[10]); assertEquals(0, actual[11]); } private static void assertEquals(byte[] expected, byte[] actual) { assertEquals(Bytes.asList(expected), Bytes.asList(actual)); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Jul 23 14:22:54 UTC 2024 - 4.7K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/primitives/ImmutableIntArrayTest.java
// Test all creation paths very lazily: by assuming asList() works public void testOf0() { assertThat(ImmutableIntArray.of().asList()).isEmpty(); } public void testOf1() { assertThat(ImmutableIntArray.of(0).asList()).containsExactly(0); } public void testOf2() { assertThat(ImmutableIntArray.of(0, 1).asList()).containsExactly(0, 1).inOrder(); } public void testOf3() {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Oct 25 18:05:56 UTC 2024 - 20.1K bytes - Viewed (0) -
guava-tests/test/com/google/common/primitives/ImmutableDoubleArrayTest.java
// Test all creation paths very lazily: by assuming asList() works public void testOf0() { assertThat(ImmutableDoubleArray.of().asList()).isEmpty(); } public void testOf1() { assertThat(ImmutableDoubleArray.of(0).asList()).containsExactly(0.0); } public void testOf2() { assertThat(ImmutableDoubleArray.of(0, 1).asList()).containsExactly(0.0, 1.0).inOrder(); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Oct 25 18:05:56 UTC 2024 - 21.2K bytes - Viewed (0)