Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 121 for Creator (0.16 sec)

  1. android/guava/src/com/google/common/base/Preconditions.java

       * @param size the size of that array, list or string
       * @return the value of {@code index}
       * @throws IndexOutOfBoundsException if {@code index} is negative or is greater than {@code size}
       * @throws IllegalArgumentException if {@code size} is negative
       */
      @CanIgnoreReturnValue
      public static int checkPositionIndex(int index, int size) {
    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)
  2. android/guava/src/com/google/common/base/Ascii.java

       */
      public static boolean isUpperCase(char c) {
        return (c >= 'A') && (c <= 'Z');
      }
    
      /**
       * Truncates the given character sequence to the given maximum length. If the length of the
       * sequence is greater than {@code maxLength}, the returned string will be exactly {@code
       * maxLength} chars in length and will end with the given {@code truncationIndicator}. Otherwise,
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Jul 19 15:43:07 GMT 2021
    - 21.6K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/math/LongMath.java

      @VisibleForTesting static final long MAX_SIGNED_POWER_OF_TWO = 1L << (Long.SIZE - 2);
    
      /**
       * Returns the smallest power of two greater than or equal to {@code x}. This is equivalent to
       * {@code checkedPow(2, log2(x, CEILING))}.
       *
       * @throws IllegalArgumentException if {@code x <= 0}
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Feb 07 17:50:39 GMT 2024
    - 44.6K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/ImmutableSortedSet.java

       *
       * <p>The {@link SortedSet#headSet} documentation states that a subset of a subset throws an
       * {@link IllegalArgumentException} if passed a {@code toElement} greater than an earlier {@code
       * toElement}. However, this method doesn't throw an exception in that situation, but instead
       * keeps the original {@code toElement}.
       */
      @Override
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 36.9K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/primitives/ImmutableIntArray.java

      public boolean isEmpty() {
        return end == start;
      }
    
      /**
       * Returns the {@code int} value present at the given index.
       *
       * @throws IndexOutOfBoundsException if {@code index} is negative, or greater than or equal to
       *     {@link #length}
       */
      public int get(int index) {
        Preconditions.checkElementIndex(index, length());
        return array[start + index];
      }
    
      /**
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri May 12 16:34:24 GMT 2023
    - 18.9K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/primitives/ImmutableDoubleArray.java

      public boolean isEmpty() {
        return end == start;
      }
    
      /**
       * Returns the {@code double} value present at the given index.
       *
       * @throws IndexOutOfBoundsException if {@code index} is negative, or greater than or equal to
       *     {@link #length}
       */
      public double get(int index) {
        Preconditions.checkElementIndex(index, length());
        return array[start + index];
      }
    
      /**
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri May 12 16:34:24 GMT 2023
    - 19.6K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/collect/Iterables.java

       *
       * @param position position of the element to return
       * @return the element at the specified position in {@code iterable}
       * @throws IndexOutOfBoundsException if {@code position} is negative or greater than or equal to
       *     the size of {@code iterable}
       */
      @ParametricNullness
      public static <T extends @Nullable Object> T get(Iterable<T> iterable, int position) {
        checkNotNull(iterable);
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Apr 24 19:38:27 GMT 2024
    - 42.8K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/collect/TreeRangeMapTest.java

        rangeMap.putCoalescing(Range.closedOpen(17, 20), 3); // enclosing
    
        rangeMap.putCoalescing(Range.closedOpen(22, 23), 4); // disconnected
        rangeMap.putCoalescing(Range.closedOpen(23, 25), 4); // greater than minimum
    
        // {[-6..-4): 0, [0..1): 1, [1..5): 1, [7..9): 2,
        //  [9..14): 0, [14..15): 2, [17..20): 3, [22..25): 4}
        assertEquals(
            new ImmutableMap.Builder<>()
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 22 20:09:59 GMT 2024
    - 28K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/hash/Hashing.java

       *     HashFunction} instance may use memory proportional to this integer.
       * @return a hash function, described above, that produces hash codes of length {@code
       *     minimumBits} or greater
       */
      public static HashFunction goodFastHash(int minimumBits) {
        int bits = checkPositiveAndMakeMultipleOf32(minimumBits);
    
        if (bits == 32) {
          return Murmur3_32HashFunction.GOOD_FAST_HASH_32;
        }
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Apr 09 00:37:15 GMT 2024
    - 29.2K bytes
    - Viewed (0)
  10. guava-testlib/src/com/google/common/collect/testing/TestSortedSetGenerator.java

      /**
       * Returns an element less than the {@link #samples()} but greater than {@link
       * #belowSamplesLesser()}.
       */
      E belowSamplesGreater();
    
      /**
       * Returns an element greater than the {@link #samples()} but less than {@link
       * #aboveSamplesGreater()}.
       */
      E aboveSamplesLesser();
    
      /**
       * Returns an element greater than the {@link #samples()} and greater than {@link
       * #aboveSamplesLesser()}.
       */
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 1.7K bytes
    - Viewed (0)
Back to top