Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for badElementIndex (0.05 sec)

  1. android/guava/src/com/google/common/base/Preconditions.java

        // Carefully optimized for execution by hotspot (explanatory comment above)
        if (index < 0 || index >= size) {
          throw new IndexOutOfBoundsException(badElementIndex(index, size, desc));
        }
        return index;
      }
    
      private static String badElementIndex(int index, int size, String desc) {
        if (index < 0) {
          return lenientFormat("%s (%s) must not be negative", desc, index);
        } else if (size < 0) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Jul 10 22:11:00 UTC 2025
    - 53K bytes
    - Viewed (0)
Back to top