Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for columnKeys (0.05 sec)

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

      private ArrayTable(Iterable<? extends R> rowKeys, Iterable<? extends C> columnKeys) {
        this.rowList = ImmutableList.copyOf(rowKeys);
        this.columnList = ImmutableList.copyOf(columnKeys);
        checkArgument(rowList.isEmpty() == columnList.isEmpty());
    
        /*
         * TODO(jlevy): Support only one of rowKey / columnKey being empty? If we
         * do, when columnKeys is empty but rowKeys isn't, rowKeyList() can contain
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Aug 13 19:39:21 UTC 2025
    - 26.8K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/collect/TableCollectionTest.java

                        List<Integer> columnKeys = new ArrayList<>();
                        for (Object element : elements) {
                          @SuppressWarnings("unchecked")
                          Cell<String, Integer, Character> cell =
                              (Cell<String, Integer, Character>) element;
                          columnKeys.add(cell.getColumnKey());
                        }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 35.5K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/AbstractTable.java

      public boolean contains(@Nullable Object rowKey, @Nullable Object columnKey) {
        Map<C, V> row = safeGet(rowMap(), rowKey);
        return row != null && Maps.safeContainsKey(row, columnKey);
      }
    
      @Override
      public @Nullable V get(@Nullable Object rowKey, @Nullable Object columnKey) {
        Map<C, V> row = safeGet(rowMap(), rowKey);
        return (row == null) ? null : safeGet(row, columnKey);
      }
    
      @Override
      public boolean isEmpty() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 6K bytes
    - Viewed (0)
  4. guava/src/com/google/common/collect/AbstractTable.java

      public boolean contains(@Nullable Object rowKey, @Nullable Object columnKey) {
        Map<C, V> row = safeGet(rowMap(), rowKey);
        return row != null && Maps.safeContainsKey(row, columnKey);
      }
    
      @Override
      public @Nullable V get(@Nullable Object rowKey, @Nullable Object columnKey) {
        Map<C, V> row = safeGet(rowMap(), rowKey);
        return (row == null) ? null : safeGet(row, columnKey);
      }
    
      @Override
      public boolean isEmpty() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 6.4K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/SingletonImmutableTable.java

      SingletonImmutableTable(R rowKey, C columnKey, V value) {
        this.singleRowKey = checkNotNull(rowKey);
        this.singleColumnKey = checkNotNull(columnKey);
        this.singleValue = checkNotNull(value);
      }
    
      SingletonImmutableTable(Cell<R, C, V> cell) {
        this(cell.getRowKey(), cell.getColumnKey(), cell.getValue());
      }
    
      @Override
      public ImmutableMap<R, V> column(C columnKey) {
        checkNotNull(columnKey);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Aug 06 14:59:07 UTC 2025
    - 2.4K bytes
    - Viewed (0)
  6. guava/src/com/google/common/collect/StandardTable.java

      @Override
      public Map<R, V> column(C columnKey) {
        return new Column(columnKey);
      }
    
      private final class Column extends ViewCachingAbstractMap<R, V> {
        final C columnKey;
    
        Column(C columnKey) {
          this.columnKey = checkNotNull(columnKey);
        }
    
        @Override
        public @Nullable V put(R key, V value) {
          return StandardTable.this.put(key, columnKey, value);
        }
    
        @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)
Back to top