Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for copyIntoArray (0.09 sec)

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

        }
    
        @Override
        public UnmodifiableIterator<Entry<K, V>> iterator() {
          return asList().iterator();
        }
    
        @Override
        int copyIntoArray(@Nullable Object[] dst, int offset) {
          return asList().copyIntoArray(dst, offset);
        }
    
        @Override
        ImmutableList<Entry<K, V>> createAsList() {
          return new ImmutableList<Entry<K, V>>() {
            @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Apr 15 22:32:14 UTC 2024
    - 22.7K bytes
    - Viewed (0)
  2. guava/src/com/google/common/collect/ImmutableCollection.java

          }
          other = ObjectArrays.newArray(other, size);
        } else if (other.length > size) {
          other[size] = null;
        }
        copyIntoArray(other, 0);
        return other;
      }
    
      /** If this collection is backed by an array of its elements in insertion order, returns it. */
      @CheckForNull
      Object[] internalArray() {
        return null;
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Aug 12 16:59:15 UTC 2024
    - 18.8K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/ImmutableMultimap.java

          return multimap.valueIterator();
        }
    
        @GwtIncompatible // not present in emulated superclass
        @Override
        int copyIntoArray(@Nullable Object[] dst, int offset) {
          for (ImmutableCollection<V> valueCollection : multimap.map.values()) {
            offset = valueCollection.copyIntoArray(dst, offset);
          }
          return offset;
        }
    
        @Override
        public int size() {
          return multimap.size();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 27.9K bytes
    - Viewed (0)
  4. guava/src/com/google/common/collect/ImmutableList.java

        return this;
      }
    
      @Override
      public Spliterator<E> spliterator() {
        return CollectSpliterators.indexed(size(), SPLITERATOR_CHARACTERISTICS, this::get);
      }
    
      @Override
      int copyIntoArray(@Nullable Object[] dst, int offset) {
        // this loop is faster for RandomAccess instances, which ImmutableLists are
        int size = size();
        for (int i = 0; i < size; i++) {
          dst[offset + i] = get(i);
        }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Aug 16 19:14:45 UTC 2024
    - 30.5K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/ImmutableList.java

       */
      @InlineMe(replacement = "this")
      @Deprecated
      @Override
      public final ImmutableList<E> asList() {
        return this;
      }
    
      @Override
      int copyIntoArray(@Nullable Object[] dst, int offset) {
        // this loop is faster for RandomAccess instances, which ImmutableLists are
        int size = size();
        for (int i = 0; i < size; i++) {
          dst[offset + i] = get(i);
        }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 16 21:21:17 UTC 2024
    - 27.7K bytes
    - Viewed (0)
Back to top