Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 36 for comparisons (0.16 sec)

  1. android/guava/src/com/google/common/collect/MapMaker.java

     *
     * <p><b>Note:</b> by default, the returned map uses equality comparisons (the {@link Object#equals
     * equals} method) to determine equality for keys or values. However, if {@link #weakKeys} was
     * specified, the map uses identity ({@code ==}) comparisons instead for keys. Likewise, if {@link
     * #weakValues} was specified, the map uses identity comparisons for values.
     *
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Mar 13 14:30:51 GMT 2023
    - 12.8K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/Multimap.java

     *
     * <h3>Other Notes</h3>
     *
     * <p>As with {@code Map}, the behavior of a {@code Multimap} is not specified if key objects
     * already present in the multimap change in a manner that affects {@code equals} comparisons. Use
     * caution if mutable objects are used as keys in a {@code Multimap}.
     *
     * <p>All methods that modify the multimap are optional. The view collections returned by the
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Sat Jun 17 14:40:53 GMT 2023
    - 15.1K bytes
    - Viewed (0)
  3. guava/src/com/google/common/collect/Collections2.java

          int permutations = 1;
          int n = 1;
          int r = 1;
          while (n < sortedInputList.size()) {
            int comparison = comparator.compare(sortedInputList.get(n - 1), sortedInputList.get(n));
            if (comparison < 0) {
              // We move to the next non-repeated element.
              permutations = IntMath.saturatedMultiply(permutations, IntMath.binomial(n, r));
              r = 0;
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 23.1K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/Collections2.java

          int permutations = 1;
          int n = 1;
          int r = 1;
          while (n < sortedInputList.size()) {
            int comparison = comparator.compare(sortedInputList.get(n - 1), sortedInputList.get(n));
            if (comparison < 0) {
              // We move to the next non-repeated element.
              permutations = IntMath.saturatedMultiply(permutations, IntMath.binomial(n, r));
              r = 0;
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 22.8K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/cache/CacheBuilder.java

     *
     * <p><b>Note:</b> by default, the returned cache uses equality comparisons (the {@link
     * Object#equals equals} method) to determine equality for keys or values. However, if {@link
     * #weakKeys} was specified, the cache uses identity ({@code ==}) comparisons instead for keys.
     * Likewise, if {@link #weakValues} or {@link #softValues} was specified, the cache uses identity
     * comparisons for values.
     *
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 15 16:12:13 GMT 2024
    - 44.8K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/hash/Hashing.java

       * generated using this are byte-wise identical to those created using the C++ version, but note
       * that this uses unsigned integers (see {@link com.google.common.primitives.UnsignedInts}).
       * Comparisons between the two should take this into account.
       *
       * <p>Fingerprint2011() is a form of Murmur2 on strings up to 32 bytes and a form of CityHash for
    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)
  7. android/guava/src/com/google/common/util/concurrent/ExecutionSequencer.java

       * thread.
       */
      private static final class ThreadConfinedTaskQueue {
        /**
         * This field is only used for identity comparisons with the current thread. Field assignments
         * are atomic, but do not provide happens-before ordering; however:
         *
         * <ul>
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 01 21:46:34 GMT 2024
    - 22.1K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/MinMaxPriorityQueue.java

        // Since the last element of the heap is from the bottom level, we
        // optimistically fill index position with elements from lower levels,
        // moving the hole down. In most cases this reduces the number of
        // comparisons with toTrickle, but in some cases we will need to bubble it
        // all the way up again.
        int vacated = heap.fillHoleAt(index);
        // Try to see if toTrickle can be bubbled up min levels.
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 22 21:19:52 GMT 2024
    - 34K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/collect/Iterables.java

     *
     * <p><b>Java 8+ users:</b> several common uses for this class are now more comprehensively
     * addressed by the new {@link java.util.stream.Stream} library. Read the method documentation below
     * for comparisons. This class is not being deprecated, but we gently encourage you to migrate to
     * streams.
     *
     * <p><i>Performance notes:</i> Unless otherwise noted, all of the iterables produced in this class
    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)
  10. guava/src/com/google/common/collect/ComparisonChain.java

     *       .result();
     * }
     * }</pre>
     *
     * <p>The value of this expression will have the same sign as the <i>first nonzero</i> comparison
     * result in the chain, or will be zero if every comparison result was zero.
     *
     * <p><b>Note:</b> {@code ComparisonChain} instances are <b>immutable</b>. For this utility to work
     * correctly, calls must be chained as illustrated above.
     *
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Wed Sep 21 17:28:11 GMT 2022
    - 11.2K bytes
    - Viewed (0)
Back to top