Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 11 for backingMap (0.25 seconds)

  1. 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;
      }
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Mar 08 16:16:42 GMT 2026
    - 7.1K bytes
    - Click Count (0)
  2. 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.
       *
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 13:11:08 GMT 2026
    - 4.1K bytes
    - Click Count (0)
  3. 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.
       *
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 13:11:08 GMT 2026
    - 4.1K bytes
    - Click Count (0)
  4. guava-tests/test/com/google/common/collect/ForwardingMapTest.java

      static class StandardImplForwardingMap<K, V> extends ForwardingMap<K, V> {
        private final Map<K, V> backingMap;
    
        StandardImplForwardingMap(Map<K, V> backingMap) {
          this.backingMap = backingMap;
        }
    
        @Override
        protected Map<K, V> delegate() {
          return backingMap;
        }
    
        @Override
        public boolean containsKey(Object key) {
          return standardContainsKey(key);
        }
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 12 17:47:10 GMT 2026
    - 12.4K bytes
    - Click Count (0)
  5. guava-tests/test/com/google/common/collect/ConcurrentHashMultisetTest.java

      ConcurrentMap<String, AtomicInteger> backingMap;
      ConcurrentHashMultiset<String> multiset;
    
      @SuppressWarnings("unchecked")
      @Override
      protected void setUp() {
        backingMap = mock(ConcurrentMap.class);
        when(backingMap.isEmpty()).thenReturn(true);
    
        multiset = ConcurrentHashMultiset.create(backingMap);
      }
    
      public void testCount_elementPresent() {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 12 17:47:10 GMT 2026
    - 16.3K bytes
    - Click Count (0)
  6. android/guava/src/com/google/common/collect/Tables.java

        checkArgument(backingMap.isEmpty());
        checkNotNull(factory);
        // TODO(jlevy): Wrap factory to validate that the supplied maps are empty?
        return new StandardTable<>(backingMap, factory);
      }
    
      /**
       * Returns a view of a table where each value is transformed by a function. All other properties
       * of the table, such as iteration order, are left intact.
       *
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Feb 23 19:19:10 GMT 2026
    - 24.9K bytes
    - Click Count (0)
  7. guava/src/com/google/common/collect/StandardTable.java

     */
    @GwtCompatible
    class StandardTable<R, C, V> extends AbstractTable<R, C, V> implements Serializable {
      final Map<R, Map<C, V>> backingMap;
      final Supplier<? extends Map<C, V>> factory;
    
      StandardTable(Map<R, Map<C, V>> backingMap, Supplier<? extends Map<C, V>> factory) {
        this.backingMap = backingMap;
        this.factory = factory;
      }
    
      // Accessors
    
      @Override
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Mar 08 16:16:42 GMT 2026
    - 30.4K bytes
    - Click Count (0)
  8. guava/src/com/google/common/collect/Tables.java

        checkArgument(backingMap.isEmpty());
        checkNotNull(factory);
        // TODO(jlevy): Wrap factory to validate that the supplied maps are empty?
        return new StandardTable<>(backingMap, factory);
      }
    
      /**
       * Returns a view of a table where each value is transformed by a function. All other properties
       * of the table, such as iteration order, are left intact.
       *
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Mar 08 16:16:42 GMT 2026
    - 25.3K bytes
    - Click Count (0)
  9. android/guava/src/com/google/common/collect/Multimaps.java

        @GwtIncompatible
        @J2ktIncompatible
            private void writeObject(ObjectOutputStream stream) throws IOException {
          stream.defaultWriteObject();
          stream.writeObject(factory);
          stream.writeObject(backingMap());
        }
    
        @GwtIncompatible
        @J2ktIncompatible
            @SuppressWarnings("unchecked") // reading data stored by writeObject
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Feb 23 19:19:10 GMT 2026
    - 86K bytes
    - Click Count (0)
  10. guava/src/com/google/common/collect/Multimaps.java

        @GwtIncompatible
        @J2ktIncompatible
            private void writeObject(ObjectOutputStream stream) throws IOException {
          stream.defaultWriteObject();
          stream.writeObject(factory);
          stream.writeObject(backingMap());
        }
    
        @GwtIncompatible
        @J2ktIncompatible
            @SuppressWarnings("unchecked") // reading data stored by writeObject
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Feb 23 19:19:10 GMT 2026
    - 86.3K bytes
    - Click Count (0)
Back to Top