- Sort Score
- Result 10 results
- Languages All
Results 71 - 78 of 78 for containsValue (0.14 sec)
-
android/guava/src/com/google/common/collect/ArrayTable.java
* constructed. */ @Override public boolean containsRow(@CheckForNull Object rowKey) { return rowKeyToIndex.containsKey(rowKey); } @Override public boolean containsValue(@CheckForNull Object value) { for (@Nullable V[] row : array) { for (V element : row) { if (Objects.equal(value, element)) { return true; } } }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 26.3K bytes - Viewed (0) -
src/main/java/org/codelibs/core/collection/ArrayMap.java
Registered: Fri Nov 01 20:58:10 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 20.6K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/MultimapsTest.java
assertEquals(multimap.hashCode(), multimapView.hashCode()); assertEquals(multimap.size(), multimapView.size()); assertTrue(multimapView.containsKey("foo")); assertTrue(multimapView.containsValue(1)); assertTrue(multimapView.containsEntry("bar", 2)); assertEquals(singleton(1), multimapView.get("foo")); assertEquals(singleton(2), multimapView.get("bar"));
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 38.4K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/graph/TraverserTest.java
return new SuccessorsFunction<Character>() { @Override public Iterable<? extends Character> successors(Character node) { checkArgument( graphMap.containsKey(node) || graphMap.containsValue(node), "Node %s is not an element of this graph", node); return Ordering.natural().immutableSortedCopy(graphMap.get(node)); } }; }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Sep 06 17:04:31 UTC 2023 - 47.5K bytes - Viewed (0) -
guava-tests/test/com/google/common/graph/TraverserTest.java
return new SuccessorsFunction<Character>() { @Override public Iterable<? extends Character> successors(Character node) { checkArgument( graphMap.containsKey(node) || graphMap.containsValue(node), "Node %s is not an element of this graph", node); return Ordering.natural().immutableSortedCopy(graphMap.get(node)); } }; }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Sep 06 17:04:31 UTC 2023 - 47.5K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/ImmutableMap.java
public boolean isEmpty() { return size() == 0; } @Override public boolean containsKey(@CheckForNull Object key) { return get(key) != null; } @Override public boolean containsValue(@CheckForNull Object value) { return values().contains(value); } // Overriding to mark it Nullable @Override @CheckForNull public abstract V get(@CheckForNull Object key); /**
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 41.5K bytes - Viewed (0) -
guava/src/com/google/common/collect/ImmutableMap.java
public boolean isEmpty() { return size() == 0; } @Override public boolean containsKey(@CheckForNull Object key) { return get(key) != null; } @Override public boolean containsValue(@CheckForNull Object value) { return values().contains(value); } // Overriding to mark it Nullable @Override @CheckForNull public abstract V get(@CheckForNull Object key);
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 44.6K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/cache/CacheLoadingTest.java
for (Object key : lookupKeys) { assertTrue(cache.asMap().containsKey(key)); } assertSame(extraValue, cache.asMap().get(extraKey)); assertFalse(cache.asMap().containsValue(extraKey)); } public void testBulkLoad_partial() throws ExecutionException { final Object extraKey = new Object(); final Object extraValue = new Object(); CacheLoader<Object, Object> loader =
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Oct 18 19:07:49 UTC 2024 - 86.3K bytes - Viewed (0)