Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 78 for containsValue (0.23 sec)

  1. src/main/java/org/codelibs/core/misc/DynamicProperties.java

        }
    
        @Override
        public boolean containsKey(final Object key) {
            return getProperties().containsKey(key);
        }
    
        @Override
        public boolean containsValue(final Object value) {
            return getProperties().containsValue(value);
        }
    
        @Override
        public Enumeration<Object> elements() {
            return getProperties().elements();
        }
    
        @Override
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 9.6K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/FilteredMultimapValues.java

      }
    
      @Override
      public Iterator<V> iterator() {
        return Maps.valueIterator(multimap.entries().iterator());
      }
    
      @Override
      public boolean contains(@CheckForNull Object o) {
        return multimap.containsValue(o);
      }
    
      @Override
      public int size() {
        return multimap.size();
      }
    
      @Override
      public boolean remove(@CheckForNull Object o) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 3K bytes
    - Viewed (0)
  3. guava/src/com/google/common/collect/AbstractBiMap.java

      }
    
      void setInverse(AbstractBiMap<V, K> inverse) {
        this.inverse = inverse;
      }
    
      // Query Operations (optimizations)
    
      @Override
      public boolean containsValue(@CheckForNull Object value) {
        return inverse.containsKey(value);
      }
    
      // Modification Operations
    
      @CanIgnoreReturnValue
      @Override
      @CheckForNull
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Aug 24 01:40:03 UTC 2023
    - 14.6K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/HashBiMap.java

        }
    
        @Override
        public boolean containsKey(@CheckForNull Object key) {
          return forward.containsValue(key);
        }
    
        @Override
        @CheckForNull
        public K get(@CheckForNull Object key) {
          return forward.getInverse(key);
        }
    
        @Override
        public boolean containsValue(@CheckForNull Object value) {
          return forward.containsKey(value);
        }
    
        @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Mar 06 16:06:58 UTC 2023
    - 36.4K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/core/collection/ArrayMapTest.java

        }
    
        /**
         * @throws Exception
         */
        @Test
        public void testContainsValue() throws Exception {
            assertThat(map.containsValue("test2"), is(true));
            assertThat(map.containsValue("test3"), is(not(true)));
        }
    
        /**
         * @throws Exception
         */
        @Test
        public void testContainsKey() throws Exception {
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 10.7K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/Tables.java

        @Override
        public boolean containsRow(@CheckForNull Object rowKey) {
          return original.containsColumn(rowKey);
        }
    
        @Override
        public boolean containsValue(@CheckForNull Object value) {
          return original.containsValue(value);
        }
    
        @Override
        @CheckForNull
        public V get(@CheckForNull Object rowKey, @CheckForNull Object columnKey) {
          return original.get(columnKey, rowKey);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 16 21:21:17 UTC 2024
    - 26.3K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/util/concurrent/AtomicLongMapTest.java

          map.put(key, value);
          if (value != 0L) {
            nonZeroKeys.add(key);
          }
        }
        assertEquals(ITERATIONS, map.size());
        assertTrue(map.asMap().containsValue(0L));
    
        map.removeAllZeros();
        assertFalse(map.asMap().containsValue(0L));
        assertEquals(ITERATIONS / 2, map.size());
        assertEquals(nonZeroKeys, map.asMap().keySet());
      }
    
      public void testClear() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Feb 13 14:28:25 UTC 2024
    - 17.4K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/Synchronized.java

          synchronized (mutex) {
            return delegate().containsKey(key);
          }
        }
    
        @Override
        public boolean containsValue(@CheckForNull Object value) {
          synchronized (mutex) {
            return delegate().containsValue(value);
          }
        }
    
        @Override
        public boolean containsEntry(@CheckForNull Object key, @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)
  9. guava/src/com/google/common/collect/Synchronized.java

          synchronized (mutex) {
            return delegate().containsKey(key);
          }
        }
    
        @Override
        public boolean containsValue(@CheckForNull Object value) {
          synchronized (mutex) {
            return delegate().containsValue(value);
          }
        }
    
        @Override
        public boolean containsEntry(@CheckForNull Object key, @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)
  10. guava-tests/test/com/google/common/collect/ImmutableListMultimapTest.java

        Multimap<String, Integer> multimap = createMultimap();
        assertTrue(multimap.containsKey("foo"));
        assertFalse(multimap.containsKey("cat"));
        assertTrue(multimap.containsValue(1));
        assertFalse(multimap.containsValue(5));
        assertTrue(multimap.containsEntry("foo", 1));
        assertFalse(multimap.containsEntry("cat", 1));
        assertFalse(multimap.containsEntry("foo", 5));
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 25.4K bytes
    - Viewed (0)
Back to top