/external/guava/guava/src/com/google/common/collect/ |
D | StandardTable.java | 80 @Nullable Object rowKey, @Nullable Object columnKey) { in contains() argument 81 return rowKey != null && columnKey != null && super.contains(rowKey, columnKey); in contains() 84 @Override public boolean containsColumn(@Nullable Object columnKey) { in containsColumn() argument 85 if (columnKey == null) { in containsColumn() 89 if (safeContainsKey(map, columnKey)) { in containsColumn() 104 @Override public V get(@Nullable Object rowKey, @Nullable Object columnKey) { in get() argument 105 return (rowKey == null || columnKey == null) in get() 107 : super.get(rowKey, columnKey); in get() 137 @Override public V put(R rowKey, C columnKey, V value) { in put() argument 139 checkNotNull(columnKey); in put() [all …]
|
D | ForwardingTable.java | 53 public Map<R, V> column(C columnKey) { in column() argument 54 return delegate().column(columnKey); in column() 68 public boolean contains(Object rowKey, Object columnKey) { in contains() argument 69 return delegate().contains(rowKey, columnKey); in contains() 73 public boolean containsColumn(Object columnKey) { in containsColumn() argument 74 return delegate().containsColumn(columnKey); in containsColumn() 88 public V get(Object rowKey, Object columnKey) { in get() argument 89 return delegate().get(rowKey, columnKey); in get() 98 public V put(R rowKey, C columnKey, V value) { in put() argument 99 return delegate().put(rowKey, columnKey, value); in put() [all …]
|
D | Tables.java | 66 @Nullable R rowKey, @Nullable C columnKey, @Nullable V value) { in immutableCell() argument 67 return new ImmutableCell<R, C, V>(rowKey, columnKey, value); in immutableCell() 73 private final C columnKey; field in Tables.ImmutableCell 77 @Nullable R rowKey, @Nullable C columnKey, @Nullable V value) { in ImmutableCell() argument 79 this.columnKey = columnKey; in ImmutableCell() 89 return columnKey; in getColumnKey() 158 public Map<C, V> column(R columnKey) { in column() argument 159 return original.row(columnKey); in column() 174 @Nullable Object rowKey, @Nullable Object columnKey) { in contains() argument 175 return original.contains(columnKey, rowKey); in contains() [all …]
|
D | HashBasedTable.java | 118 @Nullable Object rowKey, @Nullable Object columnKey) { in contains() argument 119 return super.contains(rowKey, columnKey); in contains() 122 @Override public boolean containsColumn(@Nullable Object columnKey) { in containsColumn() argument 123 return super.containsColumn(columnKey); in containsColumn() 134 @Override public V get(@Nullable Object rowKey, @Nullable Object columnKey) { in get() argument 135 return super.get(rowKey, columnKey); in get() 143 @Nullable Object rowKey, @Nullable Object columnKey) { in remove() argument 144 return super.remove(rowKey, columnKey); in remove()
|
D | ImmutableTable.java | 62 C columnKey, V value) { in of() argument 63 return new SingletonImmutableTable<R, C, V>(rowKey, columnKey, value); in of() 126 static <R, C, V> Cell<R, C, V> cellOf(R rowKey, C columnKey, V value) { in cellOf() argument 127 return Tables.immutableCell(checkNotNull(rowKey), checkNotNull(columnKey), in cellOf() 190 public Builder<R, C, V> put(R rowKey, C columnKey, V value) { in put() argument 191 cells.add(cellOf(rowKey, columnKey, value)); in put() 282 @Override public ImmutableMap<R, V> column(C columnKey) { in column() argument 283 checkNotNull(columnKey); in column() 285 (ImmutableMap<R, V>) columnMap().get(columnKey), in column() 326 public boolean contains(@Nullable Object rowKey, @Nullable Object columnKey) { in contains() argument [all …]
|
D | AbstractTable.java | 42 public boolean containsColumn(@Nullable Object columnKey) { in containsColumn() argument 43 return Maps.safeContainsKey(columnMap(), columnKey); in containsColumn() 67 public boolean contains(@Nullable Object rowKey, @Nullable Object columnKey) { in contains() argument 69 return row != null && Maps.safeContainsKey(row, columnKey); in contains() 73 public V get(@Nullable Object rowKey, @Nullable Object columnKey) { in get() argument 75 return (row == null) ? null : Maps.safeGet(row, columnKey); in get() 89 public V remove(@Nullable Object rowKey, @Nullable Object columnKey) { in remove() argument 91 return (row == null) ? null : Maps.safeRemove(row, columnKey); in remove() 95 public V put(R rowKey, C columnKey, V value) { in put() argument 96 return row(rowKey).put(columnKey, value); in put()
|
D | Table.java | 70 boolean contains(@Nullable Object rowKey, @Nullable Object columnKey); in contains() argument 86 boolean containsColumn(@Nullable Object columnKey); in containsColumn() argument 103 V get(@Nullable Object rowKey, @Nullable Object columnKey); in get() argument 143 V put(R rowKey, C columnKey, V value); in put() argument 162 V remove(@Nullable Object rowKey, @Nullable Object columnKey); in remove() argument 192 Map<R, V> column(C columnKey); in column() argument
|
D | SingletonImmutableTable.java | 36 SingletonImmutableTable(R rowKey, C columnKey, V value) { in SingletonImmutableTable() argument 38 this.singleColumnKey = checkNotNull(columnKey); in SingletonImmutableTable() 46 @Override public ImmutableMap<R, V> column(C columnKey) { in column() argument 47 checkNotNull(columnKey); in column() 48 return containsColumn(columnKey) in column()
|
D | ArrayTable.java | 409 public boolean contains(@Nullable Object rowKey, @Nullable Object columnKey) { 410 return containsRow(rowKey) && containsColumn(columnKey); 418 public boolean containsColumn(@Nullable Object columnKey) { 419 return columnKeyToIndex.containsKey(columnKey); 444 public V get(@Nullable Object rowKey, @Nullable Object columnKey) { 446 Integer columnIndex = columnKeyToIndex.get(columnKey); 466 public V put(R rowKey, C columnKey, @Nullable V value) { 468 checkNotNull(columnKey); 471 Integer columnIndex = columnKeyToIndex.get(columnKey); 473 "Column %s not in %s", columnKey, columnList); [all …]
|
D | DenseImmutableTable.java | 67 C columnKey = cell.getColumnKey(); in DenseImmutableTable() local 69 int columnIndex = columnKeyToIndex.get(columnKey); in DenseImmutableTable() 71 checkArgument(existingValue == null, "duplicate key: (%s, %s)", rowKey, columnKey); in DenseImmutableTable() 252 @Nullable Object columnKey) { 254 Integer columnIndex = columnKeyToIndex.get(columnKey); 269 C columnKey = columnKeySet().asList().get(columnIndex); 271 return cellOf(rowKey, columnKey, value);
|
D | SparseImmutableTable.java | 54 C columnKey = cell.getColumnKey(); in SparseImmutableTable() local 60 V oldValue = thisRow.put(columnKey, value); in SparseImmutableTable() 63 + columnKey + ": " + value + ", " + oldValue); in SparseImmutableTable() 65 columns.get(columnKey).put(rowKey, value); in SparseImmutableTable()
|
/external/guava/guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ |
D | ArrayTable.java | 385 public boolean contains(@Nullable Object rowKey, @Nullable Object columnKey) { 386 return containsRow(rowKey) && containsColumn(columnKey); 394 public boolean containsColumn(@Nullable Object columnKey) { 395 return columnKeyToIndex.containsKey(columnKey); 420 public V get(@Nullable Object rowKey, @Nullable Object columnKey) { 422 Integer columnIndex = columnKeyToIndex.get(columnKey); 442 public V put(R rowKey, C columnKey, @Nullable V value) { 444 checkNotNull(columnKey); 447 Integer columnIndex = columnKeyToIndex.get(columnKey); 449 "Column %s not in %s", columnKey, columnList); [all …]
|
/external/guava/guava-gwt/src/com/google/common/collect/ |
D | SingletonImmutableTable_CustomFieldSerializer.java | 34 Object columnKey = reader.readObject(); in instantiate() local 36 return new SingletonImmutableTable<Object, Object, Object>(rowKey, columnKey, value); in instantiate()
|
D | GwtSerializationDependencies.java | 126 C columnKey; field in GwtSerializationDependencies.ImmutableTableDependencies
|
/external/autotest/frontend/client/src/autotest/common/table/ |
D | DataTable.java | 149 String columnKey = columns[i][0]; in getRowText() local 150 JSONValue columnValue = row.get(columnKey); in getRowText()
|