Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 95 for toIndex (1.3 sec)

  1. src/mdo/java/ImmutableCollections.java

            @Override
            public List<E> subList(int fromIndex, int toIndex) {
                if (fromIndex < 0) {
                    throw new IndexOutOfBoundsException("fromIndex = " + fromIndex);
                }
                if (toIndex > size()) {
                    throw new IndexOutOfBoundsException("toIndex = " + toIndex);
                }
                if (fromIndex > toIndex) {
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Mon Jan 22 17:27:48 UTC 2024
    - 16.7K bytes
    - Viewed (0)
  2. guava/src/com/google/common/primitives/Ints.java

       * exclusive in descending order.
       *
       * @since 23.1
       */
      public static void sortDescending(int[] array, int fromIndex, int toIndex) {
        checkNotNull(array);
        checkPositionIndexes(fromIndex, toIndex, array.length);
        Arrays.sort(array, fromIndex, toIndex);
        reverse(array, fromIndex, toIndex);
      }
    
      /**
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 15 16:12:13 UTC 2024
    - 29.9K bytes
    - Viewed (0)
  3. guava/src/com/google/common/primitives/UnsignedBytes.java

      /**
       * Sorts the array between {@code fromIndex} inclusive and {@code toIndex} exclusive, treating its
       * elements as unsigned bytes.
       *
       * @since 23.1
       */
      public static void sort(byte[] array, int fromIndex, int toIndex) {
        checkNotNull(array);
        checkPositionIndexes(fromIndex, toIndex, array.length);
        for (int i = fromIndex; i < toIndex; i++) {
          array[i] = flip(array[i]);
        }
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri Jun 07 22:25:23 UTC 2024
    - 18.3K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/primitives/Bytes.java

        }
    
        @Override
        public List<Byte> subList(int fromIndex, int toIndex) {
          int size = size();
          checkPositionIndexes(fromIndex, toIndex, size);
          if (fromIndex == toIndex) {
            return Collections.emptyList();
          }
          return new ByteArrayAsList(array, start + fromIndex, start + toIndex);
        }
    
        @Override
        public boolean equals(@CheckForNull Object object) {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 15 16:12:13 UTC 2024
    - 14.9K bytes
    - Viewed (0)
  5. guava/src/com/google/common/primitives/Bytes.java

        }
    
        @Override
        public List<Byte> subList(int fromIndex, int toIndex) {
          int size = size();
          checkPositionIndexes(fromIndex, toIndex, size);
          if (fromIndex == toIndex) {
            return Collections.emptyList();
          }
          return new ByteArrayAsList(array, start + fromIndex, start + toIndex);
        }
    
        @Override
        public boolean equals(@CheckForNull Object object) {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 15 16:12:13 UTC 2024
    - 14.9K bytes
    - Viewed (0)
  6. guava/src/com/google/common/primitives/Chars.java

       * exclusive in descending order.
       *
       * @since 23.1
       */
      public static void sortDescending(char[] array, int fromIndex, int toIndex) {
        checkNotNull(array);
        checkPositionIndexes(fromIndex, toIndex, array.length);
        Arrays.sort(array, fromIndex, toIndex);
        reverse(array, fromIndex, toIndex);
      }
    
      /**
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 15 16:12:13 UTC 2024
    - 23.5K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/primitives/Chars.java

       * exclusive in descending order.
       *
       * @since 23.1
       */
      public static void sortDescending(char[] array, int fromIndex, int toIndex) {
        checkNotNull(array);
        checkPositionIndexes(fromIndex, toIndex, array.length);
        Arrays.sort(array, fromIndex, toIndex);
        reverse(array, fromIndex, toIndex);
      }
    
      /**
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 15 16:12:13 UTC 2024
    - 23.5K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/primitives/Floats.java

       * exclusive. This is equivalent to {@code
       * Collections.reverse(Floats.asList(array).subList(fromIndex, toIndex))}, but is likely to be
       * more efficient.
       *
       * @throws IndexOutOfBoundsException if {@code fromIndex < 0}, {@code toIndex > array.length}, or
       *     {@code toIndex > fromIndex}
       * @since 23.1
       */
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 29 15:43:06 UTC 2024
    - 25.2K bytes
    - Viewed (0)
  9. guava/src/com/google/common/primitives/Floats.java

       * exclusive. This is equivalent to {@code
       * Collections.reverse(Floats.asList(array).subList(fromIndex, toIndex))}, but is likely to be
       * more efficient.
       *
       * @throws IndexOutOfBoundsException if {@code fromIndex < 0}, {@code toIndex > array.length}, or
       *     {@code toIndex > fromIndex}
       * @since 23.1
       */
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 29 15:43:06 UTC 2024
    - 25.2K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/primitives/Booleans.java

        }
    
        @Override
        public List<Boolean> subList(int fromIndex, int toIndex) {
          int size = size();
          checkPositionIndexes(fromIndex, toIndex, size);
          if (fromIndex == toIndex) {
            return Collections.emptyList();
          }
          return new BooleanArrayAsList(array, start + fromIndex, start + toIndex);
        }
    
        @Override
        public boolean equals(@CheckForNull Object object) {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 15 16:12:13 UTC 2024
    - 19.9K bytes
    - Viewed (0)
Back to top