Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 61 for isPartialView (0.07 sec)

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

      E get(int index) {
        return delegateList.get(index);
      }
    
      @Override
      public boolean contains(@CheckForNull Object object) {
        return delegate.contains(object);
      }
    
      @Override
      boolean isPartialView() {
        return false;
      }
    
      @Override
      public int size() {
        return delegateList.size();
      }
    
      // redeclare to help optimizers with b/310253115
      @SuppressWarnings("RedundantOverride")
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Nov 30 21:54:06 UTC 2023
    - 2K bytes
    - Viewed (0)
  2. guava/src/com/google/common/collect/ImmutableSortedMap.java

      public V get(@CheckForNull Object key) {
        int index = keySet.indexOf(key);
        return (index == -1) ? null : valueList.get(index);
      }
    
      @Override
      boolean isPartialView() {
        return keySet.isPartialView() || valueList.isPartialView();
      }
    
      /** Returns an immutable set of the mappings in this map, sorted by the key ordering. */
      @Override
      public ImmutableSet<Entry<K, V>> entrySet() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 50.4K bytes
    - Viewed (0)
  3. 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 // serialization
      @GwtIncompatible // serialization
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Nov 30 21:54:06 UTC 2023
    - 2.7K bytes
    - Viewed (0)
  4. 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 @CheckForNull private transient ImmutableBiMap<V, K> inverse;
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 11.3K bytes
    - Viewed (0)
  5. guava/src/com/google/common/collect/ImmutableMapValues.java

      }
    
      @Override
      public boolean contains(@CheckForNull Object object) {
        return object != null && Iterators.contains(iterator(), object);
      }
    
      @Override
      boolean isPartialView() {
        return true;
      }
    
      @Override
      public ImmutableList<V> asList() {
        final ImmutableList<Entry<K, V>> entryList = map.entrySet().asList();
        return new ImmutableAsList<V>() {
          @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Nov 30 21:54:06 UTC 2023
    - 3.6K bytes
    - Viewed (0)
  6. 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")
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Feb 22 21:19:52 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/collect/ImmutableEnumMap.java

      }
    
      @Override
      UnmodifiableIterator<Entry<K, V>> entryIterator() {
        return Maps.unmodifiableEntryIterator(delegate.entrySet().iterator());
      }
    
      @Override
      boolean isPartialView() {
        return false;
      }
    
      // All callers of the constructor are restricted to <K extends Enum<K>>.
      @Override
      @J2ktIncompatible // serialization
      Object writeReplace() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 3.7K bytes
    - Viewed (0)
  8. guava/src/com/google/common/collect/RegularImmutableSet.java

      @Override
      ImmutableList<E> createAsList() {
        return (table.length == 0)
            ? ImmutableList.<E>of()
            : new RegularImmutableAsList<E>(this, elements);
      }
    
      @Override
      boolean isPartialView() {
        return false;
      }
    
      @Override
      public int hashCode() {
        return hashCode;
      }
    
      @Override
      boolean isHashCodeFast() {
        return true;
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  9. 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 // serialization
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Aug 16 19:14:45 UTC 2024
    - 30.5K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/primitives/ImmutableLongArray.java

       * of values, resulting in an equivalent array with a smaller memory footprint.
       */
      public ImmutableLongArray trimmed() {
        return isPartialView() ? new ImmutableLongArray(toArray()) : this;
      }
    
      private boolean isPartialView() {
        return start > 0 || end < array.length;
      }
    
      Object writeReplace() {
        return trimmed();
      }
    
      Object readResolve() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 25 18:05:56 UTC 2024
    - 22.3K bytes
    - Viewed (0)
Back to top