Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for badPositionIndex (0.18 sec)

  1. 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(badPositionIndex(index, size, desc));
        }
        return index;
      }
    
      private static String badPositionIndex(int index, int size, String desc) {
        if (index < 0) {
          return lenientFormat("%s (%s) must not be negative", desc, index);
        } else if (size < 0) {
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Wed Feb 14 15:46:55 GMT 2024
    - 52.9K bytes
    - Viewed (0)
  2. 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(badPositionIndex(index, size, desc));
        }
        return index;
      }
    
      private static String badPositionIndex(int index, int size, String desc) {
        if (index < 0) {
          return lenientFormat("%s (%s) must not be negative", desc, index);
        } else if (size < 0) {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Apr 11 11:52:14 GMT 2024
    - 52.9K bytes
    - Viewed (0)
Back to top