Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 49 for isPartialView (0.06 sec)

  1. android/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
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Dec 28 01:26:26 UTC 2024
    - 4.3K bytes
    - Viewed (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
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 4.5K bytes
    - Viewed (0)
  3. android/guava/src/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
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 41.2K bytes
    - Viewed (0)
  4. 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)
  5. 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)
  6. guava/src/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
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 44.3K bytes
    - Viewed (0)
  7. android/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 Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Jul 17 15:26:41 UTC 2025
    - 14.3K bytes
    - Viewed (0)
  8. 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)
  9. 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 Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Jul 17 15:26:41 UTC 2025
    - 14.7K bytes
    - Viewed (0)
  10. 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)
Back to top