Home
last modified time | relevance | path

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

123

/external/guava/guava-gwt/test-super/com/google/common/collect/super/com/google/common/collect/
DArrayListMultimapTest.java28 import java.util.RandomAccess;
49 assertTrue(multimap.get("foo") instanceof RandomAccess); in testGetRandomAccess() local
50 assertTrue(multimap.get("bar") instanceof RandomAccess); in testGetRandomAccess() local
60 assertTrue(multimap.removeAll("foo") instanceof RandomAccess); in testRemoveAllRandomAccess() local
61 assertTrue(multimap.removeAll("bar") instanceof RandomAccess); in testRemoveAllRandomAccess() local
72 instanceof RandomAccess); in testReplaceValuesRandomAccess() local
74 instanceof RandomAccess); in testReplaceValuesRandomAccess() local
DOrderingTest.java43 import java.util.RandomAccess;
474 assertTrue(result instanceof RandomAccess);
482 assertTrue(result instanceof RandomAccess);
489 assertTrue(result instanceof RandomAccess);
497 assertTrue(result instanceof RandomAccess);
520 assertTrue(result instanceof RandomAccess);
528 assertTrue(result instanceof RandomAccess);
535 assertTrue(result instanceof RandomAccess);
543 assertTrue(result instanceof RandomAccess);
550 assertTrue(result instanceof RandomAccess);
[all …]
DLinkedListMultimapTest.java33 import java.util.RandomAccess;
54 assertFalse(multimap.get("foo") instanceof RandomAccess); in testGetRandomAccess() local
55 assertFalse(multimap.get("bar") instanceof RandomAccess); in testGetRandomAccess() local
66 assertTrue(multimap.removeAll("foo") instanceof RandomAccess); in testRemoveAllRandomAccess() local
67 assertTrue(multimap.removeAll("bar") instanceof RandomAccess); in testRemoveAllRandomAccess() local
79 instanceof RandomAccess); in testReplaceValuesRandomAccess() local
81 instanceof RandomAccess); in testReplaceValuesRandomAccess() local
DListsTest.java39 import java.util.RandomAccess;
233 assertTrue(list instanceof RandomAccess); in testAsList1Small()
246 assertTrue(list instanceof RandomAccess); in testAsList2()
440 assertTrue(list instanceof RandomAccess); in testTransformRandomAccess()
445 assertFalse(list instanceof RandomAccess); in testTransformSequential()
601 assertFalse(partitions instanceof RandomAccess); in testPartitionRandomAccessFalse()
602 assertFalse(partitions.get(0) instanceof RandomAccess); in testPartitionRandomAccessFalse() local
603 assertFalse(partitions.get(1) instanceof RandomAccess); in testPartitionRandomAccessFalse() local
/external/guava/guava-tests/test/com/google/common/collect/
DArrayListMultimapTest.java37 import java.util.RandomAccess;
86 assertTrue(multimap.get("foo") instanceof RandomAccess); in testGetRandomAccess() local
87 assertTrue(multimap.get("bar") instanceof RandomAccess); in testGetRandomAccess() local
97 assertTrue(multimap.removeAll("foo") instanceof RandomAccess); in testRemoveAllRandomAccess() local
98 assertTrue(multimap.removeAll("bar") instanceof RandomAccess); in testRemoveAllRandomAccess() local
109 instanceof RandomAccess); in testReplaceValuesRandomAccess() local
111 instanceof RandomAccess); in testReplaceValuesRandomAccess() local
DOrderingTest.java45 import java.util.RandomAccess;
476 assertTrue(result instanceof RandomAccess);
484 assertTrue(result instanceof RandomAccess);
491 assertTrue(result instanceof RandomAccess);
499 assertTrue(result instanceof RandomAccess);
522 assertTrue(result instanceof RandomAccess);
530 assertTrue(result instanceof RandomAccess);
537 assertTrue(result instanceof RandomAccess);
545 assertTrue(result instanceof RandomAccess);
552 assertTrue(result instanceof RandomAccess);
[all …]
DSynchronizedMultimapTest.java36 import java.util.RandomAccess;
233 assertTrue(multimap.get("foo") instanceof RandomAccess); in testSynchronizedArrayListMultimapRandomAccess() local
234 assertTrue(multimap.get("bar") instanceof RandomAccess); in testSynchronizedArrayListMultimapRandomAccess() local
243 assertFalse(multimap.get("foo") instanceof RandomAccess); in testSynchronizedLinkedListMultimapRandomAccess() local
244 assertFalse(multimap.get("bar") instanceof RandomAccess); in testSynchronizedLinkedListMultimapRandomAccess() local
DListsTest.java55 import java.util.RandomAccess;
409 assertTrue(list instanceof RandomAccess); in testAsList1()
437 assertTrue(list instanceof RandomAccess); in testAsList1Small()
450 assertTrue(list instanceof RandomAccess); in testAsList2()
470 assertTrue(list instanceof RandomAccess); in testAsList2Small()
664 assertTrue(list instanceof RandomAccess); in testTransformRandomAccess()
669 assertFalse(list instanceof RandomAccess); in testTransformSequential()
850 partitions instanceof RandomAccess); in testPartitionRandomAccessTrue()
854 partitions.get(0) instanceof RandomAccess); in testPartitionRandomAccessTrue()
858 partitions.get(1) instanceof RandomAccess); in testPartitionRandomAccessTrue()
[all …]
DLinkedListMultimapTest.java51 import java.util.RandomAccess;
101 assertFalse(multimap.get("foo") instanceof RandomAccess); in testGetRandomAccess() local
102 assertFalse(multimap.get("bar") instanceof RandomAccess); in testGetRandomAccess() local
113 assertTrue(multimap.removeAll("foo") instanceof RandomAccess); in testRemoveAllRandomAccess() local
114 assertTrue(multimap.removeAll("bar") instanceof RandomAccess); in testRemoveAllRandomAccess() local
126 instanceof RandomAccess); in testReplaceValuesRandomAccess() local
128 instanceof RandomAccess); in testReplaceValuesRandomAccess() local
DConstraintsTest.java32 import java.util.RandomAccess;
196 assertTrue(constrained instanceof RandomAccess); in testConstrainedListLegal()
205 assertFalse(constrained instanceof RandomAccess); in testConstrainedListRandomAccessFalse()
DIterablesTest.java50 import java.util.RandomAccess;
466 assertTrue(iterator.next() instanceof RandomAccess);
467 assertTrue(iterator.next() instanceof RandomAccess);
478 assertTrue(iterator.next() instanceof RandomAccess);
479 assertTrue(iterator.next() instanceof RandomAccess);
493 assertTrue(iterator.next() instanceof RandomAccess);
494 assertTrue(iterator.next() instanceof RandomAccess);
503 assertTrue(iterator.next() instanceof RandomAccess);
504 assertTrue(iterator.next() instanceof RandomAccess);
DForwardingListTest.java33 import java.util.RandomAccess;
308 assertFalse(forward instanceof RandomAccess); in testRandomAccess()
/external/guava/guava/src/com/google/common/collect/
DLists.java50 import java.util.RandomAccess;
317 implements Serializable, RandomAccess {
360 implements Serializable, RandomAccess {
543 return (fromList instanceof RandomAccess) in transform()
595 extends AbstractList<T> implements RandomAccess, Serializable {
654 return (list instanceof RandomAccess)
685 implements RandomAccess {
791 } else if (list instanceof RandomAccess) {
919 implements RandomAccess {
1010 if (list instanceof RandomAccess) {
[all …]
DCartesianList.java25 import java.util.RandomAccess;
35 final class CartesianList<E> extends AbstractList<List<E>> implements RandomAccess {
DConstraints.java26 import java.util.RandomAccess;
181 return (list instanceof RandomAccess) in constrainedList()
233 implements RandomAccess {
DSortedLists.java26 import java.util.RandomAccess;
262 if (!(list instanceof RandomAccess)) { in binarySearch()
/external/guava/guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/
DLists.java49 import java.util.RandomAccess;
283 implements Serializable, RandomAccess {
326 implements Serializable, RandomAccess {
509 return (fromList instanceof RandomAccess) in transform()
561 extends AbstractList<T> implements RandomAccess, Serializable {
620 return (list instanceof RandomAccess)
651 implements RandomAccess {
757 } else if (list instanceof RandomAccess) {
885 implements RandomAccess {
976 if (list instanceof RandomAccess) {
[all …]
/external/protobuf/java/core/src/main/java/com/google/protobuf/
DLazyStringArrayList.java39 import java.util.RandomAccess;
66 implements LazyStringList, RandomAccess {
328 implements RandomAccess {
372 implements RandomAccess {
DAbstractProtobufList.java38 import java.util.RandomAccess;
74 if (!(o instanceof RandomAccess)) { in equals()
DUnmodifiableLazyStringList.java39 import java.util.RandomAccess;
48 implements LazyStringList, RandomAccess {
DDoubleArrayList.java37 import java.util.RandomAccess;
45 extends AbstractProtobufList<Double> implements DoubleList, RandomAccess {
DFloatArrayList.java37 import java.util.RandomAccess;
44 final class FloatArrayList extends AbstractProtobufList<Float> implements FloatList, RandomAccess {
DLongArrayList.java37 import java.util.RandomAccess;
44 final class LongArrayList extends AbstractProtobufList<Long> implements LongList, RandomAccess {
DBooleanArrayList.java37 import java.util.RandomAccess;
45 extends AbstractProtobufList<Boolean> implements BooleanList, RandomAccess {
DIntArrayList.java37 import java.util.RandomAccess;
44 final class IntArrayList extends AbstractProtobufList<Integer> implements IntList, RandomAccess {

123