- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 24 for rowKeySet (0.15 sec)
-
android/guava/src/com/google/common/collect/StandardRowSortedTable.java
* single row key may or may not be ordered, depending on the implementation. When rows and columns * are both sorted, it's easier to use the {@link TreeBasedTable} subclass. * * <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 Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Jul 15 15:41:16 UTC 2021 - 4.3K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/ArrayTable.java
* * <p>The returned table allows subsequent {@code put} calls with the row keys in {@code * table.rowKeySet()} and the column keys in {@code table.columnKeySet()}. Calling {@link #put} * with other keys leads to an {@code IllegalArgumentException}. * * <p>The ordering of {@code table.rowKeySet()} and {@code table.columnKeySet()} determines the * row and column iteration ordering of the returned table. *
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 26.3K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/SynchronizedTableTest.java
public Map<C, V> row(R rowKey) { assertTrue(Thread.holdsLock(mutex)); return delegate.row(rowKey); } @Override public Set<R> rowKeySet() { assertTrue(Thread.holdsLock(mutex)); return delegate.rowKeySet(); } @Override public Map<R, Map<C, V>> rowMap() { assertTrue(Thread.holdsLock(mutex)); return delegate.rowMap(); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Aug 06 17:23:04 UTC 2024 - 4.6K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/NewCustomTableTest.java
populate(table, data); return table; } public void testRowKeySetOrdering() { table = create("foo", 3, 'a', "bar", 1, 'b', "foo", 2, 'c'); assertThat(table.rowKeySet()).containsExactly("foo", "bar").inOrder(); } public void testRowOrdering() { table = create("foo", 3, 'a', "bar", 1, 'b', "foo", 2, 'c'); assertThat(table.row("foo").keySet()).containsExactly(2, 3).inOrder();
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 2K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/EmptyImmutableTableTest.java
} public void testRow() { assertEquals(ImmutableMap.of(), INSTANCE.row('a')); } public void testRowKeySet() { assertEquals(ImmutableSet.of(), INSTANCE.rowKeySet()); } public void testRowMap() { assertEquals(ImmutableMap.of(), INSTANCE.rowMap()); } public void testValues() { assertTrue(INSTANCE.values().isEmpty()); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Feb 19 20:34:55 UTC 2024 - 3.2K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/SingletonImmutableTableTest.java
assertEquals(ImmutableMap.of(), testTable.row('A')); assertEquals(ImmutableMap.of(1, "blah"), testTable.row('a')); } public void testRowKeySet() { assertEquals(ImmutableSet.of('a'), testTable.rowKeySet()); } public void testRowMap() { assertEquals(ImmutableMap.of('a', ImmutableMap.of(1, "blah")), testTable.rowMap()); } public void testEqualsObject() { new EqualsTester()
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 00:05:46 UTC 2024 - 4K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/ImmutableTable.java
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} * * <p>The value {@code Map<C, V>} instances in the returned map are {@link ImmutableMap} instances * as well. */
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 17.5K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/RegularImmutableTableTest.java
} } public void testRowKeySet() { for (ImmutableTable<Character, Integer, String> testInstance : getTestInstances()) { assertEquals(ImmutableSet.of('a', 'b'), testInstance.rowKeySet()); } } public void testRowMap() { for (ImmutableTable<Character, Integer, String> testInstance : getTestInstances()) { assertEquals(
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 00:05:46 UTC 2024 - 6.3K bytes - Viewed (0) -
guava/src/com/google/common/collect/DenseImmutableTable.java
return cellRowIndices.length; } @Override Cell<R, C, V> getCell(int index) { int rowIndex = cellRowIndices[index]; int columnIndex = cellColumnIndices[index]; R rowKey = rowKeySet().asList().get(rowIndex); C columnKey = columnKeySet().asList().get(columnIndex); // requireNonNull is safe because we use indexes that were populated by the constructor.
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 00:05:46 UTC 2024 - 10.1K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/DenseImmutableTable.java
return cellRowIndices.length; } @Override Cell<R, C, V> getCell(int index) { int rowIndex = cellRowIndices[index]; int columnIndex = cellColumnIndices[index]; R rowKey = rowKeySet().asList().get(rowIndex); C columnKey = columnKeySet().asList().get(columnIndex); // requireNonNull is safe because we use indexes that were populated by the constructor.
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 00:05:46 UTC 2024 - 10.1K bytes - Viewed (0)