Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 10 for columnMap (0.07 sec)

  1. guava/src/com/google/common/collect/DenseImmutableTable.java

        Object writeReplace() {
          return super.writeReplace();
        }
      }
    
      @Override
      public ImmutableMap<C, Map<R, V>> columnMap() {
        // Casts without copying.
        ImmutableMap<C, ImmutableMap<R, V>> columnMap = this.columnMap;
        return ImmutableMap.<C, Map<R, V>>copyOf(columnMap);
      }
    
      @Override
      public ImmutableMap<R, Map<C, V>> rowMap() {
        // Casts without copying.
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 10.1K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/DenseImmutableTable.java

        Object writeReplace() {
          return super.writeReplace();
        }
      }
    
      @Override
      public ImmutableMap<C, Map<R, V>> columnMap() {
        // Casts without copying.
        ImmutableMap<C, ImmutableMap<R, V>> columnMap = this.columnMap;
        return ImmutableMap.<C, Map<R, V>>copyOf(columnMap);
      }
    
      @Override
      public ImmutableMap<R, Map<C, V>> rowMap() {
        // Casts without copying.
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 10.1K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/Tables.java

        @Override
        public Map<C, Map<R, V2>> columnMap() {
          Function<Map<R, V1>, Map<R, V2>> columnFunction =
              new Function<Map<R, V1>, Map<R, V2>>() {
                @Override
                public Map<R, V2> apply(Map<R, V1> column) {
                  return Maps.transformValues(column, function);
                }
              };
          return Maps.transformValues(fromTable.columnMap(), columnFunction);
        }
      }
    
      /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 16 21:21:17 UTC 2024
    - 26.3K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/ArrayTable.java

      }
    
      @LazyInit @CheckForNull private transient ColumnMap columnMap;
    
      @Override
      public Map<C, Map<R, @Nullable V>> columnMap() {
        ColumnMap map = columnMap;
        return (map == null) ? columnMap = new ColumnMap() : map;
      }
    
      @WeakOuter
      private class ColumnMap extends ArrayMap<C, Map<R, @Nullable V>> {
        private ColumnMap() {
          super(columnKeyToIndex);
        }
    
        @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 26.3K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/ImmutableTable.java

        checkNotNull(columnKey, "columnKey");
        return MoreObjects.firstNonNull(
            (ImmutableMap<R, V>) columnMap().get(columnKey), ImmutableMap.<R, V>of());
      }
    
      @Override
      public ImmutableSet<C> columnKeySet() {
        return columnMap().keySet();
      }
    
      /**
       * {@inheritDoc}
       *
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 17.5K bytes
    - Viewed (0)
  6. guava/src/com/google/common/collect/Table.java

       *
       * <p>In contrast, the maps returned by {@code columnMap().get()} have the same behavior as those
       * returned by {@link #column}. Those maps may support {@code setValue()}, {@code put()}, and
       * {@code putAll()}.
       *
       * @return a map view from each column key to a secondary map from row keys to values
       */
      Map<C, Map<R, V>> columnMap();
    
      /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Jun 17 14:40:53 UTC 2023
    - 10.7K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/collect/Table.java

       *
       * <p>In contrast, the maps returned by {@code columnMap().get()} have the same behavior as those
       * returned by {@link #column}. Those maps may support {@code setValue()}, {@code put()}, and
       * {@code putAll()}.
       *
       * @return a map view from each column key to a secondary map from row keys to values
       */
      Map<C, Map<R, V>> columnMap();
    
      /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Jun 17 14:40:53 UTC 2023
    - 10.7K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/collect/TableCollectionTest.java

          table.put(1, "foo", 'a');
          table.put(1, "bar", 'b');
          table.put(3, "foo", 'c');
          return table.columnMap();
        }
    
        @Override
        protected Map<String, Map<Integer, Character>> makeEmptyMap() {
          return makeTable().columnMap();
        }
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 35.2K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/collect/TableCollectionTest.java

          table.put(1, "foo", 'a');
          table.put(1, "bar", 'b');
          table.put(3, "foo", 'c');
          return table.columnMap();
        }
    
        @Override
        protected Map<String, Map<Integer, Character>> makeEmptyMap() {
          return makeTable().columnMap();
        }
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 35.2K bytes
    - Viewed (0)
  10. guava/src/com/google/common/collect/TreeBasedTable.java

     * returns a {@link SortedMap}, instead of the {@link Set} and {@link Map} specified by the {@link
     * Table} interface.
     *
     * <p>The views returned by {@link #column}, {@link #columnKeySet()}, and {@link #columnMap()} have
     * iterators that don't support {@code remove()}. Otherwise, all optional operations are supported.
     * Null row keys, columns keys, and values are not supported.
     *
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 11.5K bytes
    - Viewed (0)
Back to top