Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for ComparisonChain (0.05 sec)

  1. guava/src/com/google/common/collect/ComparisonChain.java

     * @since 2.0
     */
    @GwtCompatible
    public abstract class ComparisonChain {
      private ComparisonChain() {}
    
      /** Begins a new chained comparison statement. See example in the class documentation. */
      public static ComparisonChain start() {
        return ACTIVE;
      }
    
      private static final ComparisonChain ACTIVE =
          new ComparisonChain() {
            @SuppressWarnings("unchecked") // unsafe; see discussion on supertype
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Mar 17 20:26:29 UTC 2025
    - 11.1K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/Range.java

        static final Ordering<?> INSTANCE = new RangeLexOrdering();
    
        @Override
        public int compare(Range<?> left, Range<?> right) {
          return ComparisonChain.start()
              .compare(left.lowerBound, right.lowerBound)
              .compare(left.upperBound, right.upperBound)
              .result();
        }
    
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Sep 22 18:35:44 UTC 2025
    - 28K bytes
    - Viewed (0)
Back to top