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

1 2 3

  /external/guava/guava-gwt/test-super/com/google/common/base/super/com/google/common/base/
PreconditionsTest.java 171 assertEquals(0, Preconditions.checkElementIndex(0, 1));
172 assertEquals(0, Preconditions.checkElementIndex(0, 2));
173 assertEquals(1, Preconditions.checkElementIndex(1, 2));
178 Preconditions.checkElementIndex(1, -1);
188 Preconditions.checkElementIndex(-1, 1);
197 Preconditions.checkElementIndex(1, 1);
207 Preconditions.checkElementIndex(-1, 1, "foo");
216 Preconditions.checkElementIndex(1, 1, "foo");
  /external/guava/guava-tests/test/com/google/common/base/
PreconditionsTest.java 173 assertEquals(0, Preconditions.checkElementIndex(0, 1));
174 assertEquals(0, Preconditions.checkElementIndex(0, 2));
175 assertEquals(1, Preconditions.checkElementIndex(1, 2));
180 Preconditions.checkElementIndex(1, -1);
190 Preconditions.checkElementIndex(-1, 1);
199 Preconditions.checkElementIndex(1, 1);
209 Preconditions.checkElementIndex(-1, 1, "foo");
218 Preconditions.checkElementIndex(1, 1, "foo");
  /external/guava/guava/src/com/google/common/collect/
CartesianList.java 17 import static com.google.common.base.Preconditions.checkElementIndex;
75 checkElementIndex(index, size());
85 checkElementIndex(axis, size());
RegularImmutableList.java 65 Preconditions.checkElementIndex(index, size);
SingletonImmutableList.java 45 Preconditions.checkElementIndex(index, 1);
Lists.java 20 import static com.google.common.base.Preconditions.checkElementIndex;
295 checkElementIndex(index, size());
346 checkElementIndex(index, size());
634 checkElementIndex(index, size());
697 checkElementIndex(index, size()); // for GWT
730 checkElementIndex(index, size()); // for GWT
776 checkElementIndex(index, size);
    [all...]
ArrayTable.java 20 import static com.google.common.base.Preconditions.checkElementIndex;
332 checkElementIndex(rowIndex, rowList.size());
333 checkElementIndex(columnIndex, columnList.size());
354 checkElementIndex(rowIndex, rowList.size());
355 checkElementIndex(columnIndex, columnList.size());
  /external/guava/guava/src/com/google/common/base/
Preconditions.java 294 public static int checkElementIndex(int index, int size) {
295 return checkElementIndex(index, size, "index");
309 public static int checkElementIndex(
  /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/primitives/
Bytes.java 20 import static com.google.common.base.Preconditions.checkElementIndex;
293 checkElementIndex(index, size());
326 checkElementIndex(index, size());
Booleans.java 20 import static com.google.common.base.Preconditions.checkElementIndex;
379 checkElementIndex(index, size());
412 checkElementIndex(index, size());
Chars.java 20 import static com.google.common.base.Preconditions.checkElementIndex;
497 checkElementIndex(index, size());
530 checkElementIndex(index, size());
Floats.java 20 import static com.google.common.base.Preconditions.checkElementIndex;
480 checkElementIndex(index, size());
513 checkElementIndex(index, size());
Shorts.java 20 import static com.google.common.base.Preconditions.checkElementIndex;
541 checkElementIndex(index, size());
574 checkElementIndex(index, size());
Doubles.java 20 import static com.google.common.base.Preconditions.checkElementIndex;
484 checkElementIndex(index, size());
517 checkElementIndex(index, size());
Ints.java 20 import static com.google.common.base.Preconditions.checkElementIndex;
542 checkElementIndex(index, size());
575 checkElementIndex(index, size());
Longs.java 20 import static com.google.common.base.Preconditions.checkElementIndex;
575 checkElementIndex(index, size());
608 checkElementIndex(index, size());
  /external/guava/guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/
Lists.java 20 import static com.google.common.base.Preconditions.checkElementIndex;
261 checkElementIndex(index, size());
312 checkElementIndex(index, size());
600 checkElementIndex(index, size());
663 checkElementIndex(index, size()); // for GWT
696 checkElementIndex(index, size()); // for GWT
742 checkElementIndex(index, size);
    [all...]
ArrayTable.java 20 import static com.google.common.base.Preconditions.checkElementIndex;
330 checkElementIndex(rowIndex, rowList.size());
331 checkElementIndex(columnIndex, columnList.size());
352 checkElementIndex(rowIndex, rowList.size());
353 checkElementIndex(columnIndex, columnList.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;
446 checkElementIndex(index, size());
479 checkElementIndex(index, size());
Doubles.java 20 import static com.google.common.base.Preconditions.checkElementIndex;
479 checkElementIndex(index, size());
512 checkElementIndex(index, size());
Floats.java 20 import static com.google.common.base.Preconditions.checkElementIndex;
476 checkElementIndex(index, size());
509 checkElementIndex(index, size());
Ints.java 20 import static com.google.common.base.Preconditions.checkElementIndex;
488 checkElementIndex(index, size());
521 checkElementIndex(index, size());
Shorts.java 20 import static com.google.common.base.Preconditions.checkElementIndex;
489 checkElementIndex(index, size());
522 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) {

Completed in 662 milliseconds

1 2 3