Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 11 for columnMap (0.11 sec)

  1. android/guava-tests/test/com/google/common/collect/UnmodifiableRowSortedTableColumnMapTest.java

        RowSortedTable<Integer, String, Character> table = TreeBasedTable.create();
        table.put(1, "foo", 'a');
        table.put(1, "bar", 'b');
        table.put(3, "foo", 'c');
        return unmodifiableRowSortedTable(table).columnMap();
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/collect/UnmodifiableTableColumnMapTest.java

        Table<Integer, String, Character> table = HashBasedTable.create();
        table.put(1, "foo", 'a');
        table.put(1, "bar", 'b');
        table.put(3, "foo", 'c');
        return unmodifiableTable(table).columnMap();
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/collect/TransposedTableTest.java

        original.put(1, "foo", 'a');
        assertSame(original.columnKeySet(), transpose.rowKeySet());
        assertSame(original.rowKeySet(), transpose.columnKeySet());
        assertSame(original.columnMap(), transpose.rowMap());
        assertSame(original.rowMap(), transpose.columnMap());
        assertSame(original.values(), transpose.values());
        assertEquals(original.row(1), transpose.column(1));
        assertEquals(original.row(2), transpose.column(2));
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 2.8K 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. android/guava-tests/test/com/google/common/collect/UnmodifiableTableColumnMapTest.java

        Table<Integer, String, Character> table = HashBasedTable.create();
        table.put(1, "foo", 'a');
        table.put(1, "bar", 'b');
        table.put(3, "foo", 'c');
        return unmodifiableTable(table).columnMap();
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  7. 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)
  8. 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/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)
  10. android/guava/src/com/google/common/collect/Synchronized.java

                      }
                    }),
                mutex);
          }
        }
    
        @Override
        public Map<C, Map<R, V>> columnMap() {
          synchronized (mutex) {
            return map(
                transformValues(
                    delegate().columnMap(),
                    new com.google.common.base.Function<Map<R, V>, Map<R, V>>() {
                      @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 53.4K bytes
    - Viewed (0)
Back to top