- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 49 for isPartialView (0.1 sec)
- 
				
				guava/src/com/google/common/primitives/ImmutableIntArray.java* of values, resulting in an equivalent array with a smaller memory footprint. */ public ImmutableIntArray trimmed() { return isPartialView() ? new ImmutableIntArray(toArray()) : this; } private boolean isPartialView() { return start > 0 || end < array.length; } Object writeReplace() { return trimmed(); } Object readResolve() { Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Aug 09 01:14:59 UTC 2025 - 21.4K bytes - Viewed (0)
- 
				
				guava/src/com/google/common/collect/ImmutableEnumSet.java*/ private final transient EnumSet<E> delegate; private ImmutableEnumSet(EnumSet<E> delegate) { this.delegate = delegate; } @Override boolean isPartialView() { return false; } @Override public UnmodifiableIterator<E> iterator() { return Iterators.unmodifiableIterator(delegate.iterator()); } @Override Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 4.5K bytes - Viewed (0)
- 
				
				android/guava/src/com/google/common/collect/ImmutableMap.javaV outerValue = ImmutableMap.this.get(key); return (outerValue == null) ? null : ImmutableSet.of(outerValue); } @Override boolean isPartialView() { return ImmutableMap.this.isPartialView(); } @Override public int hashCode() { // ImmutableSet.of(value).hashCode() == value.hashCode(), so the hashes are the same Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Aug 09 01:14:59 UTC 2025 - 41.2K bytes - Viewed (0)
- 
				
				android/guava/src/com/google/common/collect/RegularContiguousSet.java}; } private static boolean equalsOrThrow(Comparable<?> left, @Nullable Comparable<?> right) { return right != null && Range.compareOrThrow(left, right) == 0; } @Override boolean isPartialView() { return false; } @Override public C first() { // requireNonNull is safe because we checked the range is not empty in ContiguousSet.create. Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 8.3K bytes - Viewed (0)
- 
				
				guava/src/com/google/common/collect/ImmutableMap.javaV outerValue = ImmutableMap.this.get(key); return (outerValue == null) ? null : ImmutableSet.of(outerValue); } @Override boolean isPartialView() { return ImmutableMap.this.isPartialView(); } @Override public int hashCode() { // ImmutableSet.of(value).hashCode() == value.hashCode(), so the hashes are the same Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Aug 09 01:14:59 UTC 2025 - 44.3K bytes - Viewed (0)
- 
				
				android/guava/src/com/google/common/collect/ImmutableSetMultimap.java@SuppressWarnings("unchecked") // safe since multimap is not writable ImmutableSetMultimap<K, V> kvMultimap = (ImmutableSetMultimap<K, V>) multimap; if (!kvMultimap.isPartialView()) { return kvMultimap; } } return fromMapEntries(multimap.asMap().entrySet(), valueComparator); } /**Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 25.8K bytes - Viewed (0)
- 
				
				guava/src/com/google/common/collect/ImmutableSetMultimap.java@SuppressWarnings("unchecked") // safe since multimap is not writable ImmutableSetMultimap<K, V> kvMultimap = (ImmutableSetMultimap<K, V>) multimap; if (!kvMultimap.isPartialView()) { return kvMultimap; } } return fromMapEntries(multimap.asMap().entrySet(), valueComparator); } /**Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 25.6K bytes - Viewed (0)
- 
				
				android/guava/src/com/google/common/collect/ImmutableRangeMap.javareturn ranges.get(index + off).intersection(range); } else { return ranges.get(index + off); } } @Override boolean isPartialView() { return true; } // redeclare to help optimizers with b/310253115 @SuppressWarnings("RedundantOverride") @Override Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Jul 17 15:26:41 UTC 2025 - 14.3K bytes - Viewed (0)
- 
				
				guava/src/com/google/common/collect/ImmutableRangeMap.javareturn ranges.get(index + off).intersection(range); } else { return ranges.get(index + off); } } @Override boolean isPartialView() { return true; } // redeclare to help optimizers with b/310253115 @SuppressWarnings("RedundantOverride") @Override Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Jul 17 15:26:41 UTC 2025 - 14.7K bytes - Viewed (0)
- 
				
				android/guava/src/com/google/common/collect/ImmutableBiMap.java// TODO(lowasser): if we need to make a copy of a BiMap because the // forward map is a view, don't make a copy of the non-view delegate map if (!bimap.isPartialView()) { return bimap; } } return copyOf(map.entrySet()); } /** * Returns an immutable bimap containing the given entries. The returned bimap iterates over Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 22.2K bytes - Viewed (0)