Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 for SimpleImmutableEntry (0.21 sec)

  1. android/guava/src/com/google/common/cache/RemovalNotification.java

    import com.google.common.annotations.GwtCompatible;
    import com.google.common.annotations.GwtIncompatible;
    import com.google.common.annotations.J2ktIncompatible;
    import java.util.AbstractMap.SimpleImmutableEntry;
    import org.jspecify.annotations.Nullable;
    
    /**
     * A notification of the removal of a single entry. The key and/or value may be null if they were
     * already garbage collected.
     *
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Feb 13 17:34:21 UTC 2025
    - 2.5K bytes
    - Viewed (0)
  2. api/maven-api-xml/src/main/java/org/apache/maven/api/xml/ImmutableCollections.java

        }
    
        private static class Map1<K, V> extends AbstractImmutableMap<K, V> {
            private final Entry<K, V> entry;
    
            private Map1(K key, V value) {
                this.entry = new SimpleImmutableEntry<>(key, value);
            }
    
            @Override
            public Set<Entry<K, V>> entrySet() {
                return new AbstractImmutableSet<>() {
                    @Override
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Mon Jul 07 11:47:42 UTC 2025
    - 7.8K bytes
    - Viewed (0)
  3. guava/src/com/google/common/collect/ImmutableMapEntry.java

     */
    
    package com.google.common.collect;
    
    import static com.google.common.collect.CollectPreconditions.checkEntryNotNull;
    
    import com.google.common.annotations.GwtIncompatible;
    import java.util.AbstractMap.SimpleImmutableEntry;
    import org.jspecify.annotations.Nullable;
    
    /**
     * Implementation of {@code Entry} for {@link ImmutableMap} that adds extra methods to traverse hash
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue Jul 01 21:42:29 UTC 2025
    - 4.6K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/TreeRangeMap.java

    import com.google.common.base.MoreObjects;
    import com.google.common.base.Predicate;
    import com.google.common.collect.Maps.IteratorBasedAbstractMap;
    import java.util.AbstractMap;
    import java.util.AbstractMap.SimpleImmutableEntry;
    import java.util.ArrayList;
    import java.util.Collection;
    import java.util.Iterator;
    import java.util.List;
    import java.util.Map;
    import java.util.Map.Entry;
    import java.util.NavigableMap;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Fri Jul 18 15:05:43 UTC 2025
    - 22.8K bytes
    - Viewed (0)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. 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