Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 119 for comparisons (0.32 sec)

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

     *
     * <ul>
     *   <li>Use immutable value types only, if at all possible. If you must use a mutable type, <b>do
     *       not</b> allow the endpoint instances to mutate after the range is created!
     *   <li>Your value type's comparison method should be {@linkplain Comparable consistent with
     *       equals} if at all possible. Otherwise, be aware that concepts used throughout this
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 22 21:19:52 GMT 2024
    - 27.8K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/ImmutableSortedMultiset.java

     * detailed at {@link ImmutableCollection}.
     *
     * <p><b>Warning:</b> as with any sorted collection, you are strongly advised not to use a {@link
     * Comparator} or {@link Comparable} type whose comparison behavior is <i>inconsistent with
     * equals</i>. That is, {@code a.compareTo(b)} or {@code comparator.compare(a, b)} should equal zero
     * <i>if and only if</i> {@code a.equals(b)}. If this advice is not followed, the resulting
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 35.7K bytes
    - Viewed (0)
  3. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/diagnostics/KtFirDataClassConverters.kt

        }
        add(FirErrors.INCOMPATIBLE_ENUM_COMPARISON_ERROR) { firDiagnostic ->
            IncompatibleEnumComparisonErrorImpl(
                firSymbolBuilder.typeBuilder.buildKtType(firDiagnostic.a),
                firSymbolBuilder.typeBuilder.buildKtType(firDiagnostic.b),
                firDiagnostic as KtPsiDiagnostic,
                token,
            )
        }
        add(FirErrors.INCOMPATIBLE_ENUM_COMPARISON) { firDiagnostic ->
    Plain Text
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Wed Apr 24 09:49:26 GMT 2024
    - 208.3K bytes
    - Viewed (0)
  4. guava/src/com/google/common/collect/ImmutableSortedSet.java

     * detailed at {@link ImmutableCollection}.
     *
     * <p><b>Warning:</b> as with any sorted collection, you are strongly advised not to use a {@link
     * Comparator} or {@link Comparable} type whose comparison behavior is <i>inconsistent with
     * equals</i>. That is, {@code a.compareTo(b)} or {@code comparator.compare(a, b)} should equal zero
     * <i>if and only if</i> {@code a.equals(b)}. If this advice is not followed, the resulting
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 38.5K bytes
    - Viewed (0)
  5. cmd/object-api-utils.go

    		return false
    	}
    
    	// Did not match any inclusion filters, exclude from compression.
    	return true
    }
    
    // Utility which returns if a string is present in the list.
    // Comparison is case insensitive. Explicit short-circuit if
    // the list contains the wildcard "*".
    func hasStringSuffixInSlice(str string, list []string) bool {
    	str = strings.ToLower(str)
    	for _, v := range list {
    		if v == "*" {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Mar 11 11:55:34 GMT 2024
    - 35.6K bytes
    - Viewed (1)
  6. android/guava/src/com/google/common/collect/TreeMultiset.java

     * Comparable#compareTo} or {@link Comparator#compare} instead of {@link Object#equals} to determine
     * equivalence of instances.
     *
     * <p><b>Warning:</b> The comparison must be <i>consistent with equals</i> as explained by the
     * {@link Comparable} class specification. Otherwise, the resulting multiset will violate the {@link
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 34.2K bytes
    - Viewed (0)
  7. guava/src/com/google/common/collect/FluentIterable.java

     * </ul>
     *
     * <p>Several lesser-used features are currently available only as static methods on the {@link
     * Iterables} class.
     *
     * <p><a id="streams"></a>
     *
     * <h3>Comparison to streams</h3>
     *
     * <p>{@link Stream} is similar to this class, but generally more powerful, and certainly more
     * standard. Key differences include:
     *
     * <ul>
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Tue Jan 30 00:14:39 GMT 2024
    - 35.3K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/FluentIterable.java

     * </ul>
     *
     * <p>Several lesser-used features are currently available only as static methods on the {@link
     * Iterables} class.
     *
     * <p><a id="streams"></a>
     *
     * <h3>Comparison to streams</h3>
     *
     * <p>Starting with Java 8, the core Java class libraries provide a new "Streams" library (in {@code
     * java.util.stream}), which is similar to {@code FluentIterable} but generally more powerful. Key
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Jan 30 00:14:39 GMT 2024
    - 35.7K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/collect/Ordering.java

       *     asList(t, null, e, s, null, t, null))
       * }</pre>
       *
       * <p>Assuming {@code t}, {@code e} and {@code s} are non-null, this returns {@code [t, e, s, t,
       * null, null, null]} regardless of the true comparison order of those three values (which might
       * not even implement {@link Comparable} at all).
       *
       * <p><b>Warning:</b> by definition, this comparator is not <i>consistent with equals</i> (as
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Apr 24 19:38:27 GMT 2024
    - 39.4K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/util/concurrent/Monitor.java

     *   try {
     *     // do things while occupying the monitor
     *   } finally {
     *     monitor.leave();
     *   }
     * } else {
     *   // do other things since the monitor was not available
     * }
     * }</pre>
     *
     * <h2>Comparison with {@code synchronized} and {@code ReentrantLock}</h2>
     *
     * <p>The following examples show a simple threadsafe holder expressed using {@code synchronized},
     * {@link ReentrantLock}, and {@code Monitor}.
     *
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Dec 04 18:22:01 GMT 2023
    - 38.6K bytes
    - Viewed (0)
Back to top