Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 23 for V1 (0.14 sec)

  1. 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)
  2. 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)
  3. android/guava/src/com/google/common/collect/ImmutableMap.java

       */
      public static <K, V> ImmutableMap<K, V> of(K k1, V v1) {
        checkEntryNotNull(k1, v1);
        return RegularImmutableMap.create(1, new Object[] {k1, v1});
      }
    
      /**
       * Returns an immutable map containing the given entries, in order.
       *
       * @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);
    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)
  4. android/guava/src/com/google/common/collect/ImmutableBiMap.java

      public static <K, V> ImmutableBiMap<K, V> of(K k1, V v1) {
        checkEntryNotNull(k1, v1);
        return new RegularImmutableBiMap<>(new Object[] {k1, v1}, 1);
      }
    
      /**
       * Returns an immutable map containing the given entries, in order.
       *
       * @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);
    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)
  5. guava/src/com/google/common/collect/ImmutableListMultimap.java

      public static <K, V> ImmutableListMultimap<K, V> of(K k1, V v1) {
        ImmutableListMultimap.Builder<K, V> builder = ImmutableListMultimap.builder();
        builder.put(k1, v1);
        return builder.build();
      }
    
      /** Returns an immutable multimap containing the given entries, in order. */
      public static <K, V> ImmutableListMultimap<K, V> of(K k1, V v1, K k2, V v2) {
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Aug 24 01:40:03 GMT 2023
    - 17.1K bytes
    - Viewed (0)
  6. 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 Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 21:19:52 GMT 2024
    - 23.1K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/collect/ImmutableMultimap.java

      public static <K, V> ImmutableMultimap<K, V> of(K k1, V v1) {
        return ImmutableListMultimap.of(k1, v1);
      }
    
      /** Returns an immutable multimap containing the given entries, in order. */
      public static <K, V> ImmutableMultimap<K, V> of(K k1, V v1, K k2, V v2) {
        return ImmutableListMultimap.of(k1, v1, k2, v2);
      }
    
      /**
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 22 21:19:52 GMT 2024
    - 24.7K bytes
    - Viewed (0)
  8. guava/src/com/google/common/collect/ImmutableMultimap.java

      public static <K, V> ImmutableMultimap<K, V> of(K k1, V v1) {
        return ImmutableListMultimap.of(k1, v1);
      }
    
      /** Returns an immutable multimap containing the given entries, in order. */
      public static <K, V> ImmutableMultimap<K, V> of(K k1, V v1, K k2, V v2) {
        return ImmutableListMultimap.of(k1, v1, k2, v2);
      }
    
      /**
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 21:19:52 GMT 2024
    - 25.6K bytes
    - Viewed (0)
  9. guava/src/com/google/common/collect/ImmutableMap.java

      public static <K, V> ImmutableMap<K, V> of(K k1, V v1) {
        return ImmutableBiMap.of(k1, v1);
      }
    
      /**
       * Returns an immutable map containing the given entries, in order.
       *
       * @throws IllegalArgumentException if duplicate keys are provided
       */
      public static <K, V> ImmutableMap<K, V> of(K k1, V v1, K k2, V v2) {
        return RegularImmutableMap.fromEntries(entryOf(k1, v1), entryOf(k2, v2));
      }
    
      /**
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 21:19:52 GMT 2024
    - 44.1K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/collect/TableCollectorsTest.java

        Collector<Cell<String, String, Integer>, ?, ImmutableTable<String, String, Integer>> collector =
            TableCollectors.toImmutableTable(
                Cell::getRowKey, Cell::getColumnKey, Cell::getValue, (v1, v2) -> null);
        try {
          Stream.of(immutableCell("one", "uno", 1), immutableCell("one", "uno", 2)).collect(collector);
          fail("Expected NullPointerException");
        } catch (NullPointerException expected) {
        }
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Tue Mar 05 16:03:18 GMT 2024
    - 11.7K bytes
    - Viewed (0)
Back to top