Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for SimpleImmutableEntry (0.07 sec)

  1. android/guava/src/com/google/common/collect/LinkedHashMultimap.java

    import com.google.j2objc.annotations.WeakOuter;
    import java.io.IOException;
    import java.io.ObjectInputStream;
    import java.io.ObjectOutputStream;
    import java.util.AbstractMap.SimpleImmutableEntry;
    import java.util.Arrays;
    import java.util.Collection;
    import java.util.ConcurrentModificationException;
    import java.util.Iterator;
    import java.util.Map;
    import java.util.Map.Entry;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 19.1K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/ImmutableMap.java

       * UnsupportedOperationException}.
       */
      static <K, V> Entry<K, V> entryOf(K key, V value) {
        checkEntryNotNull(key, value);
        return new AbstractMap.SimpleImmutableEntry<>(key, value);
      }
    
      /**
       * Returns a new builder. The generated builder is equivalent to the builder created by the {@link
       * Builder} constructor.
       */
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 41.2K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/collect/ImmutableBiMapTest.java

            () -> ImmutableBiMap.ofEntries((Entry<Integer, Integer>) nullValue));
      }
    
      private static <T extends @Nullable Object> Entry<T, T> entry(T key, T value) {
        return new AbstractMap.SimpleImmutableEntry<>(key, value);
      }
    
      public void testCopyOfEmptyMap() {
        ImmutableBiMap<String, Integer> copy =
            ImmutableBiMap.copyOf(Collections.<String, Integer>emptyMap());
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 21.2K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/RegularImmutableMap.java

              @SuppressWarnings("unchecked")
              V value = (V) requireNonNull(alternatingKeysAndValues[2 * index + (keyOffset ^ 1)]);
              return new AbstractMap.SimpleImmutableEntry<K, V>(key, value);
            }
    
            @Override
            public int size() {
              return size;
            }
    
            @Override
            public boolean isPartialView() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 22.5K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/collect/ImmutableMapTest.java

        }
        return map;
      }
    
      private static <T extends @Nullable Object> Entry<T, T> entry(T key, T value) {
        return new AbstractMap.SimpleImmutableEntry<>(key, value);
      }
    
      public void testCopyOfMutableEntryList() {
        List<Entry<String, String>> entryList =
            asList(new AbstractMap.SimpleEntry<>("a", "1"), new AbstractMap.SimpleEntry<>("b", "2"));
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 36.7K bytes
    - Viewed (0)
Back to top