- Sort Score
- Result 10 results
- Languages All
Results 1 - 5 of 5 for firstNonNull (0.08 sec)
-
android/guava/src/com/google/common/collect/ImmutableTable.java
* * @throws NullPointerException if {@code columnKey} is {@code null} */ @Override public ImmutableMap<R, V> column(C columnKey) { checkNotNull(columnKey, "columnKey"); return MoreObjects.firstNonNull( (ImmutableMap<R, V>) columnMap().get(columnKey), ImmutableMap.<R, V>of()); } @Override public ImmutableSet<C> columnKeySet() { return columnMap().keySet(); } /**
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 17.5K bytes - Viewed (0) -
guava/src/com/google/common/collect/FilteredEntryMultimap.java
@Override public boolean containsKey(@CheckForNull Object key) { return asMap().get(key) != null; } @Override public Collection<V> removeAll(@CheckForNull Object key) { return MoreObjects.firstNonNull(asMap().remove(key), unmodifiableEmptyCollection()); } Collection<V> unmodifiableEmptyCollection() { // These return false, rather than throwing a UOE, on remove calls.
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 12.1K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/FilteredEntryMultimap.java
@Override public boolean containsKey(@CheckForNull Object key) { return asMap().get(key) != null; } @Override public Collection<V> removeAll(@CheckForNull Object key) { return MoreObjects.firstNonNull(asMap().remove(key), unmodifiableEmptyCollection()); } Collection<V> unmodifiableEmptyCollection() { // These return false, rather than throwing a UOE, on remove calls.
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 12.1K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/TreeRangeMap.java
}; } Iterator<Entry<Range<K>, V>> entryIterator() { if (subRange.isEmpty()) { return emptyIterator(); } Cut<K> cutToStart = MoreObjects.firstNonNull( entriesByLowerBound.floorKey(subRange.lowerBound), subRange.lowerBound); final Iterator<RangeMapEntry<K, V>> backingItr = entriesByLowerBound.tailMap(cutToStart, true).values().iterator();
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 22.9K bytes - Viewed (0) -
guava/src/com/google/common/collect/TreeRangeMap.java
}; } Iterator<Entry<Range<K>, V>> entryIterator() { if (subRange.isEmpty()) { return emptyIterator(); } Cut<K> cutToStart = MoreObjects.firstNonNull( entriesByLowerBound.floorKey(subRange.lowerBound), subRange.lowerBound); final Iterator<RangeMapEntry<K, V>> backingItr = entriesByLowerBound.tailMap(cutToStart, true).values().iterator();
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 26.7K bytes - Viewed (0)