Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 for internalArray (0.08 sec)

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

      @Override
      int copyIntoArray(@Nullable Object[] dst, int offset) {
        return delegateList.copyIntoArray(dst, offset);
      }
    
      @Override
      @CheckForNull
      Object[] internalArray() {
        return delegateList.internalArray();
      }
    
      @Override
      int internalArrayStart() {
        return delegateList.internalArrayStart();
      }
    
      @Override
      int internalArrayEnd() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Nov 30 21:54:06 UTC 2023
    - 3K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/RegularImmutableAsList.java

      @Override
      int copyIntoArray(@Nullable Object[] dst, int offset) {
        return delegateList.copyIntoArray(dst, offset);
      }
    
      @Override
      @CheckForNull
      @Nullable
      Object[] internalArray() {
        return delegateList.internalArray();
      }
    
      @Override
      int internalArrayStart() {
        return delegateList.internalArrayStart();
      }
    
      @Override
      int internalArrayEnd() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Nov 30 21:54:06 UTC 2023
    - 3K bytes
    - Viewed (0)
  3. guava/src/com/google/common/collect/RegularImmutableSortedSet.java

      RegularImmutableSortedSet(ImmutableList<E> elements, Comparator<? super E> comparator) {
        super(comparator);
        this.elements = elements;
      }
    
      @Override
      @CheckForNull
      Object[] internalArray() {
        return elements.internalArray();
      }
    
      @Override
      int internalArrayStart() {
        return elements.internalArrayStart();
      }
    
      @Override
      int internalArrayEnd() {
        return elements.internalArrayEnd();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Apr 01 16:15:01 UTC 2024
    - 9.2K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/RegularImmutableList.java

        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
      int internalArrayEnd() {
        return size;
      }
    
      @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  5. guava/src/com/google/common/collect/RegularImmutableSet.java

      }
    
      @Override
      public Spliterator<E> spliterator() {
        return Spliterators.spliterator(elements, SPLITERATOR_CHARACTERISTICS);
      }
    
      @Override
      Object[] internalArray() {
        return elements;
      }
    
      @Override
      int internalArrayStart() {
        return 0;
      }
    
      @Override
      int internalArrayEnd() {
        return elements.length;
      }
    
      @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  6. guava/src/com/google/common/collect/ImmutableCollection.java

      @SuppressWarnings("nullness")
      public final <T extends @Nullable Object> T[] toArray(T[] other) {
        checkNotNull(other);
        int size = size();
    
        if (other.length < size) {
          Object[] internal = internalArray();
          if (internal != null) {
            return Platform.copy(internal, internalArrayStart(), internalArrayEnd(), other);
          }
          other = ObjectArrays.newArray(other, size);
        } else if (other.length > size) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Aug 12 16:59:15 UTC 2024
    - 18.8K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/collect/ImmutableList.java

          this.length = length;
        }
    
        @Override
        public int size() {
          return length;
        }
    
        @Override
        @CheckForNull
        @Nullable
        Object[] internalArray() {
          return ImmutableList.this.internalArray();
        }
    
        @Override
        int internalArrayStart() {
          return ImmutableList.this.internalArrayStart() + offset;
        }
    
        @Override
        int internalArrayEnd() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 16 21:21:17 UTC 2024
    - 27.7K bytes
    - Viewed (0)
  8. guava/src/com/google/common/collect/ImmutableSortedSet.java

         * doesn't need this suppression, but we keep it to minimize diffs.) Generally be more clear
         * about when we have an Object[] vs. a Comparable[] or other array type in internalArray? If we
         * used Object[], we might be able to optimize toArray() to use clone() sometimes. (See
         * cl/592273615 and cl/592273683.)
         */
        public Builder(Comparator<? super E> comparator) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 39.1K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/collect/ImmutableSortedSet.java

         * doesn't need this suppression, but we keep it to minimize diffs.) Generally be more clear
         * about when we have an Object[] vs. a Comparable[] or other array type in internalArray? If we
         * used Object[], we might be able to optimize toArray() to use clone() sometimes. (See
         * cl/592273615 and cl/592273683.)
         */
        public Builder(Comparator<? super E> comparator) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 36.9K bytes
    - Viewed (0)
Back to top