- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 25 for columnKeySet (0.09 sec)
-
android/guava-tests/test/com/google/common/collect/EmptyImmutableTableTest.java
} public void testColumn() { assertEquals(ImmutableMap.of(), INSTANCE.column(1)); } public void testColumnKeySet() { assertEquals(ImmutableSet.of(), INSTANCE.columnKeySet()); } public void testColumnMap() { assertEquals(ImmutableMap.of(), INSTANCE.columnMap()); } public void testContains() { assertFalse(INSTANCE.contains('a', 1)); }
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/src/com/google/common/collect/ImmutableTable.java
checkNotNull(columnKey, "columnKey"); return MoreObjects.firstNonNull( (ImmutableMap<R, V>) columnMap().get(columnKey), ImmutableMap.<R, V>of()); } @Override public ImmutableSet<C> columnKeySet() { return columnMap().keySet(); } /** * {@inheritDoc} * * <p>The value {@code Map<R, 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/SingletonImmutableTableTest.java
assertEquals(ImmutableMap.of(), testTable.column(0)); assertEquals(ImmutableMap.of('a', "blah"), testTable.column(1)); } public void testColumnKeySet() { assertEquals(ImmutableSet.of(1), testTable.columnKeySet()); } public void testColumnMap() { assertEquals(ImmutableMap.of(1, ImmutableMap.of('a', "blah")), testTable.columnMap()); } public void testRow() {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 00:05:46 UTC 2024 - 4K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/AbstractTableReadTest.java
} public void testColumnSetPartialOverlap() { table = create("foo", 1, 'a', "bar", 1, 'b', "foo", 2, 'c', "bar", 3, 'd'); assertThat(table.columnKeySet()).containsExactly(1, 2, 3); } @J2ktIncompatible @GwtIncompatible // NullPointerTester public void testNullPointerInstance() {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Oct 15 17:36:06 UTC 2024 - 6.6K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/RegularImmutableTableTest.java
} } public void testColumnKeySet() { for (ImmutableTable<Character, Integer, String> testInstance : getTestInstances()) { assertEquals(ImmutableSet.of(1, 2), testInstance.columnKeySet()); } } public void testColumnMap() { for (ImmutableTable<Character, Integer, String> testInstance : getTestInstances()) { assertEquals( ImmutableMap.of(
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/SparseImmutableTable.java
} @Override @J2ktIncompatible // serialization @GwtIncompatible // serialization Object writeReplace() { Map<C, Integer> columnKeyToIndex = Maps.indexMap(columnKeySet()); int[] cellColumnIndices = new int[cellSet().size()]; int i = 0; for (Cell<R, C, V> cell : cellSet()) { // requireNonNull is safe because the cell exists in the table.
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Nov 30 21:54:06 UTC 2023 - 5.6K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/SparseImmutableTable.java
} @Override @J2ktIncompatible // serialization @GwtIncompatible // serialization Object writeReplace() { Map<C, Integer> columnKeyToIndex = Maps.indexMap(columnKeySet()); int[] cellColumnIndices = new int[cellSet().size()]; int i = 0; for (Cell<R, C, V> cell : cellSet()) { // requireNonNull is safe because the cell exists in the table.
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Nov 30 21:54:06 UTC 2023 - 5.6K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/AbstractTableReadTest.java
} public void testColumnSetPartialOverlap() { table = create("foo", 1, 'a', "bar", 1, 'b', "foo", 2, 'c', "bar", 3, 'd'); assertThat(table.columnKeySet()).containsExactly(1, 2, 3); } @J2ktIncompatible @GwtIncompatible // NullPointerTester public void testNullPointerInstance() {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Oct 15 17:36:06 UTC 2024 - 6.6K bytes - Viewed (0) -
guava/src/com/google/common/collect/TreeBasedTable.java
* returns a {@link SortedMap}, instead of the {@link Set} and {@link Map} specified by the {@link * Table} interface. * * <p>The views returned by {@link #column}, {@link #columnKeySet()}, and {@link #columnMap()} have * iterators that don't support {@code remove()}. Otherwise, all optional operations are supported. * Null row keys, columns keys, and values are not supported. *
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 11.5K bytes - Viewed (0) -
guava/src/com/google/common/collect/DenseImmutableTable.java
@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. V value = requireNonNull(values[rowIndex][columnIndex]); return cellOf(rowKey, columnKey, value);
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 00:05:46 UTC 2024 - 10.1K bytes - Viewed (0)