Home
last modified time | relevance | path

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

/libcore/ojluni/src/main/java/java/util/
DRandomAccess.java67 public interface RandomAccess { interface
DCollections.java285 if (list instanceof RandomAccess || list.size()<BINARYSEARCH_THRESHOLD) in binarySearch()
392 if (list instanceof RandomAccess || list.size()<BINARYSEARCH_THRESHOLD) in binarySearch()
449 if (size < REVERSE_THRESHOLD || list instanceof RandomAccess) { in reverse()
529 if (size < SHUFFLE_THRESHOLD || list instanceof RandomAccess) { in shuffle()
597 if (size < FILL_THRESHOLD || list instanceof RandomAccess) { in fill()
632 (src instanceof RandomAccess && dest instanceof RandomAccess)) { in copy()
847 if (list instanceof RandomAccess || list.size() < ROTATE_THRESHOLD) in rotate()
913 if (size < REPLACEALL_THRESHOLD || list instanceof RandomAccess) { in replaceAll()
976 (source instanceof RandomAccess&&target instanceof RandomAccess)) { in indexOfSubList()
1029 source instanceof RandomAccess) { // Index access version in lastIndexOfSubList()
[all …]
DAbstractList.java484 return (this instanceof RandomAccess ? in subList()
773 class RandomAccessSubList<E> extends SubList<E> implements RandomAccess {
DArrayList.java108 implements List<E>, RandomAccess, Cloneable, java.io.Serializable
993 private class SubList extends AbstractList<E> implements RandomAccess {
DVector.java85 implements List<E>, RandomAccess, Cloneable, java.io.Serializable
DArrays.java3820 implements RandomAccess, java.io.Serializable
/libcore/dex/src/main/java/com/android/dex/
DDex.java42 import java.util.RandomAccess;
890 private final class StringTable extends AbstractList<String> implements RandomAccess {
902 implements RandomAccess {
912 implements RandomAccess {
921 private final class ProtoIdTable extends AbstractList<ProtoId> implements RandomAccess {
932 private final class FieldIdTable extends AbstractList<FieldId> implements RandomAccess {
943 private final class MethodIdTable extends AbstractList<MethodId> implements RandomAccess {
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/
DCollections2Test.java38 import java.util.RandomAccess;
425 assertTrue(c instanceof RandomAccess); in test_checkedListRandomAccessSerializationCompatability()
432 assertFalse(c instanceof RandomAccess); in test_checkedListSerializationCompatability()
466 assertTrue(emptyList instanceof RandomAccess); in test_emptyList()
DAbstractListTest.java29 import java.util.RandomAccess;
165 al.subList(3, 7) instanceof RandomAccess); in test_subListII()
173 !(ll.subList(3, 7) instanceof RandomAccess)); in test_subListII()
DArrays2Test.java26 import java.util.RandomAccess;
344 assertTrue(stringsList instanceof RandomAccess); in test_asListTvararg()
DCollectionsTest.java50 import java.util.RandomAccess;
1357 synchList instanceof RandomAccess); in testSynchronizedList()
1361 !(synchList instanceof RandomAccess)); in testSynchronizedList()
1692 !(c instanceof RandomAccess)); in test_unmodifiableListLjava_util_List()
1730 c instanceof RandomAccess); in test_unmodifiableListLjava_util_List()
1740 myList instanceof RandomAccess); in test_unmodifiableListLjava_util_List()
/libcore/luni/src/test/java/libcore/java/lang/reflect/
DReflectionTest.java32 import java.util.RandomAccess;
179 assertEquals(RandomAccess.class, bounds[2]); in testTypeVariableWithMultipleBounds()
380 public <T extends Comparable<T> & Serializable & RandomAccess> T methodFour(Set<T> t) { in methodFour()
/libcore/luni/src/test/java/libcore/java/util/
DOldCollectionsTest.java32 import java.util.RandomAccess;
719 && (a instanceof RandomAccess == b instanceof RandomAccess); in assertSerialized()
/libcore/luni/src/main/java/java/util/concurrent/
DForkJoinTask.java15 import java.util.RandomAccess;
789 if (!(tasks instanceof RandomAccess) || !(tasks instanceof List<?>)) { in invokeAll()
DCopyOnWriteArrayList.java32 import java.util.RandomAccess;
62 public class CopyOnWriteArrayList<E> implements List<E>, RandomAccess, Cloneable, Serializable {
/libcore/luni/src/test/java/libcore/java/net/
DAbstractCookiesTest.java60 import java.util.RandomAccess;
1024 assertTrue(list instanceof RandomAccess); in test_getCookies()
/libcore/
Dopenjdk_java_files.mk857 ojluni/src/main/java/java/util/RandomAccess.java \