Search Options

Results per page
Sort
Preferred Languages
Advance

Results 291 - 300 of 314 for comparator (0.1 sec)

  1. guava-tests/test/com/google/common/math/IntMathTest.java

      private static final BigInteger MIN_INT = BigInteger.valueOf(Integer.MIN_VALUE);
    
      private static int saturatedCast(BigInteger big) {
        if (big.compareTo(MAX_INT) > 0) {
          return Integer.MAX_VALUE;
        }
        if (big.compareTo(MIN_INT) < 0) {
          return Integer.MIN_VALUE;
        }
        return big.intValue();
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:26:48 UTC 2024
    - 23.1K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/hash/LongAdder.java

     * higher space consumption.
     *
     * <p>This class extends {@link Number}, but does not define methods such as {@code
     * equals}, {@code hashCode} and {@code compareTo} because instances are expected to be mutated, and
     * so are not useful as collection keys.
     *
     * <p>jsr166e note: This class is targeted to be placed in java.util.concurrent.atomic.
     *
     * @since 1.8
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Apr 20 18:43:59 UTC 2021
    - 5.4K bytes
    - Viewed (0)
  3. guava/src/com/google/common/hash/LongAdder.java

     * higher space consumption.
     *
     * <p>This class extends {@link Number}, but does not define methods such as {@code
     * equals}, {@code hashCode} and {@code compareTo} because instances are expected to be mutated, and
     * so are not useful as collection keys.
     *
     * <p>jsr166e note: This class is targeted to be placed in java.util.concurrent.atomic.
     *
     * @since 1.8
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Apr 20 18:43:59 UTC 2021
    - 5.4K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/math/LongMathTest.java

      private static final BigInteger MIN_LONG = BigInteger.valueOf(Long.MIN_VALUE);
    
      private static long saturatedCast(BigInteger big) {
        if (big.compareTo(MAX_LONG) > 0) {
          return Long.MAX_VALUE;
        }
        if (big.compareTo(MIN_LONG) < 0) {
          return Long.MIN_VALUE;
        }
        return big.longValue();
      }
    
      @J2ktIncompatible
      @GwtIncompatible // NullPointerTester
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 15:00:32 UTC 2024
    - 30.6K bytes
    - Viewed (0)
  5. guava/src/com/google/common/cache/LongAdder.java

     * higher space consumption.
     *
     * <p>This class extends {@link Number}, but does not define methods such as {@code
     * equals}, {@code hashCode} and {@code compareTo} because instances are expected to be mutated, and
     * so are not useful as collection keys.
     *
     * <p>jsr166e note: This class is targeted to be placed in java.util.concurrent.atomic.
     *
     * @since 1.8
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jun 15 18:00:07 UTC 2021
    - 5.5K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/primitives/UnsignedInteger.java

       * equal, a negative number if {@code this < other}, and a positive number if {@code this >
       * other}.
       */
      @Override
      public int compareTo(UnsignedInteger other) {
        checkNotNull(other);
        return compare(value, other.value);
      }
    
      @Override
      public int hashCode() {
        return value;
      }
    
      @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Feb 23 18:45:50 UTC 2023
    - 8.3K bytes
    - Viewed (0)
  7. guava/src/com/google/common/primitives/UnsignedInteger.java

       * equal, a negative number if {@code this < other}, and a positive number if {@code this >
       * other}.
       */
      @Override
      public int compareTo(UnsignedInteger other) {
        checkNotNull(other);
        return compare(value, other.value);
      }
    
      @Override
      public int hashCode() {
        return value;
      }
    
      @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Feb 23 18:45:50 UTC 2023
    - 8.3K bytes
    - Viewed (0)
  8. impl/maven-core/src/main/java/org/apache/maven/exception/DefaultExceptionHandler.java

            return new ExceptionSummary(null, message, null, children);
        }
    
        private ExceptionSummary handle(ModelProblem problem, String projectId) {
            if (ModelProblem.Severity.ERROR.compareTo(problem.getSeverity()) >= 0) {
                String message = problem.getMessage();
    
                String location = ModelProblemUtils.formatLocation(problem, projectId);
    
                if (!location.isEmpty()) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 10.9K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/suggest/settings/ArraySettings.java

                        return -1;
                    }
                    if (timeObj2 == null) {
                        return 1;
                    }
    
                    return o1.toString().compareTo(o2.toString());
                });
                return array;
            } catch (final IndexNotFoundException e) {
                return new Map[0];
            }
        }
    
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Sat Oct 12 00:10:39 UTC 2024
    - 10.9K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/primitives/UnsignedLong.java

        BigInteger bigInt = BigInteger.valueOf(value & UNSIGNED_MASK);
        if (value < 0) {
          bigInt = bigInt.setBit(Long.SIZE - 1);
        }
        return bigInt;
      }
    
      @Override
      public int compareTo(UnsignedLong o) {
        checkNotNull(o);
        return UnsignedLongs.compare(value, o.value);
      }
    
      @Override
      public int hashCode() {
        return Longs.hashCode(value);
      }
    
      @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Apr 22 13:09:25 UTC 2021
    - 8.9K bytes
    - Viewed (0)
Back to top