Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 2 of 2 for badElementIndex (0.07 seconds)

  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) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Jan 08 18:10:02 GMT 2026
    - 53.5K bytes
    - Click Count (0)
  2. 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) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Jan 08 18:10:02 GMT 2026
    - 53.5K bytes
    - Click Count (0)
Back to Top