Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 44 for isPartialView (0.2 sec)

  1. android/guava/src/com/google/common/collect/EmptyContiguousSet.java

        return emptyIterator();
      }
    
      @GwtIncompatible // NavigableSet
      @Override
      public UnmodifiableIterator<C> descendingIterator() {
        return emptyIterator();
      }
    
      @Override
      boolean isPartialView() {
        return false;
      }
    
      @Override
      public boolean isEmpty() {
        return true;
      }
    
      @Override
      public ImmutableList<C> asList() {
        return ImmutableList.of();
      }
    
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 4.1K bytes
    - Viewed (0)
  2. guava/src/com/google/common/collect/RegularImmutableSet.java

      }
    
      @Override
      ImmutableList<E> createAsList() {
        return (table.length == 0) ? ImmutableList.of() : new RegularImmutableAsList<>(this, elements);
      }
    
      @Override
      boolean isPartialView() {
        return false;
      }
    
      @Override
      public int hashCode() {
        return hashCode;
      }
    
      @Override
      boolean isHashCodeFast() {
        return true;
      }
    
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Sep 22 21:07:18 UTC 2025
    - 3.8K bytes
    - Viewed (0)
  3. guava/src/com/google/common/collect/CartesianList.java

            checkElementIndex(axis, size());
            int axisIndex = getAxisIndexForProductIndex(index, axis);
            return axes.get(axis).get(axisIndex);
          }
    
          @Override
          boolean isPartialView() {
            return true;
          }
    
          // redeclare to help optimizers with b/310253115
          @SuppressWarnings("RedundantOverride")
          @J2ktIncompatible // serialization
          @Override
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Sun Aug 31 13:15:26 UTC 2025
    - 4.7K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/ImmutableSortedMap.java

      public @Nullable V get(@Nullable 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 Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Sep 22 21:07:18 UTC 2025
    - 52.9K bytes
    - Viewed (0)
  5. 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 Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 8.3K bytes
    - Viewed (0)
  6. guava/src/com/google/common/collect/ImmutableRangeMap.java

                  return 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 Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Sep 23 17:50:58 UTC 2025
    - 14.8K bytes
    - Viewed (0)
  7. 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 Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 22.2K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/ImmutableCollection.java

       * used to determine whether {@code copyOf} implementations should make an explicit copy to avoid
       * memory leaks.
       */
      abstract boolean isPartialView();
    
      /**
       * Copies the contents of this immutable collection into the specified array at the specified
       * offset. Returns {@code offset + size()}.
       */
      @CanIgnoreReturnValue
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 21.4K bytes
    - Viewed (0)
  9. guava/src/com/google/common/collect/Lists.java

          checkPositionIndexes(fromIndex, toIndex, size()); // for GWT
          return charactersOf(string.substring(fromIndex, toIndex));
        }
    
        @Override
        boolean isPartialView() {
          return false;
        }
    
        @Override
        public Character get(int index) {
          checkElementIndex(index, size()); // for GWT
          return string.charAt(index);
        }
    
        @Override
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 42.6K bytes
    - Viewed (0)
  10. 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 Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Sep 23 17:50:58 UTC 2025
    - 22.7K bytes
    - Viewed (0)
Back to top