/external/antlr/antlr-3.4/runtime/CSharp3/Sources/Antlr3.Runtime.JavaExtensions/ |
ListExtensions.cs | 206 public static IList subList( this IList list, int fromIndex, int toIndex ) 208 return new SubList( list, fromIndex, toIndex ); 217 public static IList<T> subList<T>( this IList<T> list, int fromIndex, int toIndex ) 219 return new SubList<T>( list, fromIndex, toIndex ); 227 public static IList<T> subList<T>( this List<T> list, int fromIndex, int toIndex ) 229 return new SubList<T>( list, fromIndex, toIndex );
|
/external/guava/guava-testlib/src/com/google/common/collect/testing/testers/ |
ListSubListTester.java | 37 * A generic JUnit test which tests {@code subList()} operations on a list. 49 getList().subList(-1, 0); 50 fail("subList(-1, 0) should throw"); 57 getList().subList(0, getNumElements() + 1); 58 fail("subList(0, size + 1) should throw"); 65 getList().subList(1, 0); 66 fail("subList(1, 0) should throw"); 70 * The subList() docs claim that this should be an 79 assertEquals("subList(0, 0) should be empty", 80 emptyList(), getList().subList(0, 0)) [all...] |
/external/guava/guava/src/com/google/common/collect/ |
ForwardingList.java | 110 public List<E> subList(int fromIndex, int toIndex) { 111 return delegate().subList(fromIndex, toIndex); 207 * A sensible default implementation of {@link #subList(int, int)}. If you 208 * override any other methods, you may wish to override {@link #subList(int,
|
ImmutableSortedAsList.java | 61 @Override public ImmutableList<E> subList(int fromIndex, int toIndex) { 65 backingList.subList(fromIndex, toIndex), backingSet.comparator())
|
RegularImmutableList.java | 117 @Override public ImmutableList<E> subList(int fromIndex, int toIndex) {
|
Constraints.java | 253 @Override public List<E> subList(int fromIndex, int toIndex) { 255 delegate.subList(fromIndex, toIndex), constraint);
|
EmptyImmutableList.java | 118 @Override public ImmutableList<Object> subList(int fromIndex, int toIndex) {
|
SingletonImmutableList.java | 107 @Override public ImmutableList<E> subList(int fromIndex, int toIndex) {
|
ImmutableList.java | 341 public abstract ImmutableList<E> subList(int fromIndex, int toIndex); 443 @Override public ImmutableList<E> subList(int fromIndex, int toIndex) { 445 return forwardList.subList(
|
Synchronized.java | 373 public List<E> subList(int fromIndex, int toIndex) { 375 return list(delegate().subList(fromIndex, toIndex), mutex);
|
/external/guava/guava/src/com/google/common/primitives/ |
Booleans.java | 410 @Override public List<Boolean> subList(int fromIndex, int toIndex) {
|
Bytes.java | 327 @Override public List<Byte> subList(int fromIndex, int toIndex) {
|
Chars.java | 526 @Override public List<Character> subList(int fromIndex, int toIndex) {
|
Doubles.java | 472 @Override public List<Double> subList(int fromIndex, int toIndex) {
|
Floats.java | 469 @Override public List<Float> subList(int fromIndex, int toIndex) {
|
Ints.java | 533 @Override public List<Integer> subList(int fromIndex, int toIndex) {
|
Longs.java | 518 @Override public List<Long> subList(int fromIndex, int toIndex) {
|
Shorts.java | 531 @Override public List<Short> subList(int fromIndex, int toIndex) {
|
/external/guava/guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ |
ImmutableList.java | 160 * TODO: When given an ImmutableList that's a sublist, copy the referenced 248 public ImmutableList<E> subList(int fromIndex, int toIndex) { 249 return unsafeDelegateList(delegate.subList(fromIndex, toIndex));
|
Synchronized.java | 360 public List<E> subList(int fromIndex, int toIndex) { 362 return list(delegate().subList(fromIndex, toIndex), mutex);
|
/external/guava/guava-gwt/src-super/com/google/common/primitives/super/com/google/common/primitives/ |
Chars.java | 475 @Override public List<Character> subList(int fromIndex, int toIndex) {
|
Ints.java | 477 @Override public List<Integer> subList(int fromIndex, int toIndex) {
|
Longs.java | 451 @Override public List<Long> subList(int fromIndex, int toIndex) {
|
Shorts.java | 479 @Override public List<Short> subList(int fromIndex, int toIndex) {
|
/external/guava/guava-tests/test/com/google/common/collect/ |
ForwardingListTest.java | 130 @Override public List<T> subList(int fromIndex, int toIndex) { 283 forward.subList(0, 1); 284 assertEquals("[subList(int,int)]", getCalls());
|