Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 15 for containsColumn (0.13 sec)

  1. guava-tests/test/com/google/common/collect/AbstractTableReadTest.java

      }
    
      public void testContainsColumn() {
        table = create("foo", 1, 'a', "bar", 1, 'b', "foo", 3, 'c');
        assertTrue(table.containsColumn(1));
        assertTrue(table.containsColumn(3));
        assertFalse(table.containsColumn(2));
        assertFalse(table.containsColumn(null));
      }
    
      public void testContainsValue() {
        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)
  2. guava/src/com/google/common/collect/ForwardingTable.java

      public boolean contains(@CheckForNull Object rowKey, @CheckForNull Object columnKey) {
        return delegate().contains(rowKey, columnKey);
      }
    
      @Override
      public boolean containsColumn(@CheckForNull Object columnKey) {
        return delegate().containsColumn(columnKey);
      }
    
      @Override
      public boolean containsRow(@CheckForNull Object rowKey) {
        return delegate().containsRow(rowKey);
      }
    
      @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jun 29 19:42:21 UTC 2021
    - 3.9K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/collect/AbstractTableReadTest.java

      }
    
      public void testContainsColumn() {
        table = create("foo", 1, 'a', "bar", 1, 'b', "foo", 3, 'c');
        assertTrue(table.containsColumn(1));
        assertTrue(table.containsColumn(3));
        assertFalse(table.containsColumn(2));
        assertFalse(table.containsColumn(null));
      }
    
      public void testContainsValue() {
        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)
  4. android/guava-tests/test/com/google/common/collect/SynchronizedTableTest.java

          assertTrue(Thread.holdsLock(mutex));
          return delegate.contains(rowKey, columnKey);
        }
    
        @Override
        public boolean containsColumn(Object columnKey) {
          assertTrue(Thread.holdsLock(mutex));
          return delegate.containsColumn(columnKey);
        }
    
        @Override
        public boolean containsRow(Object rowKey) {
          assertTrue(Thread.holdsLock(mutex));
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Aug 06 17:23:04 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/collect/RegularImmutableTableTest.java

      }
    
      public void testContainsColumn() {
        for (ImmutableTable<Character, Integer, String> testInstance : getTestInstances()) {
          assertTrue(testInstance.containsColumn(1));
          assertTrue(testInstance.containsColumn(2));
          assertFalse(testInstance.containsColumn(3));
        }
      }
    
      public void testContainsRow() {
        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)
  6. android/guava-tests/test/com/google/common/collect/SingletonImmutableTableTest.java

        assertFalse(testTable.contains('A', 1));
        assertFalse(testTable.contains('A', 2));
      }
    
      public void testContainsColumn() {
        assertTrue(testTable.containsColumn(1));
        assertFalse(testTable.containsColumn(2));
      }
    
      public void testContainsRow() {
        assertTrue(testTable.containsRow('a'));
        assertFalse(testTable.containsRow('A'));
      }
    
      public void testContainsValue() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 4K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/collect/SingletonImmutableTable.java

        this(cell.getRowKey(), cell.getColumnKey(), cell.getValue());
      }
    
      @Override
      public ImmutableMap<R, V> column(C columnKey) {
        checkNotNull(columnKey);
        return containsColumn(columnKey)
            ? ImmutableMap.of(singleRowKey, singleValue)
            : ImmutableMap.<R, V>of();
      }
    
      @Override
      public ImmutableMap<C, Map<R, V>> columnMap() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Nov 30 21:54:06 UTC 2023
    - 2.5K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/collect/SynchronizedTableTest.java

          assertTrue(Thread.holdsLock(mutex));
          return delegate.contains(rowKey, columnKey);
        }
    
        @Override
        public boolean containsColumn(Object columnKey) {
          assertTrue(Thread.holdsLock(mutex));
          return delegate.containsColumn(columnKey);
        }
    
        @Override
        public boolean containsRow(Object rowKey) {
          assertTrue(Thread.holdsLock(mutex));
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Aug 06 17:23:04 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/collect/EmptyImmutableTableTest.java

        assertEquals(ImmutableMap.of(), INSTANCE.columnMap());
      }
    
      public void testContains() {
        assertFalse(INSTANCE.contains('a', 1));
      }
    
      public void testContainsColumn() {
        assertFalse(INSTANCE.containsColumn(1));
      }
    
      public void testContainsRow() {
        assertFalse(INSTANCE.containsRow('a'));
      }
    
      public void testContainsValue() {
        assertFalse(INSTANCE.containsValue("blah"));
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Feb 19 20:34:55 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  10. 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)
Back to top