Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 227 for Greeter (0.06 sec)

  1. android/guava/src/com/google/common/primitives/Shorts.java

       *
       * @param value any value in the range of the {@code short} type
       * @return the {@code short} value that equals {@code value}
       * @throws IllegalArgumentException if {@code value} is greater than {@link Short#MAX_VALUE} or
       *     less than {@link Short#MIN_VALUE}
       */
      public static short checkedCast(long value) {
        short result = (short) value;
        checkArgument(result == value, "Out of range: %s", value);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Aug 27 16:47:48 UTC 2024
    - 25.5K bytes
    - Viewed (0)
  2. guava/src/com/google/common/primitives/Shorts.java

       *
       * @param value any value in the range of the {@code short} type
       * @return the {@code short} value that equals {@code value}
       * @throws IllegalArgumentException if {@code value} is greater than {@link Short#MAX_VALUE} or
       *     less than {@link Short#MIN_VALUE}
       */
      public static short checkedCast(long value) {
        short result = (short) value;
        checkArgument(result == value, "Out of range: %s", value);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Aug 27 16:47:48 UTC 2024
    - 25.5K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/SortedLists.java

    import java.util.RandomAccess;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
     * Static methods pertaining to sorted {@link List} instances.
     *
     * <p>In this documentation, the terms <i>greatest</i>, <i>greater</i>, <i>least</i>, and
     * <i>lesser</i> are considered to refer to the comparator on the elements, and the terms
     * <i>first</i> and <i>last</i> are considered to refer to the elements' ordering in a list.
     *
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 11K bytes
    - Viewed (0)
  4. guava/src/com/google/common/math/BigDecimalMath.java

       * the least significant bit zero is chosen. (In such cases, both of the nearest representable
       * values are even integers; this method returns the one that is a multiple of a greater power of
       * two.)
       *
       * @throws ArithmeticException if {@code mode} is {@link RoundingMode#UNNECESSARY} and {@code x}
       *     is not precisely representable as a {@code double}
       * @since 30.0
       */
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Feb 23 18:45:50 UTC 2023
    - 3.1K bytes
    - Viewed (0)
  5. guava/src/com/google/common/primitives/Doubles.java

       * Compares the two specified {@code double} values. The sign of the value returned is the same as
       * that of <code>((Double) a).{@linkplain Double#compareTo compareTo}(b)</code>. As with that
       * method, {@code NaN} is treated as greater than all other values, and {@code 0.0 > -0.0}.
       *
       * <p><b>Note:</b> this method simply delegates to the JDK method {@link Double#compare}. It is
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 15:52:18 UTC 2024
    - 27.9K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/base/PreconditionsTest.java

        IndexOutOfBoundsException expected =
            assertThrows(IndexOutOfBoundsException.class, () -> checkPositionIndex(2, 1));
        assertThat(expected).hasMessageThat().isEqualTo("index (2) must not be greater than size (1)");
      }
    
      public void testCheckPositionIndex_withDesc_negative() {
        IndexOutOfBoundsException expected =
            assertThrows(IndexOutOfBoundsException.class, () -> checkPositionIndex(-1, 1, "foo"));
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Sep 17 18:14:12 UTC 2024
    - 19K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/primitives/UnsignedInts.java

       *
       * @param a the first unsigned {@code int} to compare
       * @param b the second unsigned {@code int} to compare
       * @return a negative value if {@code a} is less than {@code b}; a positive value if {@code a} is
       *     greater than {@code b}; or zero if they are equal
       */
      public static int compare(int a, int b) {
        return Ints.compare(flip(a), flip(b));
      }
    
      /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 21:17:54 UTC 2024
    - 13.7K bytes
    - Viewed (0)
  8. guava/src/com/google/common/primitives/UnsignedInts.java

       *
       * @param a the first unsigned {@code int} to compare
       * @param b the second unsigned {@code int} to compare
       * @return a negative value if {@code a} is less than {@code b}; a positive value if {@code a} is
       *     greater than {@code b}; or zero if they are equal
       */
      public static int compare(int a, int b) {
        return Ints.compare(flip(a), flip(b));
      }
    
      /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 21:17:54 UTC 2024
    - 13.7K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/collect/ArrayTable.java

       * @return the value with the specified row and column
       * @throws IndexOutOfBoundsException if either index is negative, {@code rowIndex} is greater than
       *     or equal to the number of allowed row keys, or {@code columnIndex} is greater than or equal
       *     to the number of allowed column keys
       */
      @CheckForNull
      public V at(int rowIndex, int columnIndex) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 26.3K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/collect/AbstractIndexedListIterator.java

       * #previous()} can retrieve the preceding {@code position} elements.
       *
       * @throws IndexOutOfBoundsException if {@code position} is negative or is greater than {@code
       *     size}
       * @throws IllegalArgumentException if {@code size} is negative
       */
      protected AbstractIndexedListIterator(int size, int position) {
        checkPositionIndex(position, size);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Jul 09 17:31:04 UTC 2021
    - 3.2K bytes
    - Viewed (0)
Back to top