Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 15 for backingMap (0.05 sec)

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

        private final Map<Class<? extends @NonNull B>, B> backingMap;
    
        SerializedForm(Map<Class<? extends @NonNull B>, B> backingMap) {
          this.backingMap = backingMap;
        }
    
        Object readResolve() {
          return create(backingMap);
        }
    
        private static final long serialVersionUID = 0;
      }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 22:10:29 UTC 2025
    - 6.7K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/collect/ForwardingNavigableMapTest.java

        private final NavigableMap<K, V> backingMap;
    
        StandardImplForwardingNavigableMap(NavigableMap<K, V> backingMap) {
          this.backingMap = backingMap;
        }
    
        @Override
        protected NavigableMap<K, V> delegate() {
          return backingMap;
        }
    
        @Override
        public boolean containsKey(Object key) {
          return standardContainsKey(key);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 9.5K bytes
    - Viewed (0)
  3. guava/src/com/google/common/reflect/MutableTypeToInstanceMap.java

      }
    
      @Override
      protected Map<TypeToken<? extends @NonNull B>, B> delegate() {
        return backingMap;
      }
    
      @SuppressWarnings("unchecked") // value could not get in if not a T
      private <T extends B> @Nullable T trustedPut(
          TypeToken<@NonNull T> type, @ParametricNullness T value) {
        return (T) backingMap.put(type, value);
      }
    
      @SuppressWarnings("unchecked") // value could not get in if not a T
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 5.7K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/graph/MapIteratorCache.java

       */
      private transient volatile @Nullable Entry<K, V> cacheEntry;
    
      MapIteratorCache(Map<K, V> backingMap) {
        this.backingMap = checkNotNull(backingMap);
      }
    
      @CanIgnoreReturnValue
      final @Nullable V put(K key, V value) {
        checkNotNull(key);
        checkNotNull(value);
        clearCache();
        return backingMap.put(key, value);
      }
    
      @CanIgnoreReturnValue
      final @Nullable V remove(Object key) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/collect/ForwardingNavigableMapTest.java

        private final NavigableMap<K, V> backingMap;
    
        StandardImplForwardingNavigableMap(NavigableMap<K, V> backingMap) {
          this.backingMap = backingMap;
        }
    
        @Override
        protected NavigableMap<K, V> delegate() {
          return backingMap;
        }
    
        @Override
        public boolean containsKey(Object key) {
          return standardContainsKey(key);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 9.5K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/collect/SimpleAbstractMultisetTest.java

        @Override
        public int add(E element, int occurrences) {
          checkArgument(occurrences >= 0);
          Integer frequency = backingMap.getOrDefault(element, 0);
          if (occurrences == 0) {
            return frequency;
          }
          checkArgument(occurrences <= Integer.MAX_VALUE - frequency);
          backingMap.put(element, frequency + occurrences);
          return frequency;
        }
    
        @Override
        Iterator<E> elementIterator() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 5.6K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/collect/AbstractSortedKeySortedSetMultimap.java

      }
    
      @Override
      public SortedMap<K, Collection<V>> asMap() {
        return (SortedMap<K, Collection<V>>) super.asMap();
      }
    
      @Override
      SortedMap<K, Collection<V>> backingMap() {
        return (SortedMap<K, Collection<V>>) super.backingMap();
      }
    
      @Override
      public SortedSet<K> keySet() {
        return (SortedSet<K>) super.keySet();
      }
    
      @Override
      Set<K> createKeySet() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/HashBasedTable.java

          int expectedRows, int expectedCellsPerRow) {
        checkNonnegative(expectedCellsPerRow, "expectedCellsPerRow");
        Map<R, Map<C, V>> backingMap = Maps.newLinkedHashMapWithExpectedSize(expectedRows);
        return new HashBasedTable<>(backingMap, new Factory<C, V>(expectedCellsPerRow));
      }
    
      /**
       * Creates a {@code HashBasedTable} with the same mappings as the specified table.
       *
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Jul 17 15:26:41 UTC 2025
    - 4.1K bytes
    - Viewed (0)
  9. guava/src/com/google/common/collect/HashBasedTable.java

          int expectedRows, int expectedCellsPerRow) {
        checkNonnegative(expectedCellsPerRow, "expectedCellsPerRow");
        Map<R, Map<C, V>> backingMap = Maps.newLinkedHashMapWithExpectedSize(expectedRows);
        return new HashBasedTable<>(backingMap, new Factory<C, V>(expectedCellsPerRow));
      }
    
      /**
       * Creates a {@code HashBasedTable} with the same mappings as the specified table.
       *
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Jul 17 15:26:41 UTC 2025
    - 4.1K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/reflect/MutableTypeToInstanceMap.java

      }
    
      @Override
      protected Map<TypeToken<? extends @NonNull B>, B> delegate() {
        return backingMap;
      }
    
      @SuppressWarnings("unchecked") // value could not get in if not a T
      private <T extends B> @Nullable T trustedPut(
          TypeToken<@NonNull T> type, @ParametricNullness T value) {
        return (T) backingMap.put(type, value);
      }
    
      @SuppressWarnings("unchecked") // value could not get in if not a T
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 5.7K bytes
    - Viewed (0)
Back to top