Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 39 for isPartialView (0.43 sec)

  1. 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;
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Aug 06 18:32:41 UTC 2025
    - 5.1K bytes
    - Viewed (0)
  2. guava/src/com/google/common/collect/RegularImmutableMap.java

          action.accept(entry.getKey(), entry.getValue());
        }
      }
    
      @Override
      public int size() {
        return entries.length;
      }
    
      @Override
      boolean isPartialView() {
        return false;
      }
    
      @Override
      ImmutableSet<Entry<K, V>> createEntrySet() {
        return new ImmutableMapEntrySet.RegularEntrySet<>(this, entries);
      }
    
      @Override
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 15.8K bytes
    - Viewed (0)
  3. guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ImmutableMap.java

          V 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
          return ImmutableMap.this.hashCode();
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Aug 06 18:32:41 UTC 2025
    - 16.7K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/ImmutableList.java

          return forwardList.get(reverseIndex(index));
        }
    
        @Override
        public int size() {
          return forwardList.size();
        }
    
        @Override
        boolean isPartialView() {
          return forwardList.isPartialView();
        }
    
        // redeclare to help optimizers with b/310253115
        @SuppressWarnings("RedundantOverride")
        @Override
        @J2ktIncompatible
        @GwtIncompatible
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 27.5K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/ImmutableRangeSet.java

          return -1;
        }
    
        @Override
        ImmutableSortedSet<C> createDescendingSet() {
          return new DescendingImmutableSortedSet<>(this);
        }
    
        @Override
        boolean isPartialView() {
          return ranges.isPartialView();
        }
    
        @Override
        public String toString() {
          return ranges.toString();
        }
    
        @Override
        @J2ktIncompatible // serialization
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 27.4K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/SingletonImmutableSet.java

        return singletonIterator(element);
      }
    
      @Override
      public ImmutableList<E> asList() {
        return ImmutableList.of(element);
      }
    
      @Override
      boolean isPartialView() {
        return false;
      }
    
      @Override
      int copyIntoArray(@Nullable Object[] dst, int offset) {
        dst[offset] = element;
        return offset + 1;
      }
    
      @Override
      public final int hashCode() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 2.4K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/collect/RegularImmutableMultiset.java

        long size = 0;
        for (int i = 0; i < contents.size(); i++) {
          size += contents.getValue(i);
        }
        this.size = Ints.saturatedCast(size);
      }
    
      @Override
      boolean isPartialView() {
        return false;
      }
    
      @Override
      public int count(@Nullable Object element) {
        return contents.get(element);
      }
    
      @Override
      public int size() {
        return size;
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 4K bytes
    - Viewed (0)
  8. 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
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Aug 10 19:54:19 UTC 2025
    - 28.6K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/collect/RegularImmutableList.java

      RegularImmutableList(@Nullable Object[] array, int size) {
        this.array = array;
        this.size = size;
      }
    
      @Override
      public int size() {
        return size;
      }
    
      @Override
      boolean isPartialView() {
        return false;
      }
    
      @Override
      @Nullable Object[] internalArray() {
        return array;
      }
    
      @Override
      int internalArrayStart() {
        return 0;
      }
    
      @Override
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 2.7K bytes
    - Viewed (0)
  10. guava/src/com/google/common/collect/SingletonImmutableBiMap.java

        return singleKey.equals(key);
      }
    
      @Override
      public boolean containsValue(@Nullable Object value) {
        return singleValue.equals(value);
      }
    
      @Override
      boolean isPartialView() {
        return false;
      }
    
      @Override
      ImmutableSet<Entry<K, V>> createEntrySet() {
        return ImmutableSet.of(immutableEntry(singleKey, singleValue));
      }
    
      @Override
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 3.4K bytes
    - Viewed (0)
Back to top