Home
last modified time | relevance | path

Searched refs:checkKind (Results 1 – 1 of 1) sorted by relevance

/libcore/ojluni/src/main/java/jdk/internal/util/
DPreconditions.java56 String checkKind, in outOfBounds() argument
60 ? null : oobef.apply(checkKind, largs); in outOfBounds()
62 ? new IndexOutOfBoundsException(outOfBoundsMessage(checkKind, largs)) : e; in outOfBounds()
156 public X apply(String checkKind, List<Integer> args) { in outOfBoundsExceptionFormatter()
157 return f.apply(outOfBoundsMessage(checkKind, args)); in outOfBoundsExceptionFormatter()
162 private static String outOfBoundsMessage(String checkKind, List<Integer> args) {
163 if (checkKind == null && args == null) {
165 } else if (checkKind == null) {
168 return String.format("Range check failed: %s", checkKind);
172 switch (checkKind) {
[all …]