Searched refs:RandomAccess (Results 1 – 17 of 17) sorted by relevance
/libcore/ojluni/src/main/java/java/util/ |
D | RandomAccess.java | 67 public interface RandomAccess { interface
|
D | Collections.java | 285 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 …]
|
D | AbstractList.java | 484 return (this instanceof RandomAccess ? in subList() 773 class RandomAccessSubList<E> extends SubList<E> implements RandomAccess {
|
D | ArrayList.java | 108 implements List<E>, RandomAccess, Cloneable, java.io.Serializable 993 private class SubList extends AbstractList<E> implements RandomAccess {
|
D | Vector.java | 85 implements List<E>, RandomAccess, Cloneable, java.io.Serializable
|
D | Arrays.java | 3820 implements RandomAccess, java.io.Serializable
|
/libcore/dex/src/main/java/com/android/dex/ |
D | Dex.java | 42 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/ |
D | Collections2Test.java | 38 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()
|
D | AbstractListTest.java | 29 import java.util.RandomAccess; 165 al.subList(3, 7) instanceof RandomAccess); in test_subListII() 173 !(ll.subList(3, 7) instanceof RandomAccess)); in test_subListII()
|
D | Arrays2Test.java | 26 import java.util.RandomAccess; 344 assertTrue(stringsList instanceof RandomAccess); in test_asListTvararg()
|
D | CollectionsTest.java | 50 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/ |
D | ReflectionTest.java | 32 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/ |
D | OldCollectionsTest.java | 32 import java.util.RandomAccess; 719 && (a instanceof RandomAccess == b instanceof RandomAccess); in assertSerialized()
|
/libcore/luni/src/main/java/java/util/concurrent/ |
D | ForkJoinTask.java | 15 import java.util.RandomAccess; 789 if (!(tasks instanceof RandomAccess) || !(tasks instanceof List<?>)) { in invokeAll()
|
D | CopyOnWriteArrayList.java | 32 import java.util.RandomAccess; 62 public class CopyOnWriteArrayList<E> implements List<E>, RandomAccess, Cloneable, Serializable {
|
/libcore/luni/src/test/java/libcore/java/net/ |
D | AbstractCookiesTest.java | 60 import java.util.RandomAccess; 1024 assertTrue(list instanceof RandomAccess); in test_getCookies()
|
/libcore/ |
D | openjdk_java_files.mk | 857 ojluni/src/main/java/java/util/RandomAccess.java \
|