Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for leastValueAbove (0.08 sec)

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

        }
    
        @Override
        @CheckForNull
        C leastValueAbove(DiscreteDomain<C> domain) {
          return domain.next(endpoint);
        }
    
        @Override
        C greatestValueBelow(DiscreteDomain<C> domain) {
          return endpoint;
        }
    
        @Override
        Cut<C> canonical(DiscreteDomain<C> domain) {
          C next = leastValueAbove(domain);
          return (next != null) ? belowValue(next) : Cut.<C>aboveAll();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 16 17:21:56 UTC 2024
    - 12.2K bytes
    - Viewed (0)
  2. guava/src/com/google/common/collect/Cut.java

        }
    
        @Override
        @CheckForNull
        C leastValueAbove(DiscreteDomain<C> domain) {
          return domain.next(endpoint);
        }
    
        @Override
        C greatestValueBelow(DiscreteDomain<C> domain) {
          return endpoint;
        }
    
        @Override
        Cut<C> canonical(DiscreteDomain<C> domain) {
          C next = leastValueAbove(domain);
          return (next != null) ? belowValue(next) : Cut.<C>aboveAll();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 16 17:21:56 UTC 2024
    - 12.2K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/ContiguousSet.java

           * requireNonNull is safe because the effectiveRange operations above would have thrown or
           * effectiveRange.isEmpty() would have returned true.
           */
          C afterLower = requireNonNull(range.lowerBound.leastValueAbove(domain));
          C beforeUpper = requireNonNull(range.upperBound.greatestValueBelow(domain));
          // Per class spec, we are allowed to throw CCE if necessary
          empty = Range.compareOrThrow(afterLower, beforeUpper) > 0;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Nov 30 21:54:06 UTC 2023
    - 9.9K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/RegularContiguousSet.java

        return false;
      }
    
      @Override
      public C first() {
        // requireNonNull is safe because we checked the range is not empty in ContiguousSet.create.
        return requireNonNull(range.lowerBound.leastValueAbove(domain));
      }
    
      @Override
      public C last() {
        // requireNonNull is safe because we checked the range is not empty in ContiguousSet.create.
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Feb 22 21:19:52 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  5. guava/src/com/google/common/collect/ContiguousSet.java

           * requireNonNull is safe because the effectiveRange operations above would have thrown or
           * effectiveRange.isEmpty() would have returned true.
           */
          C afterLower = requireNonNull(range.lowerBound.leastValueAbove(domain));
          C beforeUpper = requireNonNull(range.upperBound.greatestValueBelow(domain));
          // Per class spec, we are allowed to throw CCE if necessary
          empty = Range.compareOrThrow(afterLower, beforeUpper) > 0;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Nov 30 21:54:06 UTC 2023
    - 9.9K bytes
    - Viewed (0)
Back to top