Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 54 for V2 (0.25 sec)

  1. 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, 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) {
        return new RegularImmutableBiMap<K, V>(ImmutableMap.of(k1, v1, k2, v2, k3, v3));
      }
    
      public static <K, V> ImmutableBiMap<K, V> of(K k1, V v1, K k2, V v2, K k3, V v3, K k4, V v4) {
    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)
  2. guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ImmutableMap.java

        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));
      }
    
      public static <K, V> ImmutableMap<K, V> of(K k1, V v1, K k2, V v2, K k3, V v3, K k4, V v4) {
    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)
  3. 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, K k2, V v2) {
        return fromEntries(entryOf(k1, v1), entryOf(k2, v2));
      }
    
      /**
       * Returns an immutable sorted map containing the given entries, sorted by the natural ordering of
       * their keys.
       *
    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)
  4. android/guava/src/com/google/common/collect/ImmutableSetMultimap.java

       * an entry (according to {@link Object#equals}) after the first are ignored.
       */
      public static <K, V> ImmutableSetMultimap<K, V> of(K k1, V v1, K k2, V v2) {
        ImmutableSetMultimap.Builder<K, V> builder = ImmutableSetMultimap.builder();
        builder.put(k1, v1);
        builder.put(k2, v2);
        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)
  5. guava-testlib/src/com/google/common/collect/testing/google/MultimapGetTester.java

        assertEmpty(result);
    
        assertTrue(result.add(v1()));
        assertTrue(result.add(v2()));
    
        assertContentsAnyOrder(result, v1(), v2());
        assertContentsAnyOrder(multimap().get(k0()), v1(), v2());
        assertTrue(multimap().containsKey(k0()));
        assertFalse(multimap().containsEntry(k0(), v0()));
        assertTrue(multimap().containsEntry(k0(), v2()));
        assertEquals(oldSize + 1, multimap().size());
      }
    
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Nov 16 17:41:24 GMT 2022
    - 5.6K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/ImmutableBiMap.java

       *
       * @throws IllegalArgumentException if duplicate keys or values are added
       */
      public static <K, V> ImmutableBiMap<K, V> of(K k1, V v1, K k2, V v2) {
        checkEntryNotNull(k1, v1);
        checkEntryNotNull(k2, v2);
        return new RegularImmutableBiMap<K, V>(new Object[] {k1, v1, k2, v2}, 2);
      }
    
      /**
       * Returns an immutable map containing the given entries, in order.
       *
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 22.4K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/util/concurrent/AbstractClosingFutureTest.java

        <V1, V2, U> ClosingFunction2<V1, V2, U> waitFor(ClosingFunction2<V1, V2, U> closingFunction2) {
          return waitFor(closingFunction2, ClosingFunction2.class);
        }
    
        @SuppressWarnings("unchecked") // proxy for a generic class
        <V1, V2, U> AsyncClosingFunction2<V1, V2, U> waitFor(
            AsyncClosingFunction2<V1, V2, U> asyncClosingFunction2) {
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 17:15:24 GMT 2024
    - 75.3K bytes
    - Viewed (0)
  8. android/guava-testlib/src/com/google/common/collect/testing/google/MultimapAsMapGetTester.java

        assertEmpty(result);
    
        assertTrue(result.add(v1()));
        assertTrue(result.add(v2()));
    
        assertContentsAnyOrder(result, v1(), v2());
        assertContentsAnyOrder(multimap().get(k0()), v1(), v2());
        assertTrue(multimap().containsKey(k0()));
        assertFalse(multimap().containsEntry(k0(), v0()));
        assertTrue(multimap().containsEntry(k0(), v2()));
        assertEquals(oldSize + 1, multimap().size());
      }
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Jan 09 20:10:38 GMT 2018
    - 5K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/collect/ImmutableMap.java

       *
       * @throws IllegalArgumentException if duplicate keys are provided
       */
      public static <K, V> ImmutableMap<K, V> of(K k1, V v1, K k2, V v2) {
        checkEntryNotNull(k1, v1);
        checkEntryNotNull(k2, v2);
        return RegularImmutableMap.create(2, new Object[] {k1, v1, k2, v2});
      }
    
      /**
       * Returns an immutable map containing the given entries, in order.
       *
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 41.7K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/collect/TableCollectors.java

        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)
Back to top