Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 15 for copyIntoArray (0.13 sec)

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

        checkNotNull(consumer);
        int n = size();
        for (int i = 0; i < n; i++) {
          consumer.accept(get(i));
        }
      }
    
      @Override
      @GwtIncompatible
      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 Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Nov 30 21:54:06 UTC 2023
    - 2.7K bytes
    - Viewed (0)
  2. guava/src/com/google/common/collect/RegularImmutableAsList.java

      public void forEach(Consumer<? super E> action) {
        delegateList.forEach(action);
      }
    
      @GwtIncompatible // not present in emulated superclass
      @Override
      int copyIntoArray(@Nullable Object[] dst, int offset) {
        return delegateList.copyIntoArray(dst, offset);
      }
    
      @Override
      @CheckForNull
      Object[] internalArray() {
        return delegateList.internalArray();
      }
    
      @Override
      int internalArrayStart() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Nov 30 21:54:06 UTC 2023
    - 3K bytes
    - Viewed (0)
  3. 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)
  4. android/guava/src/com/google/common/collect/RegularImmutableAsList.java

        return (UnmodifiableListIterator<E>) delegateList.listIterator(index);
      }
    
      @GwtIncompatible // not present in emulated superclass
      @Override
      int copyIntoArray(@Nullable Object[] dst, int offset) {
        return delegateList.copyIntoArray(dst, offset);
      }
    
      @Override
      @CheckForNull
      @Nullable
      Object[] internalArray() {
        return delegateList.internalArray();
      }
    
      @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Nov 30 21:54:06 UTC 2023
    - 3K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/ImmutableMapEntrySet.java

        }
    
        @Override
        ImmutableMap<K, V> map() {
          return map;
        }
    
        @Override
        @GwtIncompatible("not used in GWT")
        int copyIntoArray(@Nullable Object[] dst, int offset) {
          return entries.copyIntoArray(dst, offset);
        }
    
        @Override
        public UnmodifiableIterator<Entry<K, V>> iterator() {
          return entries.iterator();
        }
    
        @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Nov 30 21:54:06 UTC 2023
    - 3.8K bytes
    - Viewed (0)
  6. guava/src/com/google/common/collect/ImmutableMapEntrySet.java

        }
    
        @Override
        ImmutableMap<K, V> map() {
          return map;
        }
    
        @Override
        @GwtIncompatible("not used in GWT")
        int copyIntoArray(@Nullable Object[] dst, int offset) {
          return entries.copyIntoArray(dst, offset);
        }
    
        @Override
        public UnmodifiableIterator<Entry<K, V>> iterator() {
          return entries.iterator();
        }
    
        @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Nov 30 21:54:06 UTC 2023
    - 4.1K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/collect/SingletonImmutableSet.java

      }
    
      @Override
      public ImmutableList<E> asList() {
        return ImmutableList.of(element);
      }
    
      @Override
      boolean isPartialView() {
        return false;
      }
    
      @Override
      int copyIntoArray(@Nullable Object[] dst, int offset) {
        dst[offset] = element;
        return offset + 1;
      }
    
      @Override
      public final int hashCode() {
        return element.hashCode();
      }
    
      @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  8. guava/src/com/google/common/collect/SingletonImmutableSet.java

      }
    
      @Override
      public ImmutableList<E> asList() {
        return ImmutableList.of(element);
      }
    
      @Override
      boolean isPartialView() {
        return false;
      }
    
      @Override
      int copyIntoArray(@Nullable Object[] dst, int offset) {
        dst[offset] = element;
        return offset + 1;
      }
    
      @Override
      public final int hashCode() {
        return element.hashCode();
      }
    
      @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  9. guava/src/com/google/common/collect/RegularImmutableSortedSet.java

      }
    
      @Override
      boolean isPartialView() {
        return elements.isPartialView();
      }
    
      @Override
      int copyIntoArray(@Nullable Object[] dst, int offset) {
        return elements.copyIntoArray(dst, offset);
      }
    
      @Override
      public boolean equals(@CheckForNull Object object) {
        if (object == this) {
          return true;
        }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Apr 01 16:15:01 UTC 2024
    - 9.2K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/collect/RegularImmutableList.java

        return array;
      }
    
      @Override
      int internalArrayStart() {
        return 0;
      }
    
      @Override
      int internalArrayEnd() {
        return size;
      }
    
      @Override
      int copyIntoArray(@Nullable Object[] dst, int dstOff) {
        arraycopy(array, 0, dst, dstOff, size);
        return dstOff + size;
      }
    
      // The fake cast to E is safe because the creation methods only allow E's
      @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)
Back to top