Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 16 of 16 for copyIntoArray (0.04 sec)

  1. 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 Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Dec 09 15:58:48 UTC 2025
    - 28.1K bytes
    - Viewed (0)
  2. 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 Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Dec 09 15:58:48 UTC 2025
    - 27.1K bytes
    - Viewed (0)
  3. guava/src/com/google/common/collect/ImmutableSet.java

          checkNotNull(consumer);
          int n = size();
          for (int i = 0; i < n; i++) {
            consumer.accept(get(i));
          }
        }
    
        @Override
        int copyIntoArray(@Nullable Object[] dst, int offset) {
          return asList().copyIntoArray(dst, offset);
        }
    
        @Override
        ImmutableList<E> createAsList() {
          return new ImmutableAsList<E>() {
            @Override
            public E get(int index) {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Fri Nov 07 16:09:47 UTC 2025
    - 35.3K bytes
    - Viewed (0)
  4. 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 Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Sep 23 17:50:58 UTC 2025
    - 27.5K bytes
    - Viewed (0)
  5. guava/src/com/google/common/collect/ImmutableMultiset.java

      public final boolean setCount(E element, int oldCount, int newCount) {
        throw new UnsupportedOperationException();
      }
    
      @GwtIncompatible // not present in emulated superclass
      @Override
      int copyIntoArray(@Nullable Object[] dst, int offset) {
        for (Multiset.Entry<E> entry : entrySet()) {
          Arrays.fill(dst, offset, offset + entry.getCount(), entry.getElement());
          offset += entry.getCount();
        }
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Sep 22 21:07:18 UTC 2025
    - 20.6K bytes
    - Viewed (0)
  6. guava/src/com/google/common/collect/ImmutableList.java

      @GwtIncompatible("Spliterator")
      Spliterator<E> spliteratorWithCharacteristics(int characteristics) {
        return CollectSpliterators.indexed(size(), 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 Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Nov 17 22:50:48 UTC 2025
    - 30.6K bytes
    - Viewed (0)
Back to top