Search Options

Results per page
Sort
Preferred Languages
Advance

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

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

     * the License.
     */
    
    package com.google.common.cache;
    
    import static com.google.common.base.Preconditions.checkNotNull;
    
    import com.google.common.annotations.GwtCompatible;
    import java.util.AbstractMap.SimpleImmutableEntry;
    import javax.annotation.CheckForNull;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
     * A notification of the removal of a single entry. The key and/or value may be null if they were
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Feb 01 20:46:24 UTC 2022
    - 2.5K bytes
    - Viewed (0)
  2. guava/src/com/google/common/cache/RemovalNotification.java

     * the License.
     */
    
    package com.google.common.cache;
    
    import static com.google.common.base.Preconditions.checkNotNull;
    
    import com.google.common.annotations.GwtCompatible;
    import java.util.AbstractMap.SimpleImmutableEntry;
    import javax.annotation.CheckForNull;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
     * A notification of the removal of a single entry. The key and/or value may be null if they were
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Feb 01 20:46:24 UTC 2022
    - 2.5K bytes
    - Viewed (0)
  3. src/mdo/java/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<Entry<K, V>>() {
                    @Override
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Mon Jan 22 17:27:48 UTC 2024
    - 16.7K bytes
    - Viewed (0)
  4. maven-xml-impl/src/main/java/org/apache/maven/internal/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<Entry<K, V>>() {
                    @Override
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Mon Jan 22 17:27:48 UTC 2024
    - 16.4K bytes
    - Viewed (0)
  5. maven-di/src/main/java/org/apache/maven/di/impl/InjectorImpl.java

                            }
    
                            @Override
                            public Entry<K, V> next() {
                                Entry<K, T> n = it.next();
                                return new SimpleImmutableEntry<>(n.getKey(), mapper.apply(n.getValue()));
                            }
                        };
                    }
    
                    @Override
                    public int size() {
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Tue Jun 11 07:23:04 UTC 2024
    - 14.3K 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: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Sun Jun 02 13:36:19 UTC 2024
    - 41.6K bytes
    - Viewed (0)
  7. 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: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Apr 15 22:32:14 UTC 2024
    - 22.7K bytes
    - Viewed (0)
  8. guava/src/com/google/common/collect/ImmutableSortedMap.java

          ImmutableList<Entry<K, V>> createAsList() {
            return new ImmutableAsList<Entry<K, V>>() {
              @Override
              public Entry<K, V> get(int index) {
                return new AbstractMap.SimpleImmutableEntry<>(
                    keySet.asList().get(index), valueList.get(index));
              }
    
              @Override
              public Spliterator<Entry<K, V>> spliterator() {
                return CollectSpliterators.indexed(
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 22 21:19:52 UTC 2024
    - 50.3K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/collect/ImmutableSortedMap.java

          ImmutableList<Entry<K, V>> createAsList() {
            return new ImmutableList<Entry<K, V>>() {
              @Override
              public Entry<K, V> get(int index) {
                return new AbstractMap.SimpleImmutableEntry<>(
                    keySet.asList().get(index), valueList.get(index));
              }
    
              @Override
              boolean isPartialView() {
                return true;
              }
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Sun Jun 02 13:36:19 UTC 2024
    - 53K bytes
    - Viewed (0)
Back to top