Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for containsColumn (0.11 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. 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)
  3. 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)
  4. 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)
  5. 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)
  6. android/guava/src/com/google/common/collect/ArrayTable.java

        return containsRow(rowKey) && containsColumn(columnKey);
      }
    
      /**
       * Returns {@code true} if the provided column key is among the column keys provided when the
       * table was constructed.
       */
      @Override
      public boolean containsColumn(@CheckForNull Object columnKey) {
        return columnKeyToIndex.containsKey(columnKey);
      }
    
      /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 26.3K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/collect/Synchronized.java

          synchronized (mutex) {
            return delegate().containsRow(rowKey);
          }
        }
    
        @Override
        public boolean containsColumn(@CheckForNull Object columnKey) {
          synchronized (mutex) {
            return delegate().containsColumn(columnKey);
          }
        }
    
        @Override
        public boolean containsValue(@CheckForNull Object value) {
          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)
  8. guava/src/com/google/common/collect/Synchronized.java

          synchronized (mutex) {
            return delegate().containsRow(rowKey);
          }
        }
    
        @Override
        public boolean containsColumn(@CheckForNull Object columnKey) {
          synchronized (mutex) {
            return delegate().containsColumn(columnKey);
          }
        }
    
        @Override
        public boolean containsValue(@CheckForNull Object value) {
          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)
Back to top