/external/guava/guava-tests/test/com/google/common/collect/ |
D | ArrayListMultimapTest.java | 32 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
|
D | OrderingTest.java | 42 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 …]
|
D | SynchronizedMultimapTest.java | 31 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
|
D | ListsTest.java | 48 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 …]
|
D | LinkedListMultimapTest.java | 45 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/ |
D | ArrayListMultimapTest.java | 32 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
|
D | OrderingTest.java | 42 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 …]
|
D | SynchronizedMultimapTest.java | 31 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
|
D | ListsTest.java | 48 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 …]
|
D | LinkedListMultimapTest.java | 45 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/ |
D | Lists.java | 49 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 …]
|
D | CartesianList.java | 24 import java.util.RandomAccess; 33 final class CartesianList<E> extends AbstractList<List<E>> implements RandomAccess {
|
D | SortedLists.java | 25 import java.util.RandomAccess; 257 if (!(list instanceof RandomAccess)) { in binarySearch()
|
/external/guava/guava/src/com/google/common/collect/ |
D | Lists.java | 49 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 …]
|
D | CartesianList.java | 24 import java.util.RandomAccess; 33 final class CartesianList<E> extends AbstractList<List<E>> implements RandomAccess {
|
/external/auto/factory/src/test/resources/good/ |
D | SimpleClassImplementingMarker.java | 17 import java.util.RandomAccess; 19 @AutoFactory(implementing = RandomAccess.class)
|
/external/auto/factory/src/test/resources/expected/ |
D | SimpleClassImplementingMarkerFactory.java | 18 import java.util.RandomAccess; 26 final class SimpleClassImplementingMarkerFactory implements RandomAccess {
|
/external/protobuf/java/core/src/main/java/com/google/protobuf/ |
D | AbstractProtobufList.java | 37 import java.util.RandomAccess; 69 if (!(o instanceof RandomAccess)) { in equals()
|
D | LazyStringArrayList.java | 39 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 {
|
D | UnmodifiableLazyStringList.java | 39 import java.util.RandomAccess; 48 implements LazyStringList, RandomAccess {
|
D | IntArrayList.java | 38 import java.util.RandomAccess; 46 implements IntList, RandomAccess, PrimitiveNonBoxingCollection {
|
/external/guava/guava-tests/test/com/google/common/graph/ |
D | GraphMutationTest.java | 25 import java.util.RandomAccess; 116 private static <L extends List<T> & RandomAccess, T> T getRandomElement(L list, Random gen) { in getRandomElement()
|
D | NetworkMutationTest.java | 25 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/ |
D | GraphMutationTest.java | 25 import java.util.RandomAccess; 116 private static <L extends List<T> & RandomAccess, T> T getRandomElement(L list, Random gen) { in getRandomElement()
|
D | NetworkMutationTest.java | 25 import java.util.RandomAccess; 124 private static <L extends List<T> & RandomAccess, T> T getRandomElement(L list, Random gen) { in getRandomElement()
|