Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for BelowValue (0.04 sec)

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

        @GwtIncompatible @J2ktIncompatible private static final long serialVersionUID = 0;
      }
    
      static <C extends Comparable> Cut<C> belowValue(C endpoint) {
        return new BelowValue<>(endpoint);
      }
    
      private static final class BelowValue<C extends Comparable> extends Cut<C> {
        BelowValue(C endpoint) {
          super(checkNotNull(endpoint));
        }
    
        @Override
        boolean isLessThan(C value) {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Sep 22 18:35:44 UTC 2025
    - 12.4K bytes
    - Viewed (0)
  2. guava/src/com/google/common/collect/Cut.java

        @GwtIncompatible @J2ktIncompatible private static final long serialVersionUID = 0;
      }
    
      static <C extends Comparable> Cut<C> belowValue(C endpoint) {
        return new BelowValue<>(endpoint);
      }
    
      private static final class BelowValue<C extends Comparable> extends Cut<C> {
        BelowValue(C endpoint) {
          super(checkNotNull(endpoint));
        }
    
        @Override
        boolean isLessThan(C value) {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Sep 22 18:35:44 UTC 2025
    - 12.4K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/Range.java

       * @since 14.0
       */
      public static <C extends Comparable<?>> Range<C> closedOpen(C lower, C upper) {
        return create(Cut.belowValue(lower), Cut.belowValue(upper));
      }
    
      /**
       * Returns a range that contains all values strictly greater than {@code lower} and less than or
       * equal to {@code upper}.
       *
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Sep 22 18:35:44 UTC 2025
    - 28K bytes
    - Viewed (0)
  4. guava/src/com/google/common/collect/ImmutableRangeMap.java

        this.values = values;
      }
    
      @Override
      public @Nullable V get(K key) {
        int index =
            SortedLists.binarySearch(
                ranges,
                Range::lowerBound,
                Cut.belowValue(key),
                KeyPresentBehavior.ANY_PRESENT,
                KeyAbsentBehavior.NEXT_LOWER);
        if (index == -1) {
          return null;
        } else {
          Range<K> range = ranges.get(index);
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Sep 23 17:50:58 UTC 2025
    - 14.8K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/TreeRangeMap.java

      }
    
      @Override
      public @Nullable Entry<Range<K>, V> getEntry(K key) {
        Entry<Cut<K>, RangeMapEntry<K, V>> mapEntry =
            entriesByLowerBound.floorEntry(Cut.belowValue(key));
        if (mapEntry != null && mapEntry.getValue().contains(key)) {
          return mapEntry.getValue();
        } else {
          return null;
        }
      }
    
      @Override
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Sep 23 17:50:58 UTC 2025
    - 22.7K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/ImmutableRangeSet.java

      }
    
      @Override
      public @Nullable Range<C> rangeContaining(C value) {
        int index =
            SortedLists.binarySearch(
                ranges,
                Range::lowerBound,
                Cut.belowValue(value),
                Ordering.natural(),
                ANY_PRESENT,
                NEXT_LOWER);
        if (index != -1) {
          Range<C> range = ranges.get(index);
          return range.contains(value) ? range : null;
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Sep 23 17:50:58 UTC 2025
    - 27.5K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/collect/TreeRangeSetTest.java

      private static final ImmutableList<Cut<Integer>> CUTS_TO_TEST;
    
      static {
        List<Cut<Integer>> cutsToTest = new ArrayList<>();
        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);
      }
    
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Oct 28 16:03:47 UTC 2025
    - 24.4K bytes
    - Viewed (0)
  8. guava/src/com/google/common/collect/TreeRangeMap.java

      }
    
      @Override
      public @Nullable Entry<Range<K>, V> getEntry(K key) {
        Entry<Cut<K>, RangeMapEntry<K, V>> mapEntry =
            entriesByLowerBound.floorEntry(Cut.belowValue(key));
        if (mapEntry != null && mapEntry.getValue().contains(key)) {
          return mapEntry.getValue();
        } else {
          return null;
        }
      }
    
      @Override
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Sep 23 17:50:58 UTC 2025
    - 26.5K bytes
    - Viewed (0)
Back to top