- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 10 for containsRow (0.08 sec)
-
guava-tests/test/com/google/common/collect/AbstractTableReadTest.java
} public void testContainsRow() { table = create("foo", 1, 'a', "bar", 1, 'b', "foo", 3, 'c'); assertTrue(table.containsRow("foo")); assertTrue(table.containsRow("bar")); assertFalse(table.containsRow("cat")); assertFalse(table.containsRow(null)); } public void testContainsColumn() { table = create("foo", 1, 'a', "bar", 1, 'b', "foo", 3, 'c');
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/AbstractTableReadTest.java
} public void testContainsRow() { table = create("foo", 1, 'a', "bar", 1, 'b', "foo", 3, 'c'); assertTrue(table.containsRow("foo")); assertTrue(table.containsRow("bar")); assertFalse(table.containsRow("cat")); assertFalse(table.containsRow(null)); } public void testContainsColumn() { table = create("foo", 1, 'a', "bar", 1, 'b', "foo", 3, 'c');
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 testContainsRow() { for (ImmutableTable<Character, Integer, String> testInstance : getTestInstances()) { assertTrue(testInstance.containsRow('a')); assertTrue(testInstance.containsRow('b')); assertFalse(testInstance.containsRow('c')); } } public void testRow() { for (ImmutableTable<Character, Integer, String> testInstance : getTestInstances()) {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 00:05:46 UTC 2024 - 6.3K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/SingletonImmutableTableTest.java
assertTrue(testTable.containsColumn(1)); assertFalse(testTable.containsColumn(2)); } public void testContainsRow() { assertTrue(testTable.containsRow('a')); assertFalse(testTable.containsRow('A')); } public void testContainsValue() { assertTrue(testTable.containsValue("blah")); assertFalse(testTable.containsValue("")); } public void testGet() {
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-tests/test/com/google/common/collect/AbstractTableTest.java
} public void testClear() { table = create("foo", 1, 'a', "bar", 1, 'b', "foo", 3, 'c'); if (supportsRemove()) { table.clear(); assertEquals(0, table.size()); assertFalse(table.containsRow("foo")); } else { assertThrows(UnsupportedOperationException.class, () -> table.clear()); } } public void testPut() { assertNull(table.put("foo", 1, cellValue('a')));
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Oct 15 17:36:06 UTC 2024 - 5.8K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/Tables.java
return original.contains(columnKey, rowKey); } @Override public boolean containsColumn(@CheckForNull Object columnKey) { return original.containsRow(columnKey); } @Override public boolean containsRow(@CheckForNull Object rowKey) { return original.containsColumn(rowKey); } @Override public boolean containsValue(@CheckForNull Object value) {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 16 21:21:17 UTC 2024 - 26.3K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/AbstractTableTest.java
} public void testClear() { table = create("foo", 1, 'a', "bar", 1, 'b', "foo", 3, 'c'); if (supportsRemove()) { table.clear(); assertEquals(0, table.size()); assertFalse(table.containsRow("foo")); } else { assertThrows(UnsupportedOperationException.class, () -> table.clear()); } } public void testPut() { assertNull(table.put("foo", 1, cellValue('a')));
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Oct 15 17:36:06 UTC 2024 - 5.8K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/ArrayTable.java
/* * TODO(jlevy): Support only one of rowKey / columnKey being empty? If we * do, when columnKeys is empty but rowKeys isn't, rowKeyList() can contain * elements but rowKeySet() will be empty and containsRow() won't * acknowledge them. */ rowKeyToIndex = Maps.indexMap(rowList); columnKeyToIndex = Maps.indexMap(columnList); @SuppressWarnings("unchecked") @Nullable
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 26.3K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/Synchronized.java
synchronized (mutex) { return delegate().contains(rowKey, columnKey); } } @Override public boolean containsRow(@CheckForNull Object rowKey) { synchronized (mutex) { return delegate().containsRow(rowKey); } } @Override public boolean containsColumn(@CheckForNull Object columnKey) { synchronized (mutex) {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 53.4K bytes - Viewed (0) -
guava/src/com/google/common/collect/Synchronized.java
synchronized (mutex) { return delegate().contains(rowKey, columnKey); } } @Override public boolean containsRow(@CheckForNull Object rowKey) { synchronized (mutex) { return delegate().containsRow(rowKey); } } @Override public boolean containsColumn(@CheckForNull Object columnKey) { synchronized (mutex) {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 57.2K bytes - Viewed (0)