Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for arrayFor (0.07 sec)

  1. guava-tests/test/com/google/common/collect/ImmutableMapTest.java

      @GwtIncompatible // SerializableTester
      public void testKeySetIsSerializable_jdkBackedImmutableMap() {
        class NonSerializableClass {}
    
        Entry<String, NonSerializableClass>[] entries =
            arrayOf(ImmutableMap.entryOf("one", new NonSerializableClass()));
    
        ImmutableMap<String, NonSerializableClass> map =
            JdkBackedImmutableMap.create(1, entries, /* throwIfDuplicateKeys= */ true);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 41.1K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/Iterators.java

          return emptyListIterator();
        }
        return new ArrayItr<>(array, position);
      }
    
      private static final class ArrayItr<T extends @Nullable Object>
          extends AbstractIndexedListIterator<T> {
        static final UnmodifiableListIterator<Object> EMPTY = new ArrayItr<>(new Object[0], 0);
    
        private final T[] array;
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 50.3K bytes
    - Viewed (0)
Back to top