- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 69 for Row (0.12 sec)
-
guava-tests/test/com/google/common/collect/TableCollectionTest.java
return suite; } private static void populateForRowKeySet( Table<String, Integer, Character> table, String[] elements) { for (String row : elements) { table.put(row, 1, 'a'); table.put(row, 2, 'b'); } } private static void populateForColumnKeySet( Table<Integer, String, Character> table, String[] elements) { for (String column : elements) {
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Mon Feb 19 20:34:55 GMT 2024 - 35.3K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/RegularImmutableTableTest.java
for (ImmutableTable<Character, Integer, String> testInstance : getTestInstances()) { assertEquals(ImmutableMap.of(1, "foo", 2, "baz"), testInstance.row('a')); assertEquals(ImmutableMap.of(1, "bar"), testInstance.row('b')); assertEquals(ImmutableMap.of(), testInstance.row('c')); } } public void testRowKeySet() { for (ImmutableTable<Character, Integer, String> testInstance : getTestInstances()) {
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Mon Feb 19 20:34:55 GMT 2024 - 6.3K bytes - Viewed (0) -
guava/src/com/google/common/collect/ForwardingTable.java
@CheckForNull public V remove(@CheckForNull Object rowKey, @CheckForNull Object columnKey) { return delegate().remove(rowKey, columnKey); } @Override public Map<C, V> row(@ParametricNullness R rowKey) { return delegate().row(rowKey); } @Override public Set<R> rowKeySet() { return delegate().rowKeySet(); } @Override public Map<R, Map<C, V>> rowMap() {
Java - Registered: Fri Apr 05 12:43:09 GMT 2024 - Last Modified: Tue Jun 29 19:42:21 GMT 2021 - 3.9K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/ArrayTable.java
* * <p>The allowed row and column keys must be supplied when the table is created. The table always * contains a mapping for every row key / column pair. The value corresponding to a given row and * column is null unless another value is provided. * * <p>The table's size is constant: the product of the number of supplied row keys and the number of
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Thu Feb 22 21:19:52 GMT 2024 - 26.3K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/AbstractTableReadTest.java
table = create("foo", 1, 'a', "bar", 1, 'b', "foo", 3, 'c'); assertEquals(ImmutableMap.of(1, 'a', 3, 'c'), table.row("foo")); } // This test assumes that the implementation does not support null keys. public void testRowNull() { table = create("foo", 1, 'a', "bar", 1, 'b', "foo", 3, 'c'); try { table.row(null); fail(); } catch (NullPointerException expected) { } }
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Mon Mar 04 16:54:11 GMT 2024 - 6.6K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/AbstractTableReadTest.java
table = create("foo", 1, 'a', "bar", 1, 'b', "foo", 3, 'c'); assertEquals(ImmutableMap.of(1, 'a', 3, 'c'), table.row("foo")); } // This test assumes that the implementation does not support null keys. public void testRowNull() { table = create("foo", 1, 'a', "bar", 1, 'b', "foo", 3, 'c'); try { table.row(null); fail(); } catch (NullPointerException expected) { } }
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Mon Mar 04 16:54:11 GMT 2024 - 6.6K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/SynchronizedTableTest.java
assertTrue(Thread.holdsLock(mutex)); return delegate.remove(rowKey, columnKey); } @Override 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(); }
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Mon Mar 04 16:54:11 GMT 2024 - 4.6K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/StandardRowSortedTable.java
import java.util.SortedSet; import javax.annotation.CheckForNull; /** * Implementation of {@code Table} whose iteration ordering across row keys is sorted by their * natural ordering or by a supplied comparator. Note that iterations across the columns keys for a * 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. *
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Thu Jul 15 15:41:16 GMT 2021 - 4.3K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/SparseImmutableTable.java
// For each cell in iteration order, the index of that cell's row key in the row key list. @SuppressWarnings("Immutable") // We don't modify this after construction. private final int[] cellRowIndices; // For each cell in iteration order, the index of that cell's column key in the list of column // keys present in that row. @SuppressWarnings("Immutable") // We don't modify this after construction.
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Thu Nov 30 21:54:06 GMT 2023 - 5.6K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/UnmodifiableRowSortedTableRowTest.java
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Mon Feb 19 20:34:55 GMT 2024 - 1.5K bytes - Viewed (0)