Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 86 for fromIndex (0.17 sec)

  1. guava/src/com/google/common/primitives/UnsignedInts.java

      }
    
      /**
       * Sorts the array between {@code fromIndex} inclusive and {@code toIndex} exclusive, treating its
       * elements as unsigned 32-bit integers.
       *
       * @since 23.1
       */
      public static void sort(int[] 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: Thu Feb 15 16:12:13 UTC 2024
    - 13.4K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/primitives/Ints.java

       * Sorts the elements of {@code array} between {@code fromIndex} inclusive and {@code toIndex}
       * 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.7K bytes
    - Viewed (0)
  3. android/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. guava/src/com/google/common/primitives/UnsignedLongs.java

      }
    
      /**
       * Sorts the array between {@code fromIndex} inclusive and {@code toIndex} exclusive, treating its
       * elements as unsigned 64-bit integers.
       *
       * @since 23.1
       */
      public static void sort(long[] 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: Thu Feb 15 16:12:13 UTC 2024
    - 17.6K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/Lists.java

        }
    
        @Override
        public ImmutableList<Character> subList(int fromIndex, int toIndex) {
          checkPositionIndexes(fromIndex, toIndex, size()); // for GWT
          return charactersOf(string.substring(fromIndex, toIndex));
        }
    
        @Override
        boolean isPartialView() {
          return false;
        }
    
        @Override
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 29 16:48:36 UTC 2024
    - 41.5K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/primitives/UnsignedLongs.java

      }
    
      /**
       * Sorts the array between {@code fromIndex} inclusive and {@code toIndex} exclusive, treating its
       * elements as unsigned 64-bit integers.
       *
       * @since 23.1
       */
      public static void sort(long[] 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: Thu Feb 15 16:12:13 UTC 2024
    - 17.6K bytes
    - Viewed (0)
  7. guava/src/com/google/common/collect/ImmutableList.java

      @Override
      public ImmutableList<E> subList(int fromIndex, int toIndex) {
        checkPositionIndexes(fromIndex, toIndex, size());
        int length = toIndex - fromIndex;
        if (length == size()) {
          return this;
        } else if (length == 0) {
          return of();
        } else if (length == 1) {
          return of(get(fromIndex));
        } else {
          return subListUnchecked(fromIndex, toIndex);
        }
      }
    
      /**
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed May 08 03:01:02 UTC 2024
    - 29.9K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/ImmutableList.java

       */
      @Override
      public ImmutableList<E> subList(int fromIndex, int toIndex) {
        checkPositionIndexes(fromIndex, toIndex, size());
        int length = toIndex - fromIndex;
        if (length == size()) {
          return this;
        } else if (length == 0) {
          return of();
        } else {
          return subListUnchecked(fromIndex, toIndex);
        }
      }
    
      /**
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Sun Jun 02 13:36:19 UTC 2024
    - 27.1K bytes
    - Viewed (0)
  9. guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ForwardingImmutableList.java

        return delegateList().lastIndexOf(object);
      }
    
      public E get(int index) {
        return delegateList().get(index);
      }
    
      public ImmutableList<E> subList(int fromIndex, int toIndex) {
        return unsafeDelegateList(delegateList().subList(fromIndex, toIndex));
      }
    
      @Override
      public Object[] toArray() {
        // Note that ArrayList.toArray() doesn't work here because it returns E[]
        // instead of Object[].
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Jan 23 18:43:40 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  10. platforms/core-runtime/logging/src/main/java/org/gradle/internal/problems/failure/DefaultFailure.java

        }
    
        @Override
        public List<Failure> getCauses() {
            return causes;
        }
    
        @Override
        public int indexOfStackFrame(int fromIndex, StackFramePredicate predicate) {
            int size = stackTrace.size();
            for (int i = fromIndex; i < size; i++) {
                if (predicate.test(stackTrace.get(i), getStackTraceRelevance(i))) {
                    return i;
                }
            }
            return -1;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 23 17:15:42 UTC 2024
    - 2.6K bytes
    - Viewed (0)
Back to top