/libcore/luni/src/main/java/java/util/ |
RandomAccess.java | 21 * RandomAccess is implemented by {@code List} implementations that support fast 24 public interface RandomAccess {
|
/external/smali/dexlib/src/main/java/org/jf/dexlib/Util/ |
ReadOnlyArrayList.java | 32 import java.util.RandomAccess; 34 public class ReadOnlyArrayList<T> extends AbstractList<T> implements RandomAccess {
|
/external/guava/guava-tests/test/com/google/common/collect/ |
ArrayListMultimapTest.java | 26 import java.util.RandomAccess; 41 * Confirm that get() returns a List implementing RandomAccess. 47 assertTrue(multimap.get("foo") instanceof RandomAccess); 48 assertTrue(multimap.get("bar") instanceof RandomAccess); 52 * Confirm that removeAll() returns a List implementing RandomAccess. 58 assertTrue(multimap.removeAll("foo") instanceof RandomAccess); 59 assertTrue(multimap.removeAll("bar") instanceof RandomAccess); 63 * Confirm that replaceValues() returns a List implementing RandomAccess. 70 instanceof RandomAccess); 72 instanceof RandomAccess); [all...] |
SynchronizedMultimapTest.java | 25 import java.util.RandomAccess; 202 assertTrue(multimap.get("foo") instanceof RandomAccess); 203 assertTrue(multimap.get("bar") instanceof RandomAccess); 212 assertFalse(multimap.get("foo") instanceof RandomAccess); 213 assertFalse(multimap.get("bar") instanceof RandomAccess);
|
ListsTest.java | 55 import java.util.RandomAccess; 426 assertTrue(list instanceof RandomAccess); 454 assertTrue(list instanceof RandomAccess); 467 assertTrue(list instanceof RandomAccess); 487 assertTrue(list instanceof RandomAccess); 634 assertTrue(list instanceof RandomAccess); 639 assertFalse(list instanceof RandomAccess); 798 @GwtIncompatible("ArrayList.subList doesn't implement RandomAccess in GWT.") 803 assertTrue("partition should be RandomAccess, but not: " 805 partitions instanceof RandomAccess); [all...] |
LinkedListMultimapTest.java | 41 import java.util.RandomAccess; 57 * Confirm that get() returns a List that doesn't implement RandomAccess. 63 assertFalse(multimap.get("foo") instanceof RandomAccess); 64 assertFalse(multimap.get("bar") instanceof RandomAccess); 68 * Confirm that removeAll() returns a List that implements RandomAccess, even 75 assertTrue(multimap.removeAll("foo") instanceof RandomAccess); 76 assertTrue(multimap.removeAll("bar") instanceof RandomAccess); 80 * Confirm that replaceValues() returns a List that implements RandomAccess, 88 instanceof RandomAccess); 90 instanceof RandomAccess); [all...] |
OrderingTest.java | 43 import java.util.RandomAccess; 441 assertTrue(result instanceof RandomAccess); 448 assertTrue(result instanceof RandomAccess); 463 assertTrue(result instanceof RandomAccess); 470 assertTrue(result instanceof RandomAccess); 477 assertTrue(result instanceof RandomAccess); 485 assertTrue(result instanceof RandomAccess); 493 assertTrue(result instanceof RandomAccess); 501 assertTrue(result instanceof RandomAccess);
|
ForwardingListTest.java | 33 import java.util.RandomAccess; 308 assertFalse(forward instanceof RandomAccess);
|
ConstraintsTest.java | 34 import java.util.RandomAccess; 204 assertTrue(constrained instanceof RandomAccess); 213 assertFalse(constrained instanceof RandomAccess);
|
/external/chromium_org/third_party/protobuf/java/src/main/java/com/google/protobuf/ |
UnmodifiableLazyStringList.java | 34 import java.util.RandomAccess; 46 implements LazyStringList, RandomAccess {
|
LazyStringArrayList.java | 38 import java.util.RandomAccess; 65 implements LazyStringList, RandomAccess {
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/configuration/ |
TargetMenuListener.java | 35 import java.util.RandomAccess; 95 assert targets instanceof RandomAccess;
|
/libcore/luni/src/test/java/tests/api/java/util/ |
AbstractListTest.java | 27 import java.util.RandomAccess; 157 al.subList(3, 7) instanceof RandomAccess); 165 !(ll.subList(3, 7) instanceof RandomAccess));
|
/external/guava/guava/src/com/google/common/collect/ |
Lists.java | 45 import java.util.RandomAccess; 233 * <p>The returned list is serializable and implements {@link RandomAccess}. 245 implements Serializable, RandomAccess { 274 * <p>The returned list is serializable and implements {@link RandomAccess}. 288 implements Serializable, RandomAccess { 334 * <p>If {@code fromList} implements {@link RandomAccess}, so will the 345 return (fromList instanceof RandomAccess) 438 extends AbstractList<T> implements RandomAccess, Serializable { 486 return (list instanceof RandomAccess) 523 implements RandomAccess { [all...] |
Constraints.java | 27 import java.util.RandomAccess; 200 * <p>If {@code list} implements {@link RandomAccess}, so will the returned 209 return (list instanceof RandomAccess) 261 implements RandomAccess {
|
SortedLists.java | 26 import java.util.RandomAccess; 262 if (!(list instanceof RandomAccess)) {
|
/external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/util/ |
Collections2Test.java | 31 import java.util.RandomAccess; 423 assertTrue(c instanceof RandomAccess); 430 assertFalse(c instanceof RandomAccess); 464 assertTrue(emptyList instanceof RandomAccess);
|
AbstractListTest.java | 29 import java.util.RandomAccess; 165 al.subList(3, 7) instanceof RandomAccess); 173 !(ll.subList(3, 7) instanceof RandomAccess));
|
/external/guava/guava/src/com/google/common/primitives/ |
Bytes.java | 32 import java.util.RandomAccess; 264 implements RandomAccess, Serializable {
|
Booleans.java | 34 import java.util.RandomAccess; 347 implements RandomAccess, Serializable {
|
Chars.java | 34 import java.util.RandomAccess; 463 implements RandomAccess, Serializable {
|
Doubles.java | 35 import java.util.RandomAccess; 409 implements RandomAccess, Serializable {
|
Floats.java | 35 import java.util.RandomAccess; 406 implements RandomAccess, Serializable {
|
/libcore/dex/src/main/java/com/android/dex/ |
Dex.java | 42 import java.util.RandomAccess; 890 private final class StringTable extends AbstractList<String> implements RandomAccess { 902 implements RandomAccess { [all...] |
/libcore/luni/src/test/java/libcore/java/lang/reflect/ |
ReflectionTest.java | 30 import java.util.RandomAccess; 156 assertEquals(RandomAccess.class, bounds[2]); 325 public <T extends Comparable<T> & Serializable & RandomAccess> T methodFour(Set<T> t) {
|