Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 23 for AbstractMapEntry (0.12 sec)

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

        this.entriesByLowerBound = entriesByLowerBound;
      }
    
      private static final class RangeMapEntry<K extends Comparable, V>
          extends AbstractMapEntry<Range<K>, V> {
        private final Range<K> range;
        private final V value;
    
        RangeMapEntry(Cut<K> lowerBound, Cut<K> upperBound, V value) {
          this(Range.create(lowerBound, upperBound), value);
        }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 22.9K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/collect/ImmutableListMultimapTest.java

        ImmutableListMultimap.Builder<String, Integer> builder = new Builder<>();
        final StringHolder holder = new StringHolder();
        holder.string = "one";
        Entry<String, Integer> entry =
            new AbstractMapEntry<String, Integer>() {
              @Override
              public String getKey() {
                return holder.string;
              }
    
              @Override
              public Integer getValue() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 23.8K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/collect/ImmutableSetMultimapTest.java

        ImmutableSetMultimap.Builder<String, Integer> builder = new Builder<>();
        final StringHolder holder = new StringHolder();
        holder.string = "one";
        Entry<String, Integer> entry =
            new AbstractMapEntry<String, Integer>() {
              @Override
              public String getKey() {
                return holder.string;
              }
    
              @Override
              public Integer getValue() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 26.9K bytes
    - Viewed (0)
  4. guava/src/com/google/common/collect/LinkedListMultimap.java

       * the values for a specific key, is used to implement {@link
       * ValueForKeyIterator} in constant time.
       */
    
      static final class Node<K extends @Nullable Object, V extends @Nullable Object>
          extends AbstractMapEntry<K, V> {
        @ParametricNullness final K key;
        @ParametricNullness V value;
        @CheckForNull Node<K, V> next; // the next node (with any key)
        @CheckForNull Node<K, V> previous; // the previous node (with any key)
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 13 14:11:58 UTC 2023
    - 27.5K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/collect/ImmutableListMultimapTest.java

        ImmutableListMultimap.Builder<String, Integer> builder = new Builder<>();
        final StringHolder holder = new StringHolder();
        holder.string = "one";
        Entry<String, Integer> entry =
            new AbstractMapEntry<String, Integer>() {
              @Override
              public String getKey() {
                return holder.string;
              }
    
              @Override
              public Integer getValue() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 25.4K bytes
    - Viewed (0)
  6. guava/src/com/google/common/collect/TreeRangeMap.java

        this.entriesByLowerBound = entriesByLowerBound;
      }
    
      private static final class RangeMapEntry<K extends Comparable, V>
          extends AbstractMapEntry<Range<K>, V> {
        private final Range<K> range;
        private final V value;
    
        RangeMapEntry(Cut<K> lowerBound, Cut<K> upperBound, V value) {
          this(Range.create(lowerBound, upperBound), value);
        }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 26.7K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/collect/ArrayTable.java

        }
    
        @Override
        public boolean isEmpty() {
          return keyIndex.isEmpty();
        }
    
        Entry<K, V> getEntry(final int index) {
          checkElementIndex(index, size());
          return new AbstractMapEntry<K, V>() {
            @Override
            public K getKey() {
              return ArrayMap.this.getKey(index);
            }
    
            @Override
            @ParametricNullness
            public V getValue() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 26.3K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/ImmutableMap.java

            }
    
            @Override
            public Entry<K, ImmutableSet<V>> next() {
              final Entry<K, V> backingEntry = backingIterator.next();
              return new AbstractMapEntry<K, ImmutableSet<V>>() {
                @Override
                public K getKey() {
                  return backingEntry.getKey();
                }
    
                @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 41.5K bytes
    - Viewed (0)
  9. guava/src/com/google/common/collect/ImmutableMap.java

            }
    
            @Override
            public Entry<K, ImmutableSet<V>> next() {
              final Entry<K, V> backingEntry = backingIterator.next();
              return new AbstractMapEntry<K, ImmutableSet<V>>() {
                @Override
                public K getKey() {
                  return backingEntry.getKey();
                }
    
                @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 44.6K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/collect/Maps.java

       */
      static <K extends @Nullable Object, V extends @Nullable Object> Entry<K, V> unmodifiableEntry(
          final Entry<? extends K, ? extends V> entry) {
        checkNotNull(entry);
        return new AbstractMapEntry<K, V>() {
          @Override
          @ParametricNullness
          public K getKey() {
            return entry.getKey();
          }
    
          @Override
          @ParametricNullness
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 161.6K bytes
    - Viewed (0)
Back to top