Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 78 for containsValue (0.11 sec)

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

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

        public boolean isEmpty() {
          assertTrue(Thread.holdsLock(mutex));
          return delegate.isEmpty();
        }
    
        @Override
        public boolean containsValue(@Nullable Object value) {
          assertTrue(Thread.holdsLock(mutex));
          return delegate.containsValue(value);
        }
    
        @Override
        public void clear() {
          assertTrue(Thread.holdsLock(mutex));
          delegate.clear();
        }
    
        @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Aug 06 17:23:04 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  3. android/guava-testlib/src/com/google/common/collect/testing/features/MapFeature.java

       */
      ALLOWS_NULL_KEY_QUERIES,
      ALLOWS_NULL_KEYS(ALLOWS_NULL_KEY_QUERIES),
      /**
       * The map does not throw {@code NullPointerException} on calls such as {@code
       * containsValue(null)}, {@code values().contains(null)} or {@code values().remove(null)}.
       */
      ALLOWS_NULL_VALUE_QUERIES,
      ALLOWS_NULL_VALUES(ALLOWS_NULL_VALUE_QUERIES),
      /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 3K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/cache/LocalLoadingCacheTest.java

        assertNull(map.put(one, one));
        assertSame(one, map.get(one));
        assertTrue(map.containsKey(one));
        assertTrue(map.containsValue(one));
        Object two = new Object();
        assertSame(one, map.replace(one, two));
        assertTrue(map.containsKey(one));
        assertFalse(map.containsValue(one));
        Object three = new Object();
        assertTrue(map.replace(one, two, three));
        assertTrue(map.remove(one, three));
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 19:07:49 UTC 2024
    - 12.4K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/cache/LocalLoadingCacheTest.java

        assertNull(map.put(one, one));
        assertSame(one, map.get(one));
        assertTrue(map.containsKey(one));
        assertTrue(map.containsValue(one));
        Object two = new Object();
        assertSame(one, map.replace(one, two));
        assertTrue(map.containsKey(one));
        assertFalse(map.containsValue(one));
        Object three = new Object();
        assertTrue(map.replace(one, two, three));
        assertTrue(map.remove(one, three));
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 19:07:49 UTC 2024
    - 12.4K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/collect/AbstractTableReadTest.java

      }
    
      public void testContainsValue() {
        table = create("foo", 1, 'a', "bar", 1, 'b', "foo", 3, 'c');
        assertTrue(table.containsValue('a'));
        assertTrue(table.containsValue('b'));
        assertTrue(table.containsValue('c'));
        assertFalse(table.containsValue('x'));
        assertFalse(table.containsValue(null));
      }
    
      public void testGet() {
        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)
  7. android/guava-testlib/src/com/google/common/collect/testing/google/AbstractBiMapTester.java

              "Inverse should not contain key " + reversed.getKey(),
              inv.containsKey(reversed.getKey()));
          assertFalse(
              "Inverse should not contain value " + reversed.getValue(),
              inv.containsValue(reversed.getValue()));
          /*
           * TODO(cpovirk): This is a bit stronger than super.expectMissing(), which permits a <key,
           * someOtherValue> pair.
           */
          assertNull(
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  8. guava-testlib/src/com/google/common/collect/testing/MapInterfaceTest.java

          unmappedValue = getValueNotInPopulatedMap();
        } catch (UnsupportedOperationException e) {
          return;
        }
        assertFalse(map.containsValue(unmappedValue));
        assertTrue(map.containsValue(map.values().iterator().next()));
        if (allowsNullValues) {
          boolean unused = map.containsValue(null);
        } else {
          try {
            boolean unused2 = map.containsKey(null);
          } catch (NullPointerException optional) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 43.8K bytes
    - Viewed (0)
  9. guava/src/com/google/common/collect/ForwardingTable.java

      }
    
      @Override
      public boolean containsRow(@CheckForNull Object rowKey) {
        return delegate().containsRow(rowKey);
      }
    
      @Override
      public boolean containsValue(@CheckForNull Object value) {
        return delegate().containsValue(value);
      }
    
      @Override
      @CheckForNull
      public V get(@CheckForNull Object rowKey, @CheckForNull Object columnKey) {
        return delegate().get(rowKey, columnKey);
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jun 29 19:42:21 UTC 2021
    - 3.9K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/util/DocMap.java

        }
    
        @Override
        public boolean containsKey(final Object key) {
            return parent.containsKey(key);
        }
    
        @Override
        public boolean containsValue(final Object value) {
            return parent.containsValue(value);
        }
    
        @Override
        public Object get(final Object key) {
            return parent.get(key);
        }
    
        @Override
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 2.8K bytes
    - Viewed (0)
Back to top