Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for backingMap (0.08 sec)

  1. 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
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 30.2K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/TreeBasedTable.java

        // If the row was previously empty, we check if there's a new row here every time we're queried.
        void updateWholeRowField() {
          if (wholeRow == null || (wholeRow.isEmpty() && backingMap.containsKey(rowKey))) {
            wholeRow = (SortedMap<C, V>) backingMap.get(rowKey);
          }
        }
    
        @Override
        @Nullable SortedMap<C, V> computeBackingRowMap() {
          updateWholeRowField();
          SortedMap<C, V> map = wholeRow;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Fri Jul 18 15:05:43 UTC 2025
    - 11.6K bytes
    - Viewed (0)
  3. 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.
       *
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Jul 17 15:26:41 UTC 2025
    - 24.9K bytes
    - Viewed (0)
  4. guava/src/com/google/common/collect/TreeBasedTable.java

        // If the row was previously empty, we check if there's a new row here every time we're queried.
        void updateWholeRowField() {
          if (wholeRow == null || (wholeRow.isEmpty() && backingMap.containsKey(rowKey))) {
            wholeRow = (SortedMap<C, V>) backingMap.get(rowKey);
          }
        }
    
        @Override
        @Nullable SortedMap<C, V> computeBackingRowMap() {
          updateWholeRowField();
          SortedMap<C, V> map = wholeRow;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Fri Jul 18 15:05:43 UTC 2025
    - 11.6K bytes
    - Viewed (0)
  5. guava/src/com/google/common/collect/AbstractMapBasedMultimap.java

       * @return an empty collection of values
       */
      Collection<V> createCollection(@ParametricNullness K key) {
        return createCollection();
      }
    
      Map<K, Collection<V>> backingMap() {
        return map;
      }
    
      // Query Operations
    
      @Override
      public int size() {
        return totalSize;
      }
    
      @Override
      public boolean containsKey(@Nullable Object key) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue Aug 12 15:51:57 UTC 2025
    - 48.2K bytes
    - Viewed (0)
Back to top