Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for RandomAccess (0.04 sec)

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

      public void testGetRandomAccess() {
        Multimap<String, Integer> multimap = create();
        multimap.put("foo", 1);
        multimap.put("foo", 3);
        assertTrue(multimap.get("foo") instanceof RandomAccess);
        assertTrue(multimap.get("bar") instanceof RandomAccess);
      }
    
      /** Confirm that removeAll() returns a List implementing RandomAccess. */
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 6.6K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/graph/GraphMutationTest.java

    package com.google.common.graph;
    
    import static com.google.common.truth.Truth.assertThat;
    
    import java.util.ArrayList;
    import java.util.Collections;
    import java.util.List;
    import java.util.Random;
    import java.util.RandomAccess;
    import org.jspecify.annotations.NullUnmarked;
    import org.junit.Test;
    import org.junit.runner.RunWith;
    import org.junit.runners.JUnit4;
    
    /** Tests for repeated node and edge addition and removal in a {@link Graph}. */
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/graph/NetworkMutationTest.java

    package com.google.common.graph;
    
    import static com.google.common.truth.Truth.assertThat;
    
    import java.util.ArrayList;
    import java.util.Collections;
    import java.util.List;
    import java.util.Random;
    import java.util.RandomAccess;
    import org.jspecify.annotations.NullUnmarked;
    import org.junit.Test;
    import org.junit.runner.RunWith;
    import org.junit.runners.JUnit4;
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/graph/GraphMutationTest.java

    package com.google.common.graph;
    
    import static com.google.common.truth.Truth.assertThat;
    
    import java.util.ArrayList;
    import java.util.Collections;
    import java.util.List;
    import java.util.Random;
    import java.util.RandomAccess;
    import org.jspecify.annotations.NullUnmarked;
    import org.junit.Test;
    import org.junit.runner.RunWith;
    import org.junit.runners.JUnit4;
    
    /** Tests for repeated node and edge addition and removal in a {@link Graph}. */
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/CartesianList.java

    import java.util.List;
    import java.util.ListIterator;
    import java.util.RandomAccess;
    import org.jspecify.annotations.Nullable;
    
    /**
     * Implementation of {@link Lists#cartesianProduct(List)}.
     *
     * @author Louis Wasserman
     */
    @GwtCompatible
    final class CartesianList<E> extends AbstractList<List<E>> implements RandomAccess {
    
      private final transient ImmutableList<List<E>> axes;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Aug 31 13:15:26 UTC 2025
    - 4.7K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/ForwardingList.java

     * href="http://en.wikipedia.org/wiki/Decorator_pattern">decorator pattern</a>.
     *
     * <p>This class does not implement {@link java.util.RandomAccess}. If the delegate supports random
     * access, the {@code ForwardingList} subclass should implement the {@code RandomAccess} interface.
     *
     * <p><b>Warning:</b> The methods of {@code ForwardingList} forward <b>indiscriminately</b> to the
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 7.8K bytes
    - Viewed (0)
  7. guava/src/com/google/common/collect/ArrayListMultimap.java

     * views are modifiable.
     *
     * <p>The lists returned by {@link #get}, {@link #removeAll}, and {@link #replaceValues} all
     * implement {@link java.util.RandomAccess}.
     *
     * <p>This class is not threadsafe when any concurrent operations update the multimap. Concurrent
     * read operations will work correctly. To allow concurrent update operations, wrap your multimap
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 6.8K bytes
    - Viewed (0)
Back to top