HomeSort by relevance Sort by last modified time
    Searched refs:checkElementIndex (Results 1 - 25 of 43) sorted by null

1 2

  /external/guava/guava-tests/test/com/google/common/base/
PreconditionsTest.java 172 assertEquals(0, Preconditions.checkElementIndex(0, 1));
173 assertEquals(0, Preconditions.checkElementIndex(0, 2));
174 assertEquals(1, Preconditions.checkElementIndex(1, 2));
179 Preconditions.checkElementIndex(1, -1);
189 Preconditions.checkElementIndex(-1, 1);
198 Preconditions.checkElementIndex(1, 1);
208 Preconditions.checkElementIndex(-1, 1, "foo");
217 Preconditions.checkElementIndex(1, 1, "foo");
  /external/guava/guava/src/com/google/common/base/
Preconditions.java 279 public static int checkElementIndex(int index, int size) {
280 return checkElementIndex(index, size, "index");
297 public static int checkElementIndex(
  /packages/apps/UnifiedEmail/src/com/android/mail/lib/base/
Preconditions.java 268 public static int checkElementIndex(int index, int size) {
269 return checkElementIndex(index, size, "index");
286 public static int checkElementIndex(int index, int size, String desc) {
  /packages/apps/UnifiedEmail/src/com/google/android/mail/common/base/
Preconditions.java 268 public static int checkElementIndex(int index, int size) {
269 return checkElementIndex(index, size, "index");
286 public static int checkElementIndex(int index, int size, String desc) {
  /external/guava/guava/src/com/google/common/collect/
EmptyImmutableList.java 19 import static com.google.common.base.Preconditions.checkElementIndex;
106 checkElementIndex(index, 0);
SingletonImmutableList.java 46 Preconditions.checkElementIndex(index, 1);
RegularImmutableList.java 91 Preconditions.checkElementIndex(index, size);
Lists.java 20 import static com.google.common.base.Preconditions.checkElementIndex;
258 checkElementIndex(index, size());
309 checkElementIndex(index, size());
502 checkElementIndex(index, listSize);
751 checkElementIndex(index, size);
ImmutableList.java 450 Preconditions.checkElementIndex(index, size);
Iterables.java 731 Preconditions.checkElementIndex(position, collection.size());
    [all...]
  /external/guava/guava/src/com/google/common/primitives/
Bytes.java 20 import static com.google.common.base.Preconditions.checkElementIndex;
288 checkElementIndex(index, size());
321 checkElementIndex(index, size());
Booleans.java 20 import static com.google.common.base.Preconditions.checkElementIndex;
371 checkElementIndex(index, size());
404 checkElementIndex(index, size());
Chars.java 20 import static com.google.common.base.Preconditions.checkElementIndex;
487 checkElementIndex(index, size());
520 checkElementIndex(index, size());
Doubles.java 20 import static com.google.common.base.Preconditions.checkElementIndex;
433 checkElementIndex(index, size());
466 checkElementIndex(index, size());
Floats.java 20 import static com.google.common.base.Preconditions.checkElementIndex;
430 checkElementIndex(index, size());
463 checkElementIndex(index, size());
Ints.java 20 import static com.google.common.base.Preconditions.checkElementIndex;
494 checkElementIndex(index, size());
527 checkElementIndex(index, size());
Longs.java 20 import static com.google.common.base.Preconditions.checkElementIndex;
479 checkElementIndex(index, size());
512 checkElementIndex(index, size());
Shorts.java 20 import static com.google.common.base.Preconditions.checkElementIndex;
492 checkElementIndex(index, size());
525 checkElementIndex(index, size());
generate.sh 44 import static com.google.common.base.Preconditions.checkElementIndex;
507 checkElementIndex(index, size());
540 checkElementIndex(index, size());
  /external/guava/guava-gwt/src-super/com/google/common/primitives/super/com/google/common/primitives/
Chars.java 20 import static com.google.common.base.Preconditions.checkElementIndex;
436 checkElementIndex(index, size());
469 checkElementIndex(index, size());
Ints.java 20 import static com.google.common.base.Preconditions.checkElementIndex;
438 checkElementIndex(index, size());
471 checkElementIndex(index, size());
Longs.java 20 import static com.google.common.base.Preconditions.checkElementIndex;
412 checkElementIndex(index, size());
445 checkElementIndex(index, size());
Shorts.java 20 import static com.google.common.base.Preconditions.checkElementIndex;
440 checkElementIndex(index, size());
473 checkElementIndex(index, size());
  /libcore/luni/src/main/java/java/util/concurrent/
CopyOnWriteArrayList.java 502 slice.checkElementIndex(index);
563 slice.checkElementIndex(index);
614 slice.checkElementIndex(index);
666 void checkElementIndex(int index) {
  /external/guava/guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/
Iterables.java 689 Preconditions.checkElementIndex(position, collection.size());
    [all...]

Completed in 455 milliseconds

1 2