- Sort Score
- Result 10 results
- Languages All
Results 61 - 70 of 231 for containsKey (0.07 sec)
-
guava-tests/test/com/google/common/collect/MapMakerInternalMapTest.java
segment.setTableEntryForTesting(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: Tue Feb 20 17:00:05 UTC 2024 - 35.1K bytes - Viewed (0) -
android/guava/src/com/google/common/graph/AbstractDirectedNetworkConnections.java
return IntMath.saturatedAdd(inEdgeMap.size(), outEdgeMap.size() - selfLoopCount); } @Override public boolean contains(@CheckForNull Object obj) { return inEdgeMap.containsKey(obj) || outEdgeMap.containsKey(obj); } }; } @Override public Set<E> inEdges() { return Collections.unmodifiableSet(inEdgeMap.keySet()); } @Override public Set<E> outEdges() {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Apr 26 17:43:39 UTC 2021 - 4.5K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/google/MultimapAsMapGetTester.java
assertFalse(multimap().containsKey(k0())); assertFalse(multimap().containsEntry(k0(), v0())); assertEmpty(result); assertTrue(result.add(v1())); assertTrue(result.add(v2())); assertContentsAnyOrder(result, v1(), v2()); assertContentsAnyOrder(multimap().get(k0()), v1(), v2()); assertTrue(multimap().containsKey(k0())); assertFalse(multimap().containsEntry(k0(), v0()));
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 5K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/service/impl/DataServiceImpl.java
} accessResultData.setId(accessResult.getId()); final Map<String, AccessResultImpl<Long>> arMap = dataHelper.getAccessResultMap(accessResult.getSessionId()); if (arMap.containsKey(accessResult.getUrl())) { throw new CrawlerSystemException(accessResult.getUrl() + " already exists."); } arMap.put(accessResult.getUrl(), accessResult); } }
Registered: Sun Nov 10 03:50:12 UTC 2024 - Last Modified: Thu Feb 22 01:47:32 UTC 2024 - 5.5K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/ds/callback/FileListIndexUpdateCallbackImpl.java
final CrawlerStatsHelper crawlerStatsHelper = ComponentUtil.getCrawlerStatsHelper(); synchronized (indexUpdateCallback) { // required check if (!dataMap.containsKey(fessConfig.getIndexFieldUrl()) || dataMap.get(fessConfig.getIndexFieldUrl()) == null) { logger.warn("Could not add a doc. Invalid data: {}", dataMap); return; }
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 16.8K bytes - Viewed (0) -
guava-tests/test/com/google/common/reflect/MutableTypeToInstanceMapTest.java
map.putInstance(Integer.class, null); assertTrue(map.containsKey(TypeToken.of(Integer.class))); assertTrue(map.entrySet().contains(immutableEntry(TypeToken.of(Integer.class), null))); assertNull(map.get(TypeToken.of(Integer.class))); assertNull(map.getInstance(Integer.class)); map.putInstance(Long.class, null); assertTrue(map.containsKey(TypeToken.of(Long.class)));
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Feb 22 17:15:24 UTC 2024 - 7.9K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/util/XmlUtil.java
Registered: Sun Nov 10 03:50:12 UTC 2024 - Last Modified: Thu Feb 22 01:36:27 UTC 2024 - 6.1K bytes - Viewed (0) -
guava/src/com/google/common/util/concurrent/AtomicLongMap.java
private Map<K, Long> createAsMap() { return Collections.unmodifiableMap(map); } /** Returns true if this map contains a mapping for the specified key. */ public boolean containsKey(Object key) { return map.containsKey(key); } /** * Returns the number of key-value mappings in this map. If the map contains more than {@code * Integer.MAX_VALUE} elements, returns {@code Integer.MAX_VALUE}. */
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Apr 01 16:15:01 UTC 2024 - 11.8K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/google/MultimapAsMapGetTester.java
assertFalse(multimap().containsKey(k0())); assertFalse(multimap().containsEntry(k0(), v0())); assertEmpty(result); assertTrue(result.add(v1())); assertTrue(result.add(v2())); assertContentsAnyOrder(result, v1(), v2()); assertContentsAnyOrder(multimap().get(k0()), v1(), v2()); assertTrue(multimap().containsKey(k0())); assertFalse(multimap().containsEntry(k0(), v0()));
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 5K bytes - Viewed (0) -
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)