- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 11 for rowMap (0.06 sec)
-
android/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 Sep 05 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/TreeBasedTable.java
* comparators for the row keys and the column keys, or you may use natural ordering for both. * * <p>The {@link #rowKeySet} method returns a {@link SortedSet} and the {@link #rowMap} method * returns a {@link SortedMap}, instead of the {@link Set} and {@link Map} specified by the {@link * Table} interface. *
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Fri Jul 18 15:05:43 UTC 2025 - 11.6K 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 Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Jul 17 15:26:41 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 Sep 05 12:43:10 UTC 2025 - Last Modified: Wed Aug 13 19:39:21 UTC 2025 - 26.8K bytes - Viewed (0) -
guava/src/com/google/common/collect/TreeBasedTable.java
* comparators for the row keys and the column keys, or you may use natural ordering for both. * * <p>The {@link #rowKeySet} method returns a {@link SortedSet} and the {@link #rowMap} method * returns a {@link SortedMap}, instead of the {@link Set} and {@link Map} specified by the {@link * Table} interface. *
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Fri Jul 18 15:05:43 UTC 2025 - 11.6K bytes - Viewed (0) -
guava/src/com/google/common/collect/StandardTable.java
} @LazyInit private transient @Nullable Map<R, Map<C, V>> rowMap; @Override public Map<R, Map<C, V>> rowMap() { Map<R, Map<C, V>> result = rowMap; return (result == null) ? rowMap = createRowMap() : result; } Map<R, Map<C, V>> createRowMap() { return new RowMap(); } @WeakOuter class RowMap extends ViewCachingAbstractMap<R, Map<C, V>> { @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) -
android/guava/src/com/google/common/collect/ImmutableTable.java
public ImmutableMap<C, V> row(R rowKey) { checkNotNull(rowKey, "rowKey"); return MoreObjects.firstNonNull( (ImmutableMap<C, V>) rowMap().get(rowKey), ImmutableMap.<C, V>of()); } @Override public ImmutableSet<R> rowKeySet() { return rowMap().keySet(); } /** * {@inheritDoc} *
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 17:27:14 UTC 2025 - 17.4K bytes - Viewed (0) -
guava/src/com/google/common/collect/ImmutableTable.java
public ImmutableMap<C, V> row(R rowKey) { checkNotNull(rowKey, "rowKey"); return MoreObjects.firstNonNull( (ImmutableMap<C, V>) rowMap().get(rowKey), ImmutableMap.<C, V>of()); } @Override public ImmutableSet<R> rowKeySet() { return rowMap().keySet(); } /** * {@inheritDoc} *
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 17:27:14 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 Sep 05 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 Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 35.5K bytes - Viewed (0)