/external/guava/guava-gwt/test-super/com/google/common/collect/super/com/google/common/collect/ |
ArrayListMultimapTest.java | 28 import java.util.RandomAccess; 43 * Confirm that get() returns a List implementing RandomAccess. 49 assertTrue(multimap.get("foo") instanceof RandomAccess); 50 assertTrue(multimap.get("bar") instanceof RandomAccess); 54 * Confirm that removeAll() returns a List implementing RandomAccess. 60 assertTrue(multimap.removeAll("foo") instanceof RandomAccess); 61 assertTrue(multimap.removeAll("bar") instanceof RandomAccess); 65 * Confirm that replaceValues() returns a List implementing RandomAccess. 72 instanceof RandomAccess); 74 instanceof RandomAccess); [all...] |
LinkedListMultimapTest.java | 33 import java.util.RandomAccess; 48 * Confirm that get() returns a List that doesn't implement RandomAccess. 54 assertFalse(multimap.get("foo") instanceof RandomAccess); 55 assertFalse(multimap.get("bar") instanceof RandomAccess); 59 * Confirm that removeAll() returns a List that implements RandomAccess, even 66 assertTrue(multimap.removeAll("foo") instanceof RandomAccess); 67 assertTrue(multimap.removeAll("bar") instanceof RandomAccess); 71 * Confirm that replaceValues() returns a List that implements RandomAccess, 79 instanceof RandomAccess); 81 instanceof RandomAccess); [all...] |
OrderingTest.java | 43 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...] |
ListsTest.java | 39 import java.util.RandomAccess; 233 assertTrue(list instanceof RandomAccess); 246 assertTrue(list instanceof RandomAccess); 440 assertTrue(list instanceof RandomAccess); 445 assertFalse(list instanceof RandomAccess); 601 assertFalse(partitions instanceof RandomAccess); 602 assertFalse(partitions.get(0) instanceof RandomAccess); 603 assertFalse(partitions.get(1) instanceof RandomAccess);
|
MultimapsTest.java | 50 import java.util.RandomAccess; 120 assertTrue(multimap.get("foo") instanceof RandomAccess); 121 assertTrue(multimap.get("bar") instanceof RandomAccess); 130 assertFalse(multimap.get("foo") instanceof RandomAccess); 131 assertFalse(multimap.get("bar") instanceof RandomAccess); 565 assertFalse(multimap.get(Color.BLUE) instanceof RandomAccess);
|
/external/guava/guava-tests/test/com/google/common/collect/ |
ArrayListMultimapTest.java | 37 import java.util.RandomAccess; 80 * Confirm that get() returns a List implementing RandomAccess. 86 assertTrue(multimap.get("foo") instanceof RandomAccess); 87 assertTrue(multimap.get("bar") instanceof RandomAccess); 91 * Confirm that removeAll() returns a List implementing RandomAccess. 97 assertTrue(multimap.removeAll("foo") instanceof RandomAccess); 98 assertTrue(multimap.removeAll("bar") instanceof RandomAccess); 102 * Confirm that replaceValues() returns a List implementing RandomAccess. 109 instanceof RandomAccess); 111 instanceof RandomAccess); [all...] |
ListsTest.java | 55 import java.util.RandomAccess; 409 assertTrue(list instanceof RandomAccess); 437 assertTrue(list instanceof RandomAccess); 450 assertTrue(list instanceof RandomAccess); 470 assertTrue(list instanceof RandomAccess); 664 assertTrue(list instanceof RandomAccess); 669 assertFalse(list instanceof RandomAccess); 843 @GwtIncompatible("ArrayList.subList doesn't implement RandomAccess in GWT.") 848 assertTrue("partition should be RandomAccess, but not: " 850 partitions instanceof RandomAccess); [all...] |
OrderingTest.java | 45 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...] |
LinkedListMultimapTest.java | 51 import java.util.RandomAccess; 95 * Confirm that get() returns a List that doesn't implement RandomAccess. 101 assertFalse(multimap.get("foo") instanceof RandomAccess); 102 assertFalse(multimap.get("bar") instanceof RandomAccess); 106 * Confirm that removeAll() returns a List that implements RandomAccess, even 113 assertTrue(multimap.removeAll("foo") instanceof RandomAccess); 114 assertTrue(multimap.removeAll("bar") instanceof RandomAccess); 118 * Confirm that replaceValues() returns a List that implements RandomAccess, 126 instanceof RandomAccess); 128 instanceof RandomAccess); [all...] |
SynchronizedMultimapTest.java | 36 import java.util.RandomAccess; 233 assertTrue(multimap.get("foo") instanceof RandomAccess); 234 assertTrue(multimap.get("bar") instanceof RandomAccess); 243 assertFalse(multimap.get("foo") instanceof RandomAccess); 244 assertFalse(multimap.get("bar") instanceof RandomAccess);
|
ConstraintsTest.java | 32 import java.util.RandomAccess; 196 assertTrue(constrained instanceof RandomAccess); 205 assertFalse(constrained instanceof RandomAccess);
|
ForwardingListTest.java | 33 import java.util.RandomAccess; 308 assertFalse(forward instanceof RandomAccess);
|
IterablesTest.java | 50 import java.util.RandomAccess; 466 assertTrue(iterator.next() instanceof RandomAccess); 467 assertTrue(iterator.next() instanceof RandomAccess); 476 // Even though the input list doesn't implement RandomAccess, the output 478 assertTrue(iterator.next() instanceof RandomAccess); 479 assertTrue(iterator.next() instanceof RandomAccess); 493 assertTrue(iterator.next() instanceof RandomAccess); 494 assertTrue(iterator.next() instanceof RandomAccess); 501 // Even though the input list doesn't implement RandomAccess, the output 503 assertTrue(iterator.next() instanceof RandomAccess); [all...] |
/external/guava/guava/src/com/google/common/collect/ |
CartesianList.java | 25 import java.util.RandomAccess; 35 final class CartesianList<E> extends AbstractList<List<E>> implements RandomAccess {
|
Constraints.java | 26 import java.util.RandomAccess; 172 * <p>If {@code list} implements {@link RandomAccess}, so will the returned 181 return (list instanceof RandomAccess) 233 implements RandomAccess {
|
Lists.java | 50 import java.util.RandomAccess; 305 * <p>The returned list is serializable and implements {@link RandomAccess}. 317 implements Serializable, RandomAccess { 346 * <p>The returned list is serializable and implements {@link RandomAccess}. 360 implements Serializable, RandomAccess { 526 * <p>If {@code fromList} implements {@link RandomAccess}, so will the 543 return (fromList instanceof RandomAccess) 595 extends AbstractList<T> implements RandomAccess, Serializable { 654 return (list instanceof RandomAccess) 685 implements RandomAccess { [all...] |
ForwardingList.java | 35 * <p>This class does not implement {@link java.util.RandomAccess}. If the 37 * implement the {@code RandomAccess} interface.
|
/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;
|
/external/protobuf/java/src/main/java/com/google/protobuf/ |
LazyStringArrayList.java | 39 import java.util.RandomAccess; 66 implements LazyStringList, RandomAccess { 265 implements RandomAccess { 314 implements RandomAccess {
|
UnmodifiableLazyStringList.java | 39 import java.util.RandomAccess; 48 implements LazyStringList, RandomAccess {
|
/external/guava/guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ |
Lists.java | 49 import java.util.RandomAccess; 271 * <p>The returned list is serializable and implements {@link RandomAccess}. 283 implements Serializable, RandomAccess { 312 * <p>The returned list is serializable and implements {@link RandomAccess}. 326 implements Serializable, RandomAccess { 492 * <p>If {@code fromList} implements {@link RandomAccess}, so will the 509 return (fromList instanceof RandomAccess) 561 extends AbstractList<T> implements RandomAccess, Serializable { 620 return (list instanceof RandomAccess) 651 implements RandomAccess { [all...] |
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/ |
Collections2Test.java | 38 import java.util.RandomAccess; 425 assertTrue(c instanceof RandomAccess); 432 assertFalse(c instanceof RandomAccess); 466 assertTrue(emptyList instanceof RandomAccess);
|
/libcore/ojluni/src/main/java/java/util/ |
RandomAccess.java | 67 public interface RandomAccess {
|
AbstractList.java | 456 * of the subclass, one of which implements {@code RandomAccess}. 457 * If this list implements {@code RandomAccess} the returned list will 458 * be an instance of the subclass that implements {@code RandomAccess}. 484 return (this instanceof RandomAccess ? 773 class RandomAccessSubList<E> extends SubList<E> implements RandomAccess {
|
/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...] |