Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for checkPositionIndex (0.07 sec)

  1. guava/src/com/google/common/base/CharMatcher.java

    package com.google.common.base;
    
    import static com.google.common.base.Preconditions.checkArgument;
    import static com.google.common.base.Preconditions.checkNotNull;
    import static com.google.common.base.Preconditions.checkPositionIndex;
    
    import com.google.common.annotations.GwtCompatible;
    import com.google.common.annotations.GwtIncompatible;
    import com.google.common.annotations.VisibleForTesting;
    import java.util.Arrays;
    import java.util.BitSet;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 13:00:28 UTC 2024
    - 53.9K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/Iterators.java

       */
      static <T extends @Nullable Object> UnmodifiableListIterator<T> forArrayWithPosition(
          T[] array, int position) {
        if (array.length == 0) {
          Preconditions.checkPositionIndex(position, array.length); // otherwise checked in ArrayItr
          return emptyListIterator();
        }
        return new ArrayItr<>(array, position);
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 50.3K bytes
    - Viewed (0)
Back to top