Home
last modified time | relevance | path

Searched refs:RandomAccess (Results 1 – 25 of 93) sorted by relevance

1234

/external/guava/guava-tests/test/com/google/common/collect/
DArrayListMultimapTest.java32 import java.util.RandomAccess;
84 assertTrue(multimap.get("foo") instanceof RandomAccess); in testGetRandomAccess() local
85 assertTrue(multimap.get("bar") instanceof RandomAccess); in testGetRandomAccess() local
93 assertTrue(multimap.removeAll("foo") instanceof RandomAccess); in testRemoveAllRandomAccess() local
94 assertTrue(multimap.removeAll("bar") instanceof RandomAccess); in testRemoveAllRandomAccess() local
102 assertTrue(multimap.replaceValues("foo", asList(2, 4)) instanceof RandomAccess); in testReplaceValuesRandomAccess() local
103 assertTrue(multimap.replaceValues("bar", asList(2, 4)) instanceof RandomAccess); in testReplaceValuesRandomAccess() local
DOrderingTest.java42 import java.util.RandomAccess;
495 assertTrue(result instanceof RandomAccess);
502 assertTrue(result instanceof RandomAccess);
509 assertTrue(result instanceof RandomAccess);
516 assertTrue(result instanceof RandomAccess);
539 assertTrue(result instanceof RandomAccess);
546 assertTrue(result instanceof RandomAccess);
553 assertTrue(result instanceof RandomAccess);
560 assertTrue(result instanceof RandomAccess);
567 assertTrue(result instanceof RandomAccess);
[all …]
DSynchronizedMultimapTest.java31 import java.util.RandomAccess;
251 assertTrue(multimap.get("foo") instanceof RandomAccess); in testSynchronizedArrayListMultimapRandomAccess() local
252 assertTrue(multimap.get("bar") instanceof RandomAccess); in testSynchronizedArrayListMultimapRandomAccess() local
260 assertFalse(multimap.get("foo") instanceof RandomAccess); in testSynchronizedLinkedListMultimapRandomAccess() local
261 assertFalse(multimap.get("bar") instanceof RandomAccess); in testSynchronizedLinkedListMultimapRandomAccess() local
DListsTest.java48 import java.util.RandomAccess;
449 assertTrue(list instanceof RandomAccess); in testAsList1()
477 assertTrue(list instanceof RandomAccess); in testAsList1Small()
491 assertTrue(list instanceof RandomAccess); in testAsList2()
512 assertTrue(list instanceof RandomAccess); in testAsList2Small()
742 assertTrue(list instanceof RandomAccess); in testTransformRandomAccess()
747 assertFalse(list instanceof RandomAccess); in testTransformSequential()
945 partitions instanceof RandomAccess); in testPartitionRandomAccessTrue()
949 partitions.get(0) instanceof RandomAccess); in testPartitionRandomAccessTrue()
953 partitions.get(1) instanceof RandomAccess); in testPartitionRandomAccessTrue()
[all …]
DLinkedListMultimapTest.java45 import java.util.RandomAccess;
98 assertFalse(multimap.get("foo") instanceof RandomAccess); in testGetRandomAccess() local
99 assertFalse(multimap.get("bar") instanceof RandomAccess); in testGetRandomAccess() local
110 assertTrue(multimap.removeAll("foo") instanceof RandomAccess); in testRemoveAllRandomAccess() local
111 assertTrue(multimap.removeAll("bar") instanceof RandomAccess); in testRemoveAllRandomAccess() local
122 assertTrue(multimap.replaceValues("foo", Arrays.asList(2, 4)) instanceof RandomAccess); in testReplaceValuesRandomAccess() local
123 assertTrue(multimap.replaceValues("bar", Arrays.asList(2, 4)) instanceof RandomAccess); in testReplaceValuesRandomAccess() local
/external/guava/android/guava-tests/test/com/google/common/collect/
DArrayListMultimapTest.java32 import java.util.RandomAccess;
84 assertTrue(multimap.get("foo") instanceof RandomAccess); in testGetRandomAccess() local
85 assertTrue(multimap.get("bar") instanceof RandomAccess); in testGetRandomAccess() local
93 assertTrue(multimap.removeAll("foo") instanceof RandomAccess); in testRemoveAllRandomAccess() local
94 assertTrue(multimap.removeAll("bar") instanceof RandomAccess); in testRemoveAllRandomAccess() local
102 assertTrue(multimap.replaceValues("foo", asList(2, 4)) instanceof RandomAccess); in testReplaceValuesRandomAccess() local
103 assertTrue(multimap.replaceValues("bar", asList(2, 4)) instanceof RandomAccess); in testReplaceValuesRandomAccess() local
DOrderingTest.java42 import java.util.RandomAccess;
495 assertTrue(result instanceof RandomAccess);
502 assertTrue(result instanceof RandomAccess);
509 assertTrue(result instanceof RandomAccess);
516 assertTrue(result instanceof RandomAccess);
539 assertTrue(result instanceof RandomAccess);
546 assertTrue(result instanceof RandomAccess);
553 assertTrue(result instanceof RandomAccess);
560 assertTrue(result instanceof RandomAccess);
567 assertTrue(result instanceof RandomAccess);
[all …]
DSynchronizedMultimapTest.java31 import java.util.RandomAccess;
251 assertTrue(multimap.get("foo") instanceof RandomAccess); in testSynchronizedArrayListMultimapRandomAccess() local
252 assertTrue(multimap.get("bar") instanceof RandomAccess); in testSynchronizedArrayListMultimapRandomAccess() local
260 assertFalse(multimap.get("foo") instanceof RandomAccess); in testSynchronizedLinkedListMultimapRandomAccess() local
261 assertFalse(multimap.get("bar") instanceof RandomAccess); in testSynchronizedLinkedListMultimapRandomAccess() local
DListsTest.java48 import java.util.RandomAccess;
449 assertTrue(list instanceof RandomAccess); in testAsList1()
477 assertTrue(list instanceof RandomAccess); in testAsList1Small()
491 assertTrue(list instanceof RandomAccess); in testAsList2()
512 assertTrue(list instanceof RandomAccess); in testAsList2Small()
742 assertTrue(list instanceof RandomAccess); in testTransformRandomAccess()
747 assertFalse(list instanceof RandomAccess); in testTransformSequential()
945 partitions instanceof RandomAccess); in testPartitionRandomAccessTrue()
949 partitions.get(0) instanceof RandomAccess); in testPartitionRandomAccessTrue()
953 partitions.get(1) instanceof RandomAccess); in testPartitionRandomAccessTrue()
[all …]
DLinkedListMultimapTest.java45 import java.util.RandomAccess;
98 assertFalse(multimap.get("foo") instanceof RandomAccess); in testGetRandomAccess() local
99 assertFalse(multimap.get("bar") instanceof RandomAccess); in testGetRandomAccess() local
110 assertTrue(multimap.removeAll("foo") instanceof RandomAccess); in testRemoveAllRandomAccess() local
111 assertTrue(multimap.removeAll("bar") instanceof RandomAccess); in testRemoveAllRandomAccess() local
122 assertTrue(multimap.replaceValues("foo", Arrays.asList(2, 4)) instanceof RandomAccess); in testReplaceValuesRandomAccess() local
123 assertTrue(multimap.replaceValues("bar", Arrays.asList(2, 4)) instanceof RandomAccess); in testReplaceValuesRandomAccess() local
/external/guava/android/guava/src/com/google/common/collect/
DLists.java49 import java.util.RandomAccess;
313 implements Serializable, RandomAccess {
339 implements Serializable, RandomAccess {
523 return (fromList instanceof RandomAccess) in transform()
578 implements RandomAccess, Serializable {
648 return (list instanceof RandomAccess)
681 private static class RandomAccessPartition<T> extends Partition<T> implements RandomAccess {
787 } else if (list instanceof RandomAccess) {
932 private static class RandomAccessReverseList<T> extends ReverseList<T> implements RandomAccess {
964 if (thisList instanceof RandomAccess && otherList instanceof RandomAccess) {
[all …]
DCartesianList.java24 import java.util.RandomAccess;
33 final class CartesianList<E> extends AbstractList<List<E>> implements RandomAccess {
DSortedLists.java25 import java.util.RandomAccess;
257 if (!(list instanceof RandomAccess)) { in binarySearch()
/external/guava/guava/src/com/google/common/collect/
DLists.java49 import java.util.RandomAccess;
314 implements Serializable, RandomAccess {
340 implements Serializable, RandomAccess {
524 return (fromList instanceof RandomAccess) in transform()
585 implements RandomAccess, Serializable {
661 return (list instanceof RandomAccess)
694 private static class RandomAccessPartition<T> extends Partition<T> implements RandomAccess {
800 } else if (list instanceof RandomAccess) {
945 private static class RandomAccessReverseList<T> extends ReverseList<T> implements RandomAccess {
977 if (thisList instanceof RandomAccess && otherList instanceof RandomAccess) {
[all …]
DCartesianList.java24 import java.util.RandomAccess;
33 final class CartesianList<E> extends AbstractList<List<E>> implements RandomAccess {
/external/auto/factory/src/test/resources/good/
DSimpleClassImplementingMarker.java17 import java.util.RandomAccess;
19 @AutoFactory(implementing = RandomAccess.class)
/external/auto/factory/src/test/resources/expected/
DSimpleClassImplementingMarkerFactory.java18 import java.util.RandomAccess;
26 final class SimpleClassImplementingMarkerFactory implements RandomAccess {
/external/protobuf/java/core/src/main/java/com/google/protobuf/
DAbstractProtobufList.java37 import java.util.RandomAccess;
69 if (!(o instanceof RandomAccess)) { in equals()
DLazyStringArrayList.java39 import java.util.RandomAccess;
62 implements LazyStringList, RandomAccess {
324 private static class ByteArrayListView extends AbstractList<byte[]> implements RandomAccess {
367 private static class ByteStringListView extends AbstractList<ByteString> implements RandomAccess {
DUnmodifiableLazyStringList.java39 import java.util.RandomAccess;
48 implements LazyStringList, RandomAccess {
DIntArrayList.java38 import java.util.RandomAccess;
46 implements IntList, RandomAccess, PrimitiveNonBoxingCollection {
/external/guava/guava-tests/test/com/google/common/graph/
DGraphMutationTest.java25 import java.util.RandomAccess;
116 private static <L extends List<T> & RandomAccess, T> T getRandomElement(L list, Random gen) { in getRandomElement()
DNetworkMutationTest.java25 import java.util.RandomAccess;
124 private static <L extends List<T> & RandomAccess, T> T getRandomElement(L list, Random gen) { in getRandomElement()
/external/guava/android/guava-tests/test/com/google/common/graph/
DGraphMutationTest.java25 import java.util.RandomAccess;
116 private static <L extends List<T> & RandomAccess, T> T getRandomElement(L list, Random gen) { in getRandomElement()
DNetworkMutationTest.java25 import java.util.RandomAccess;
124 private static <L extends List<T> & RandomAccess, T> T getRandomElement(L list, Random gen) { in getRandomElement()

1234