Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 52 for RandomAccess (0.06 sec)

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

    import com.google.common.annotations.GwtCompatible;
    import com.google.common.base.Function;
    import java.util.ArrayList;
    import java.util.Collections;
    import java.util.Comparator;
    import java.util.List;
    import java.util.RandomAccess;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
     * Static methods pertaining to sorted {@link List} instances.
     *
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 11K bytes
    - Viewed (0)
  2. 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.junit.Test;
    import org.junit.runner.RunWith;
    import org.junit.runners.JUnit4;
    
    /** Tests for repeated node and edge addition and removal in a {@link Network}. */
    @RunWith(JUnit4.class)
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Apr 10 19:42:18 UTC 2024
    - 4.5K bytes
    - Viewed (0)
  3. 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.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}. */
    @RunWith(JUnit4.class)
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Aug 18 16:17:46 UTC 2017
    - 4.2K bytes
    - Viewed (0)
  4. 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.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}. */
    @RunWith(JUnit4.class)
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Aug 18 16:17:46 UTC 2017
    - 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 javax.annotation.CheckForNull;
    
    /**
     * Implementation of {@link Lists#cartesianProduct(List)}.
     *
     * @author Louis Wasserman
     */
    @GwtCompatible
    @ElementTypesAreNonnullByDefault
    final class CartesianList<E> extends AbstractList<List<E>> implements RandomAccess {
    
      private final transient ImmutableList<List<E>> axes;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Nov 30 21:54:06 UTC 2023
    - 4.8K bytes
    - Viewed (0)
  6. guava/src/com/google/common/collect/CartesianList.java

    import java.util.List;
    import java.util.ListIterator;
    import java.util.RandomAccess;
    import javax.annotation.CheckForNull;
    
    /**
     * Implementation of {@link Lists#cartesianProduct(List)}.
     *
     * @author Louis Wasserman
     */
    @GwtCompatible
    @ElementTypesAreNonnullByDefault
    final class CartesianList<E> extends AbstractList<List<E>> implements RandomAccess {
    
      private final transient ImmutableList<List<E>> axes;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Nov 30 21:54:06 UTC 2023
    - 4.8K bytes
    - Viewed (0)
  7. 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.junit.Test;
    import org.junit.runner.RunWith;
    import org.junit.runners.JUnit4;
    
    /** Tests for repeated node and edge addition and removal in a {@link Network}. */
    @RunWith(JUnit4.class)
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Apr 10 19:42:18 UTC 2024
    - 4.5K bytes
    - Viewed (0)
  8. 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 Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri May 12 15:26:39 UTC 2023
    - 7.9K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/collect/MultimapsTest.java

        delegate.put("foo", 1);
        delegate.put("foo", 3);
        ListMultimap<String, Integer> multimap = Multimaps.unmodifiableListMultimap(delegate);
        assertTrue(multimap.get("foo") instanceof RandomAccess);
        assertTrue(multimap.get("bar") instanceof RandomAccess);
      }
    
      public void testUnmodifiableLinkedListMultimapRandomAccess() {
        ListMultimap<String, Integer> delegate = LinkedListMultimap.create();
        delegate.put("foo", 1);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 38.4K bytes
    - Viewed (0)
  10. guava/src/com/google/common/collect/Ordering.java

       *
       * <p><b>Java 8+ users:</b> Use {@code Streams.stream(iterable).collect(Comparators.least(k,
       * thisComparator))} instead.
       *
       * @return an immutable {@code RandomAccess} list of the {@code k} least elements in ascending
       *     order
       * @throws IllegalArgumentException if {@code k} is negative
       * @since 8.0
       */
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 39.4K bytes
    - Viewed (0)
Back to top