Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 16 for hasLowerBound (0.24 sec)

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

        boolean hasLowBound = this.hasLowerBound;
        T lowEnd = getLowerEndpoint();
        BoundType lowType = getLowerBoundType();
        if (!hasLowerBound()) {
          hasLowBound = other.hasLowerBound;
          lowEnd = other.getLowerEndpoint();
          lowType = other.getLowerBoundType();
        } else if (other.hasLowerBound()) {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 22 21:19:52 UTC 2024
    - 10.8K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/GeneralRange.java

        boolean hasLowBound = this.hasLowerBound;
        T lowEnd = getLowerEndpoint();
        BoundType lowType = getLowerBoundType();
        if (!hasLowerBound()) {
          hasLowBound = other.hasLowerBound;
          lowEnd = other.getLowerEndpoint();
          lowType = other.getLowerBoundType();
        } else if (other.hasLowerBound()) {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 22 21:19:52 UTC 2024
    - 10.8K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/TreeMultiset.java

      private AvlNode<E> firstNode() {
        AvlNode<E> root = rootReference.get();
        if (root == null) {
          return null;
        }
        AvlNode<E> node;
        if (range.hasLowerBound()) {
          // The cast is safe because of the hasLowerBound check.
          E endpoint = uncheckedCastNullableTToT(range.getLowerEndpoint());
          node = root.ceiling(comparator(), endpoint);
          if (node == null) {
            return null;
          }
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Apr 01 16:15:01 UTC 2024
    - 34.2K bytes
    - Viewed (0)
  4. guava/src/com/google/common/collect/TreeMultiset.java

      private AvlNode<E> firstNode() {
        AvlNode<E> root = rootReference.get();
        if (root == null) {
          return null;
        }
        AvlNode<E> node;
        if (range.hasLowerBound()) {
          // The cast is safe because of the hasLowerBound check.
          E endpoint = uncheckedCastNullableTToT(range.getLowerEndpoint());
          node = root.ceiling(comparator(), endpoint);
          if (node == null) {
            return null;
          }
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Apr 01 16:15:01 UTC 2024
    - 34.6K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/ImmutableRangeSet.java

        private final boolean positiveBoundedAbove;
    
        private final int size;
    
        ComplementRanges() {
          this.positiveBoundedBelow = ranges.get(0).hasLowerBound();
          this.positiveBoundedAbove = Iterables.getLast(ranges).hasUpperBound();
    
          int size = ranges.size() - 1;
          if (positiveBoundedBelow) {
            size++;
          }
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Sun Jun 02 13:36:19 UTC 2024
    - 27.1K bytes
    - Viewed (0)
  6. guava/src/com/google/common/collect/ImmutableRangeSet.java

        private final boolean positiveBoundedAbove;
    
        private final int size;
    
        ComplementRanges() {
          this.positiveBoundedBelow = ranges.get(0).hasLowerBound();
          this.positiveBoundedAbove = Iterables.getLast(ranges).hasUpperBound();
    
          int size = ranges.size() - 1;
          if (positiveBoundedBelow) {
            size++;
          }
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Apr 01 16:15:01 UTC 2024
    - 26.9K bytes
    - Viewed (0)
  7. guava/src/com/google/common/collect/Range.java

        }
      }
    
      /** Returns {@code true} if this range has a lower endpoint. */
      public boolean hasLowerBound() {
        return lowerBound != Cut.belowAll();
      }
    
      /**
       * Returns the lower endpoint of this range.
       *
       * @throws IllegalStateException if this range is unbounded below (that is, {@link
       *     #hasLowerBound()} returns {@code false})
       */
      public C lowerEndpoint() {
        return lowerBound.endpoint();
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 22 21:19:52 UTC 2024
    - 27.8K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/ContiguousSet.java

          Range<C> range, DiscreteDomain<C> domain) {
        checkNotNull(range);
        checkNotNull(domain);
        Range<C> effectiveRange = range;
        try {
          if (!range.hasLowerBound()) {
            effectiveRange = effectiveRange.intersection(Range.atLeast(domain.minValue()));
          }
          if (!range.hasUpperBound()) {
            effectiveRange = effectiveRange.intersection(Range.atMost(domain.maxValue()));
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Nov 30 21:54:06 UTC 2023
    - 9.9K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/collect/Range.java

        }
      }
    
      /** Returns {@code true} if this range has a lower endpoint. */
      public boolean hasLowerBound() {
        return lowerBound != Cut.belowAll();
      }
    
      /**
       * Returns the lower endpoint of this range.
       *
       * @throws IllegalStateException if this range is unbounded below (that is, {@link
       *     #hasLowerBound()} returns {@code false})
       */
      public C lowerEndpoint() {
        return lowerBound.endpoint();
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 22 21:19:52 UTC 2024
    - 27.8K bytes
    - Viewed (0)
  10. guava/src/com/google/common/collect/ContiguousSet.java

          Range<C> range, DiscreteDomain<C> domain) {
        checkNotNull(range);
        checkNotNull(domain);
        Range<C> effectiveRange = range;
        try {
          if (!range.hasLowerBound()) {
            effectiveRange = effectiveRange.intersection(Range.atLeast(domain.minValue()));
          }
          if (!range.hasUpperBound()) {
            effectiveRange = effectiveRange.intersection(Range.atMost(domain.maxValue()));
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Nov 30 21:54:06 UTC 2023
    - 9.9K bytes
    - Viewed (0)
Back to top