Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 2 of 2 for subtractExact (0.06 seconds)

  1. android/guava/src/com/google/common/math/LongMath.java

       *
       * <p><b>Note:</b> this method is now unnecessary and should be treated as deprecated; use {@link
       * Math#subtractExact(long, long)} instead. Note that if both arguments are {@code int} values,
       * writing {@code Math.subtractExact(a, b)} will call the {@link Math#subtractExact(int, int)}
       * overload, not {@link Math#subtractExact(long, long)}. Also note that subtracting two {@code
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 09 23:01:02 GMT 2026
    - 46.8K bytes
    - Click Count (0)
  2. android/guava/src/com/google/common/math/IntMath.java

       * Math#subtractExact(int, int)} instead.
       *
       * @throws ArithmeticException if {@code a - b} overflows in signed {@code int} arithmetic
       */
      @InlineMe(replacement = "Math.subtractExact(a, b)")
      public static int checkedSubtract(int a, int b) {
        return Math.subtractExact(a, b);
      }
    
      /**
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Jan 29 22:14:05 GMT 2026
    - 26.1K bytes
    - Click Count (0)
Back to Top