Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for aboveValue (0.25 sec)

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

        }
    
        private static final long serialVersionUID = 0;
      }
    
      static <C extends Comparable> Cut<C> aboveValue(C endpoint) {
        return new AboveValue<>(endpoint);
      }
    
      private static final class AboveValue<C extends Comparable> extends Cut<C> {
        AboveValue(C endpoint) {
          super(checkNotNull(endpoint));
        }
    
        @Override
        boolean isLessThan(C value) {
    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

        }
    
        private static final long serialVersionUID = 0;
      }
    
      static <C extends Comparable> Cut<C> aboveValue(C endpoint) {
        return new AboveValue<>(endpoint);
      }
    
      private static final class AboveValue<C extends Comparable> extends Cut<C> {
        AboveValue(C endpoint) {
          super(checkNotNull(endpoint));
        }
    
        @Override
        boolean isLessThan(C value) {
    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/Range.java

       * @since 14.0
       */
      public static <C extends Comparable<?>> Range<C> openClosed(C lower, C upper) {
        return create(Cut.aboveValue(lower), Cut.aboveValue(upper));
      }
    
      /**
       * Returns a range that contains any value from {@code lower} to {@code upper}, where each
       * endpoint may be either inclusive (closed) or exclusive (open).
       *
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 16 17:21:56 UTC 2024
    - 27.8K bytes
    - Viewed (0)
  4. guava/src/com/google/common/collect/Range.java

       * @since 14.0
       */
      public static <C extends Comparable<?>> Range<C> openClosed(C lower, C upper) {
        return create(Cut.aboveValue(lower), Cut.aboveValue(upper));
      }
    
      /**
       * Returns a range that contains any value from {@code lower} to {@code upper}, where each
       * endpoint may be either inclusive (closed) or exclusive (open).
       *
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 16 17:21:56 UTC 2024
    - 27.8K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/collect/TreeRangeSetTest.java

      static {
        List<Cut<Integer>> cutsToTest = Lists.newArrayList();
        for (int i = MIN_BOUND - 1; i <= MAX_BOUND + 1; i++) {
          cutsToTest.add(Cut.belowValue(i));
          cutsToTest.add(Cut.aboveValue(i));
        }
        cutsToTest.add(Cut.<Integer>aboveAll());
        cutsToTest.add(Cut.<Integer>belowAll());
        CUTS_TO_TEST = ImmutableList.copyOf(cutsToTest);
      }
    
      private void testRangesByLowerBounds(
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 24.3K bytes
    - Viewed (0)
Back to top