- Sort Score
- Result 10 results
- Languages All
Results 1 - 7 of 7 for safeGet (1.29 sec)
-
android/guava/src/com/google/common/collect/ConcurrentHashMultiset.java
* @param element the element to look for * @return the nonnegative number of occurrences of the element */ @Override public int count(@CheckForNull Object element) { AtomicInteger existingCounter = Maps.safeGet(countMap, element); return (existingCounter == null) ? 0 : existingCounter.get(); } /** * {@inheritDoc} *
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Thu Feb 22 21:19:52 GMT 2024 - 20.9K bytes - Viewed (0) -
guava/src/com/google/common/collect/ConcurrentHashMultiset.java
* @param element the element to look for * @return the nonnegative number of occurrences of the element */ @Override public int count(@CheckForNull Object element) { AtomicInteger existingCounter = Maps.safeGet(countMap, element); return (existingCounter == null) ? 0 : existingCounter.get(); } /** * {@inheritDoc} *
Java - Registered: Fri Apr 05 12:43:09 GMT 2024 - Last Modified: Thu Feb 22 21:19:52 GMT 2024 - 20.9K bytes - Viewed (0) -
guava/src/com/google/common/collect/AbstractMapBasedMultiset.java
Java - Registered: Fri Apr 05 12:43:09 GMT 2024 - Last Modified: Mon Mar 06 16:06:58 GMT 2023 - 10.4K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/StandardTable.java
import static com.google.common.base.Predicates.in; import static com.google.common.base.Predicates.not; import static com.google.common.collect.Maps.safeContainsKey; import static com.google.common.collect.Maps.safeGet; import static com.google.common.collect.NullnessCasts.uncheckedCastNullableTToT; import static java.util.Objects.requireNonNull; import com.google.common.annotations.GwtCompatible; import com.google.common.base.Function;
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Fri Oct 13 14:11:58 GMT 2023 - 29.8K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/AbstractMapBasedMultimap.java
return Maps.safeContainsKey(submap, key); } @Override @CheckForNull public Collection<V> get(@CheckForNull Object key) { Collection<V> collection = Maps.safeGet(submap, key); if (collection == null) { return null; } @SuppressWarnings("unchecked") K k = (K) key; return wrapCollection(k, collection); }
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Fri Oct 13 14:11:58 GMT 2023 - 46.6K bytes - Viewed (0) -
android/guava/src/com/google/common/io/TempFileCreator.java
/* * I assume that this check can't fail because JELLY_BEAN will be present only if we're * running under Jelly Bean or higher. But it seems safest to check. */ if (version < jellyBean) { return new ThrowingCreator(); } // Don't merge these catch() blocks, let alone use ReflectiveOperationException directly: // b/65343391
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Fri Oct 06 17:11:11 GMT 2023 - 12.5K bytes - Viewed (0) -
guava/src/com/google/common/collect/AbstractMapBasedMultimap.java
return Maps.safeContainsKey(submap, key); } @Override @CheckForNull public Collection<V> get(@CheckForNull Object key) { Collection<V> collection = Maps.safeGet(submap, key); if (collection == null) { return null; } @SuppressWarnings("unchecked") K k = (K) key; return wrapCollection(k, collection); }
Java - Registered: Fri Apr 05 12:43:09 GMT 2024 - Last Modified: Fri Oct 13 14:11:58 GMT 2023 - 48K bytes - Viewed (0)