- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 61 for v1 (0.13 sec)
-
guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ImmutableBiMap.java
} public static <K, V> ImmutableBiMap<K, V> of(K k1, V v1) { checkEntryNotNull(k1, v1); return new SingletonImmutableBiMap<K, V>(k1, v1); } public static <K, V> ImmutableBiMap<K, V> of(K k1, V v1, K k2, V v2) { return new RegularImmutableBiMap<K, V>(ImmutableMap.of(k1, v1, k2, v2)); } public static <K, V> ImmutableBiMap<K, V> of(K k1, V v1, K k2, V v2, K k3, V v3) {
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Tue Jan 23 18:43:40 GMT 2024 - 7.1K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/google/ListMultimapRemoveTester.java
resetContainer(mapEntry(k0(), v0()), mapEntry(k0(), v1()), mapEntry(k0(), v0())); List<V> list = multimap().get(k0()); multimap().remove(k0(), v0()); assertContentsInOrder(list, v1(), v0()); } @MapFeature.Require(SUPPORTS_REMOVE) @CollectionSize.Require(SEVERAL) public void testRemoveAtIndexFromGetPropagates() { List<V> values = Arrays.asList(v0(), v1(), v0()); for (int i = 0; i < 3; i++) {
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Tue Feb 20 17:00:05 GMT 2024 - 3.6K bytes - Viewed (0) -
guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ImmutableMap.java
public static <K, V> ImmutableMap<K, V> of(K k1, V v1) { return ImmutableBiMap.of(k1, v1); } public static <K, V> ImmutableMap<K, V> of(K k1, V v1, K k2, V v2) { return new RegularImmutableMap<K, V>(entryOf(k1, v1), entryOf(k2, v2)); } public static <K, V> ImmutableMap<K, V> of(K k1, V v1, K k2, V v2, K k3, V v3) { return new RegularImmutableMap<K, V>(entryOf(k1, v1), entryOf(k2, v2), entryOf(k3, v3)); }
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Tue Feb 27 19:19:19 GMT 2024 - 17.1K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/ImmutableSortedMap.java
public static <K extends Comparable<? super K>, V> ImmutableSortedMap<K, V> of(K k1, V v1) { return of(Ordering.natural(), k1, v1); } /** Returns an immutable map containing a single entry. */ private static <K, V> ImmutableSortedMap<K, V> of(Comparator<? super K> comparator, K k1, V v1) { return new ImmutableSortedMap<>(
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Wed May 01 18:44:57 GMT 2024 - 53.2K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/google/SetMultimapReplaceValuesTester.java
@MapFeature.Require({SUPPORTS_PUT, SUPPORTS_REMOVE}) public void testReplaceValuesHandlesDuplicates() { List<V> values = Arrays.asList(v0(), v1(), v0()); for (K k : sampleKeys()) { resetContainer(); multimap().replaceValues(k, values); assertGet(k, v0(), v1()); } }
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Tue Feb 20 17:00:05 GMT 2024 - 1.6K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/ImmutableSetMultimap.java
} /** Returns an immutable multimap containing a single entry. */ public static <K, V> ImmutableSetMultimap<K, V> of(K k1, V v1) { ImmutableSetMultimap.Builder<K, V> builder = ImmutableSetMultimap.builder(); builder.put(k1, v1); return builder.build(); } /** * Returns an immutable multimap containing the given entries, in order. Repeated occurrences of
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Wed May 01 18:44:57 GMT 2024 - 23.6K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/ImmutableMultimapTest.java
ImmutableMultimap<String, String> setMultimapCopy = ImmutableMultimap.copyOf(setMultimap); assertSame( "copyOf(ImmutableSetMultimap) should not create a new instance", setMultimap, setMultimapCopy); ImmutableListMultimap<String, String> listMultimap = ImmutableListMultimap.of("k1", "v1");
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Wed Feb 21 10:16:44 GMT 2024 - 5.1K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/google/BiMapPutTester.java
initMapWithNullKey(); getMap().forcePut(null, v1()); expectContents(Helpers.mapEntry((K) null, v1())); assertFalse(getMap().containsValue(v0())); assertTrue(getMap().containsValue(v1())); assertTrue(getMap().inverse().containsKey(v1())); assertNull(getMap().inverse().get(v1())); assertEquals(v1(), getMap().get(null)); assertEquals(1, getMap().size()); }
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Tue Feb 20 17:00:05 GMT 2024 - 4.9K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/TableCollectors.java
java.util.function.Supplier<I> tableSupplier) { return TableCollectors.<T, R, C, V, I>toTable( rowFunction, columnFunction, valueFunction, (v1, v2) -> { throw new IllegalStateException("Conflicting values " + v1 + " and " + v2); }, tableSupplier); } static < T extends @Nullable Object, R extends @Nullable Object,
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Sat Mar 09 00:21:17 GMT 2024 - 7.7K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/google/ListMultimapPutAllTester.java
public class ListMultimapPutAllTester<K, V> extends AbstractListMultimapTester<K, V> { @MapFeature.Require(SUPPORTS_PUT) public void testPutAllAddsAtEndInOrder() { List<V> values = Arrays.asList(v3(), v1(), v4()); for (K k : sampleKeys()) { resetContainer(); List<V> expectedValues = copyToList(multimap().get(k)); assertTrue(multimap().putAll(k, values)); expectedValues.addAll(values);
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Tue Feb 20 17:00:05 GMT 2024 - 1.7K bytes - Viewed (0)