Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 408 for compares (0.05 sec)

  1. guava/src/com/google/common/primitives/Doubles.java

       * to the JDK until JDK 7.
       *
       * @param a the first {@code double} to compare
       * @param b the second {@code double} 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
       */
      @InlineMe(replacement = "Double.compare(a, b)")
      public static int compare(double a, double b) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 27.7K bytes
    - Viewed (0)
  2. android/guava-testlib/src/com/google/common/collect/testing/Helpers.java

            assertTrue(
                comparator + ".compare(" + lesser + ", " + t + ")", comparator.compare(lesser, t) < 0);
          }
    
          assertEquals(comparator + ".compare(" + t + ", " + t + ")", 0, comparator.compare(t, t));
    
          for (int j = i + 1; j < valuesInExpectedOrder.size(); j++) {
            T greater = valuesInExpectedOrder.get(j);
            assertTrue(
                comparator + ".compare(" + greater + ", " + t + ")",
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Aug 10 19:54:19 UTC 2025
    - 17.2K bytes
    - Viewed (0)
  3. guava/src/com/google/common/primitives/UnsignedInteger.java

      }
    
      /**
       * Compares this unsigned integer to another unsigned integer. Returns {@code 0} if they are
       * 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
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 8.3K bytes
    - Viewed (0)
  4. guava/src/com/google/common/util/concurrent/AtomicDoubleArray.java

     * java.util.concurrent.atomic} package specification for description of the properties of atomic
     * variables.
     *
     * <p><a id="bitEquals"></a>This class compares primitive {@code double} values in methods such as
     * {@link #compareAndSet} by comparing their bitwise representation using {@link
     * Double#doubleToRawLongBits}, which differs from both the primitive double {@code ==} operator and
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Mar 17 20:26:29 UTC 2025
    - 10.2K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/helper/IntervalControlHelper.java

                for (final int d : days) {
                    if (d == value) {
                        return true;
                    }
                }
                return false;
            }
    
            /**
             * Compares two times.
             *
             * @param h1 the first hour
             * @param m1 the first minute
             * @param h2 the second hour
             * @param m2 the second minute
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 9.9K bytes
    - Viewed (0)
  6. guava/src/com/google/common/util/concurrent/AtomicDouble.java

     * Number} to allow uniform access by tools and utilities that deal with numerically-based classes.
     *
     * <p><a id="bitEquals"></a>This class compares primitive {@code double} values in methods such as
     * {@link #compareAndSet} by comparing their bitwise representation using {@link
     * Double#doubleToRawLongBits}, which differs from both the primitive double {@code ==} operator and
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Mar 17 20:26:29 UTC 2025
    - 9.5K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/collect/ImmutableSortedSetTest.java

        assertThat(reverse).isNotNull();
      }
    
      public void testBuilderAsymptotics() {
        int[] compares = {0};
        Comparator<Integer> countingComparator =
            (i, j) -> {
              compares[0]++;
              return i.compareTo(j);
            };
        ImmutableSortedSet.Builder<Integer> builder =
            new ImmutableSortedSet.Builder<Integer>(countingComparator, 10);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 46.7K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb/NtlmPasswordAuthentication.java

            } else {
                NtlmPasswordAuthenticator.cloneInternal(to, from);
            }
        }
    
        /**
         * Compares two {@code NtlmPasswordAuthentication} objects for
         * equality. Two {@code NtlmPasswordAuthentication} objects are equal if
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 9.3K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/collect/MapMaker.java

     * be quickly garbage-collected before they are ever accessed.
     *
     * <p>{@code new MapMaker().weakKeys().makeMap()} is a recommended replacement for {@link
     * java.util.WeakHashMap}, but note that it compares keys using object identity whereas {@code
     * WeakHashMap} uses {@link Object#equals}.
     *
     * @author Bob Lee
     * @author Charles Fry
     * @author Kevin Bourrillion
     * @since 2.0
     */
    @J2ktIncompatible
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 12.8K bytes
    - Viewed (0)
  10. compat/maven-artifact/src/main/java/org/apache/maven/artifact/versioning/ComparableVersion.java

                ComparableVersion c = new ComparableVersion(version);
    
                if (prev != null) {
                    int compare = prev.compareTo(c);
                    System.out.println(
                            "   " + prev + ' ' + ((compare == 0) ? "==" : ((compare < 0) ? "<" : ">")) + ' ' + version);
                }
    
                System.out.println(
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Wed Jul 23 17:27:08 UTC 2025
    - 26.4K bytes
    - Viewed (0)
Back to top