- Sort Score
- Result 10 results
- Languages All
Results 71 - 80 of 231 for containsKey (0.09 sec)
-
guava/src/com/google/common/collect/TreeBasedTable.java
backingMap.remove(rowKey); wholeRow = null; backingRowMap = null; } } @Override public boolean containsKey(@CheckForNull Object key) { return rangeContains(key) && super.containsKey(key); } @Override @CheckForNull public V put(C key, V value) { checkArgument(rangeContains(checkNotNull(key)));
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 11.5K bytes - Viewed (0) -
android/guava/src/com/google/common/graph/StandardNetwork.java
} return referenceNode; } final boolean containsNode(N node) { return nodeConnections.containsKey(node); } final boolean containsEdge(E edge) { return edgeToReferenceNode.containsKey(edge); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Jan 22 17:29:38 UTC 2024 - 6.9K bytes - Viewed (0) -
guava/src/com/google/common/graph/StandardNetwork.java
} return referenceNode; } final boolean containsNode(N node) { return nodeConnections.containsKey(node); } final boolean containsEdge(E edge) { return edgeToReferenceNode.containsKey(edge); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Jan 22 17:29:38 UTC 2024 - 6.9K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/cache/LocalCacheTest.java
// count == 0 table.set(index, entry); assertNull(segment.get(key, hash)); assertFalse(segment.containsKey(key, hash)); assertFalse(segment.containsValue(value)); // count == 1 segment.count++; assertSame(value, segment.get(key, hash)); assertTrue(segment.containsKey(key, hash)); assertTrue(segment.containsValue(value)); // don't see absent values now that count > 0
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Oct 18 19:07:49 UTC 2024 - 110.6K bytes - Viewed (0) -
guava-tests/test/com/google/common/cache/LocalCacheTest.java
// count == 0 table.set(index, entry); assertNull(segment.get(key, hash)); assertFalse(segment.containsKey(key, hash)); assertFalse(segment.containsValue(value)); // count == 1 segment.count++; assertSame(value, segment.get(key, hash)); assertTrue(segment.containsKey(key, hash)); assertTrue(segment.containsValue(value)); // don't see absent values now that count > 0
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Oct 18 19:07:49 UTC 2024 - 112.3K bytes - Viewed (0) -
guava-tests/test/com/google/common/cache/PopulatedCachesTest.java
List<Entry<Object, Object>> warmed = warmUp(cache); for (int i = WARMUP_MIN; i < WARMUP_MAX; i++) { Entry<Object, Object> entry = warmed.get(i - WARMUP_MIN); assertTrue(cache.asMap().containsKey(entry.getKey())); assertTrue(cache.asMap().containsValue(entry.getValue())); // this getUnchecked() call shouldn't be a cache miss; verified below
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Jul 02 18:21:29 UTC 2024 - 15K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/rank/fusion/DefaultSearcher.java
} if (!docMap.containsKey(Constants.SCORE)) { final float score = searchHit.getScore(); if (Float.isFinite(score)) { docMap.put(Constants.SCORE, score); } } if (!docMap.containsKey(fessConfig.getIndexFieldId())) { docMap.put(fessConfig.getIndexFieldId(), searchHit.getId());
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Mon Jul 22 06:56:21 UTC 2024 - 10.2K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/TreeBasedTableRowMapInterfaceTest.java
assertEquals(table.row("b"), ImmutableMap.of("b", "x", "x", "n")); table.row("b").subMap("b", "y").clear(); assertEquals(table.row("b"), ImmutableMap.of()); assertFalse(table.backingMap.containsKey("b")); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Mar 29 15:15:31 UTC 2022 - 2.3K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/ForwardingSortedMap.java
return ((Comparator<@Nullable Object>) comparator).compare(o1, o2); } } /** * A sensible definition of {@link #containsKey} in terms of the {@code firstKey()} method of * {@link #tailMap}. If you override {@link #tailMap}, you may wish to override {@link * #containsKey} to forward to this implementation. * * @since 7.0 */ @Override
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri May 12 15:26:39 UTC 2023 - 5.6K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/google/AbstractListMultimapTester.java
assertFalse(multimap().isEmpty()); } else { assertNull(multimap().asMap().get(key)); } assertEquals(values.size(), multimap().get(key).size()); assertEquals(values.size() > 0, multimap().containsKey(key)); assertEquals(values.size() > 0, multimap().keySet().contains(key)); assertEquals(values.size() > 0, multimap().keys().contains(key)); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 00:05:46 UTC 2024 - 2.1K bytes - Viewed (0)