Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for AboveValue (0.22 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) {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 22 21:19:52 GMT 2024
    - 12.3K 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) {
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 21:19:52 GMT 2024
    - 12.3K 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).
       *
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 22 21:19:52 GMT 2024
    - 27.8K bytes
    - Viewed (0)
  4. 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(
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Dec 16 19:54:45 GMT 2020
    - 24.3K 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(
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Dec 16 19:54:45 GMT 2020
    - 24.3K bytes
    - Viewed (0)
Back to top