- Sort Score
- Result 10 results
- Languages All
Results 1 - 9 of 9 for RowMap (0.03 sec)
-
guava-tests/test/com/google/common/collect/TreeBasedTableTest.java
assertSame(Ordering.natural(), sortedTable.rowMap().comparator()); sortedTable = TreeBasedTable.create(Collections.reverseOrder(), Ordering.usingToString()); assertSame(Collections.reverseOrder(), sortedTable.rowMap().comparator()); } public void testRowMapFirstKey() { sortedTable = create("foo", 1, 'a', "bar", 1, 'b', "foo", 3, 'c'); assertSame("bar", sortedTable.rowMap().firstKey()); }
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 15.1K bytes - Viewed (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(Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Mon Sep 22 18:35:44 UTC 2025 - 24.9K bytes - Viewed (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
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Mon Nov 17 22:50:48 UTC 2025 - 26.9K bytes - Viewed (0) -
android/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
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Wed Aug 13 19:39:21 UTC 2025 - 26.2K bytes - Viewed (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
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Mon Sep 22 21:07:18 UTC 2025 - 17.4K bytes - Viewed (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
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Mon Sep 22 21:07:18 UTC 2025 - 17.3K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/Table.java
* * <p>In contrast, the maps returned by {@code rowMap().get()} have the same behavior as those * returned by {@link #row}. Those maps may support {@code setValue()}, {@code put()}, and {@code * putAll()}. * * @return a map view from each row key to a secondary map from column keys to values */ Map<R, Map<C, V>> rowMap(); /**Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Jul 08 18:32:10 UTC 2025 - 10.5K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/TableCollectionTest.java
@Override protected Map<String, Map<Integer, Character>> makePopulatedMap() { Table<String, Integer, Character> table = makeTable(); populateTable(table); return table.rowMap(); } // `protected` to work around b/320650932 / KT-67447 runtime crash protected final void populateTable(Table<String, Integer, Character> table) { table.put("foo", 1, 'a');Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 35.5K bytes - Viewed (0) -
guava/src/com/google/common/collect/Table.java
* * <p>In contrast, the maps returned by {@code rowMap().get()} have the same behavior as those * returned by {@link #row}. Those maps may support {@code setValue()}, {@code put()}, and {@code * putAll()}. * * @return a map view from each row key to a secondary map from column keys to values */ Map<R, Map<C, V>> rowMap(); /**Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Jul 08 18:32:10 UTC 2025 - 10.5K bytes - Viewed (0)