Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 41 - 50 of 89 for isPartialView (0.07 seconds)

  1. guava/src/com/google/common/collect/RegularImmutableSortedMultiset.java

          return new RegularImmutableSortedMultiset<>(
              subElementSet, cumulativeCounts, offset + from, to - from);
        }
      }
    
      @Override
      boolean isPartialView() {
        return offset > 0 || length < cumulativeCounts.length - 1;
      }
    
      // redeclare to help optimizers with b/310253115
      @SuppressWarnings("RedundantOverride")
      @Override
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sat Dec 28 01:26:26 GMT 2024
    - 4.5K bytes
    - Click Count (0)
  2. 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
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 4.5K bytes
    - Click Count (0)
  3. android/guava/src/com/google/common/collect/ImmutableMultimap.java

       * to determine whether {@code copyOf} implementations should make an explicit copy to avoid
       * memory leaks.
       */
      boolean isPartialView() {
        return map.isPartialView();
      }
    
      // accessors
    
      @Override
      public boolean containsKey(@Nullable Object key) {
        return map.containsKey(key);
      }
    
      @Override
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Dec 09 15:58:48 GMT 2025
    - 27.1K bytes
    - Click Count (0)
  4. guava/src/com/google/common/collect/ImmutableMapKeySet.java

      }
    
      @Override
      public void forEach(Consumer<? super K> action) {
        checkNotNull(action);
        map.forEach((k, v) -> action.accept(k));
      }
    
      @Override
      boolean isPartialView() {
        return true;
      }
    
      // redeclare to help optimizers with b/310253115
      @SuppressWarnings("RedundantOverride")
      @Override
      @J2ktIncompatible
      @GwtIncompatible
        Object writeReplace() {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Mar 08 16:16:42 GMT 2026
    - 2.7K bytes
    - Click Count (0)
  5. guava/src/com/google/common/collect/JdkBackedImmutableMap.java

        return new ImmutableMapKeySet<>(this);
      }
    
      @Override
      ImmutableCollection<V> createValues() {
        return new ImmutableMapValues<>(this);
      }
    
      @Override
      boolean isPartialView() {
        return false;
      }
    
      // redeclare to help optimizers with b/310253115
      @SuppressWarnings("RedundantOverride")
      @Override
      @J2ktIncompatible
      @GwtIncompatible
        Object writeReplace() {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Sep 23 17:50:58 GMT 2025
    - 4.7K bytes
    - Click Count (0)
  6. guava/src/com/google/common/collect/RegularImmutableBiMap.java

        }
      }
    
      @Override
      boolean isHashCodeFast() {
        return true;
      }
    
      @Override
      public int hashCode() {
        return hashCode;
      }
    
      @Override
      boolean isPartialView() {
        return false;
      }
    
      @Override
      public int size() {
        return entries.length;
      }
    
      @LazyInit @RetainedWith private transient @Nullable ImmutableBiMap<V, K> inverse;
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Dec 26 20:08:09 GMT 2025
    - 11.1K bytes
    - Click Count (0)
  7. guava/src/com/google/common/collect/JdkBackedImmutableMultiset.java

        return (result == null) ? elementSet = new ElementSet<>(entries, this) : result;
      }
    
      @Override
      Entry<E> getEntry(int index) {
        return entries.get(index);
      }
    
      @Override
      boolean isPartialView() {
        return false;
      }
    
      @Override
      public int size() {
        return Ints.saturatedCast(size);
      }
    
      // redeclare to help optimizers with b/310253115
      @SuppressWarnings("RedundantOverride")
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Sep 23 17:50:58 GMT 2025
    - 3.2K bytes
    - Click Count (0)
  8. guava/src/com/google/common/collect/ImmutableMultiset.java

      }
    
      abstract Entry<E> getEntry(int index);
    
      @WeakOuter
      private final class EntrySet extends IndexedImmutableSet<Entry<E>> {
        @Override
        boolean isPartialView() {
          return ImmutableMultiset.this.isPartialView();
        }
    
        @Override
        Entry<E> get(int index) {
          return getEntry(index);
        }
    
        @Override
        public int size() {
          return elementSet().size();
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Sep 22 21:07:18 GMT 2025
    - 20.6K bytes
    - Click Count (0)
  9. guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ImmutableCollection.java

        throw new UnsupportedOperationException();
      }
    
      static <E> ImmutableCollection<E> unsafeDelegate(Collection<E> delegate) {
        return new ForwardingImmutableCollection<E>(delegate);
      }
    
      boolean isPartialView() {
        return false;
      }
    
      /** GWT emulated version of {@link ImmutableCollection.Builder}. */
      public abstract static class Builder<E> {
        static final int DEFAULT_INITIAL_CAPACITY = 4;
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Aug 06 18:32:41 GMT 2025
    - 5.1K bytes
    - Click Count (0)
  10. guava/src/com/google/common/collect/RegularImmutableSortedSet.java

      }
    
      private int unsafeBinarySearch(Object key) throws ClassCastException {
        return Collections.binarySearch(elements, key, unsafeComparator());
      }
    
      @Override
      boolean isPartialView() {
        return elements.isPartialView();
      }
    
      @Override
      int copyIntoArray(@Nullable Object[] dst, int offset) {
        return elements.copyIntoArray(dst, offset);
      }
    
      @Override
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Sep 22 21:07:18 GMT 2025
    - 9K bytes
    - Click Count (0)
Back to Top