- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for safeContainsKey (0.13 sec)
-
guava/src/com/google/common/collect/AbstractTable.java
implements Table<R, C, V> { @Override public boolean containsRow(@Nullable Object rowKey) { return Maps.safeContainsKey(rowMap(), rowKey); } @Override public boolean containsColumn(@Nullable Object columnKey) { return Maps.safeContainsKey(columnMap(), columnKey); } @Override public Set<R> rowKeySet() { return rowMap().keySet(); } @Override
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Mon Nov 17 22:50:48 UTC 2025 - 6.7K bytes - Viewed (0) -
guava/src/com/google/common/collect/AbstractMapBasedMultimap.java
return new AsMapEntries(); } // The following methods are included for performance. @Override public boolean containsKey(@Nullable Object key) { return Maps.safeContainsKey(submap, key); } @Override public @Nullable Collection<V> get(@Nullable Object key) { Collection<V> collection = safeGet(submap, key); if (collection == null) {
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Mon Nov 17 22:50:48 UTC 2025 - 48.4K bytes - Viewed (0) -
guava/src/com/google/common/collect/Maps.java
return null; } } /** * Delegates to {@link Map#containsKey}. Returns {@code false} on {@code ClassCastException} and * {@code NullPointerException}. */ static boolean safeContainsKey(Map<?, ?> map, @Nullable Object key) { checkNotNull(map); try { return map.containsKey(key); } catch (ClassCastException | NullPointerException e) { return false; } }Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Mon Nov 17 22:50:48 UTC 2025 - 163.5K bytes - Viewed (0)