- Sort Score
- Num 10 results
- Language All
Results 1 - 6 of 6 for columnKeys (0.06 seconds)
-
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
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sun Mar 08 16:16:42 GMT 2026 - 26.9K bytes - Click Count (0) -
guava/src/com/google/common/collect/Tables.java
@ParametricNullness C columnKey, @ParametricNullness V value) { this.rowKey = rowKey; this.columnKey = columnKey; this.value = value; } @Override @ParametricNullness public R getRowKey() { return rowKey; } @Override @ParametricNullness public C getColumnKey() { return columnKey; } @OverrideCreated: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sun Mar 08 16:16:42 GMT 2026 - 25.3K bytes - Click Count (0) -
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() {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sun Mar 08 16:16:42 GMT 2026 - 6.7K bytes - Click Count (0) -
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
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sun Mar 08 16:16:42 GMT 2026 - 30.4K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/HashBasedTable.java
* * <p>Lookups by row key are often faster than lookups by column key, because the data is stored in * a {@code Map<R, Map<C, V>>}. A method call like {@code column(columnKey).get(rowKey)} still runs * quickly, since the row key is provided. However, {@code column(columnKey).size()} takes longer, * since an iteration across all row keys occurs. * * <p>Note that this implementation is not synchronized. If multiple threads access this tableCreated: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 16 13:11:08 GMT 2026 - 4.1K bytes - Click Count (0) -
guava/src/com/google/common/collect/HashBasedTable.java
* * <p>Lookups by row key are often faster than lookups by column key, because the data is stored in * a {@code Map<R, Map<C, V>>}. A method call like {@code column(columnKey).get(rowKey)} still runs * quickly, since the row key is provided. However, {@code column(columnKey).size()} takes longer, * since an iteration across all row keys occurs. * * <p>Note that this implementation is not synchronized. If multiple threads access this tableCreated: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 16 13:11:08 GMT 2026 - 4.1K bytes - Click Count (0)