- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 13 for RowMap (0.04 seconds)
-
guava/src/com/google/common/collect/AbstractTable.java
@Override public boolean containsRow(@Nullable Object rowKey) { return Maps.safeContainsKey(rowMap(), rowKey); } @Override public boolean containsColumn(@Nullable Object columnKey) { return Maps.safeContainsKey(columnMap(), columnKey); } @Override public Set<R> rowKeySet() { return rowMap().keySet(); } @Override public Set<C> columnKeySet() { return columnMap().keySet();
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Mon Nov 17 22:50:48 GMT 2025 - 6.7K bytes - Click Count (0) -
guava/src/com/google/common/collect/SparseImmutableTable.java
@Override public ImmutableMap<R, Map<C, V>> rowMap() { // Casts without copying. return ImmutableMap.copyOf(rowMap); } @Override public int size() { return cellRowIndices.length; } @Override Cell<R, C, V> getCell(int index) { int rowIndex = cellRowIndices[index]; Entry<R, ImmutableMap<C, V>> rowEntry = rowMap.entrySet().asList().get(rowIndex);
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Mon Sep 22 21:07:18 GMT 2025 - 5.3K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/SparseImmutableTable.java
@Override public ImmutableMap<R, Map<C, V>> rowMap() { // Casts without copying. return ImmutableMap.copyOf(rowMap); } @Override public int size() { return cellRowIndices.length; } @Override Cell<R, C, V> getCell(int index) { int rowIndex = cellRowIndices[index]; Entry<R, ImmutableMap<C, V>> rowEntry = rowMap.entrySet().asList().get(rowIndex);
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Mon Sep 22 21:07:18 GMT 2025 - 5.3K bytes - Click Count (1) -
android/guava/src/com/google/common/collect/DenseImmutableTable.java
cellRowIndices[i] = rowIndex; cellColumnIndices[i] = columnIndex; } this.cellRowIndices = cellRowIndices; this.cellColumnIndices = cellColumnIndices; this.rowMap = new RowMap(); this.columnMap = new ColumnMap(); } /** An immutable map implementation backed by an indexed nullable array. */
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Mon Sep 22 21:07:18 GMT 2025 - 9.6K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/Tables.java
} @Override Collection<V2> createValues() { return Collections2.transform(fromTable.values(), function); } @Override public Map<R, Map<C, V2>> rowMap() { return Maps.transformValues(fromTable.rowMap(), row -> Maps.transformValues(row, function)); } @Override public Map<C, Map<R, V2>> columnMap() { return Maps.transformValues(Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Mon Sep 22 18:35:44 GMT 2025 - 24.9K bytes - Click Count (0) -
guava/src/com/google/common/collect/ArrayTable.java
} @LazyInit private transient @Nullable RowMap rowMap; @Override public Map<R, Map<C, @Nullable V>> rowMap() { RowMap map = rowMap; return (map == null) ? rowMap = new RowMap() : map; } @WeakOuter private final class RowMap extends ArrayMap<R, Map<C, @Nullable V>> { private RowMap() { super(rowKeyToIndex); } @Override
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Mon Nov 17 22:50:48 GMT 2025 - 26.9K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/SingletonImmutableTable.java
@Override public ImmutableMap<C, Map<R, V>> columnMap() { return ImmutableMap.of(singleColumnKey, (Map<R, V>) ImmutableMap.of(singleRowKey, singleValue)); } @Override public ImmutableMap<R, Map<C, V>> rowMap() { return ImmutableMap.of(singleRowKey, (Map<C, V>) ImmutableMap.of(singleColumnKey, singleValue)); } @Override public int size() { return 1; } @Override
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Mon Sep 22 21:07:18 GMT 2025 - 2.4K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/ImmutableTable.java
*/ @Override public ImmutableMap<C, V> row(R rowKey) { checkNotNull(rowKey, "rowKey"); return MoreObjects.firstNonNull((ImmutableMap<C, V>) rowMap().get(rowKey), ImmutableMap.of()); } @Override public ImmutableSet<R> rowKeySet() { return rowMap().keySet(); } /** * {@inheritDoc} * * <p>The value {@code Map<C, V>} instances in the returned map are {@link ImmutableMap} instances
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Mon Sep 22 21:07:18 GMT 2025 - 17.4K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/collect/EmptyImmutableTableTest.java
} public void testRowKeySet() { assertEquals(ImmutableSet.of(), INSTANCE.rowKeySet()); } public void testRowMap() { assertEquals(ImmutableMap.of(), INSTANCE.rowMap()); } public void testValues() { assertTrue(INSTANCE.values().isEmpty()); }
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Tue Oct 28 16:03:47 GMT 2025 - 3.3K bytes - Click Count (0) -
guava/src/com/google/common/collect/ImmutableTable.java
*/ @Override public ImmutableMap<C, V> row(R rowKey) { checkNotNull(rowKey, "rowKey"); return MoreObjects.firstNonNull((ImmutableMap<C, V>) rowMap().get(rowKey), ImmutableMap.of()); } @Override public ImmutableSet<R> rowKeySet() { return rowMap().keySet(); } /** * {@inheritDoc} * * <p>The value {@code Map<C, V>} instances in the returned map are {@link ImmutableMap} instances
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Mon Sep 22 21:07:18 GMT 2025 - 17.3K bytes - Click Count (0)