Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 for lowerBoundType (0.14 sec)

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

      static <T extends Comparable> GeneralRange<T> from(Range<T> range) {
        T lowerEndpoint = range.hasLowerBound() ? range.lowerEndpoint() : null;
        BoundType lowerBoundType = range.hasLowerBound() ? range.lowerBoundType() : OPEN;
    
        T upperEndpoint = range.hasUpperBound() ? range.upperEndpoint() : null;
        BoundType upperBoundType = range.hasUpperBound() ? range.upperBoundType() : OPEN;
    Registered: Fri Nov 01 12:43:10 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

      static <T extends Comparable> GeneralRange<T> from(Range<T> range) {
        T lowerEndpoint = range.hasLowerBound() ? range.lowerEndpoint() : null;
        BoundType lowerBoundType = range.hasLowerBound() ? range.lowerBoundType() : OPEN;
    
        T upperEndpoint = range.hasUpperBound() ? range.upperEndpoint() : null;
        BoundType upperBoundType = range.hasUpperBound() ? range.upperBoundType() : OPEN;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Feb 22 21:19:52 UTC 2024
    - 10.8K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/collect/RangeTest.java

      public void testOpen() {
        Range<Integer> range = Range.open(4, 8);
        checkContains(range);
        assertTrue(range.hasLowerBound());
        assertEquals(4, (int) range.lowerEndpoint());
        assertEquals(OPEN, range.lowerBoundType());
        assertTrue(range.hasUpperBound());
        assertEquals(8, (int) range.upperEndpoint());
        assertEquals(OPEN, range.upperBoundType());
        assertFalse(range.isEmpty());
        assertEquals("(4..8)", range.toString());
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 23.9K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/ContiguousSet.java

       * [1..∞)}.
       *
       * @throws NoSuchElementException if this set is empty
       */
      public abstract Range<C> range(BoundType lowerBoundType, BoundType upperBoundType);
    
      @Override
      @GwtIncompatible // NavigableSet
      ImmutableSortedSet<C> createDescendingSet() {
        return new DescendingImmutableSortedSet<>(this);
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Nov 30 21:54:06 UTC 2023
    - 9.9K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/collect/TreeRangeSetTest.java

          queryBuilder.add(Range.openClosed(i, i));
          queryBuilder.add(Range.closedOpen(i, i));
    
          for (BoundType lowerBoundType : BoundType.values()) {
            for (int j = i + 1; j <= MAX_BOUND; j++) {
              for (BoundType upperBoundType : BoundType.values()) {
                queryBuilder.add(Range.range(i, lowerBoundType, j, upperBoundType));
              }
            }
          }
        }
        QUERY_RANGES = queryBuilder.build();
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 24.3K bytes
    - Viewed (0)
  6. guava/src/com/google/common/collect/ContiguousSet.java

       * [1..∞)}.
       *
       * @throws NoSuchElementException if this set is empty
       */
      public abstract Range<C> range(BoundType lowerBoundType, BoundType upperBoundType);
    
      @Override
      @GwtIncompatible // NavigableSet
      ImmutableSortedSet<C> createDescendingSet() {
        return new DescendingImmutableSortedSet<>(this);
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Nov 30 21:54:06 UTC 2023
    - 9.9K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/collect/ImmutableSortedMultiset.java

      public ImmutableSortedMultiset<E> subMultiset(
          E lowerBound, BoundType lowerBoundType, E upperBound, BoundType upperBoundType) {
        checkArgument(
            comparator().compare(lowerBound, upperBound) <= 0,
            "Expected lowerBound <= upperBound but %s > %s",
            lowerBound,
            upperBound);
        return tailMultiset(lowerBound, lowerBoundType).headMultiset(upperBound, upperBoundType);
      }
    
      @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 16 21:21:17 UTC 2024
    - 35.4K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/Range.java

       *
       * @throws IllegalStateException if this range is unbounded below (that is, {@link
       *     #hasLowerBound()} returns {@code false})
       */
      public BoundType lowerBoundType() {
        return lowerBound.typeAsLowerBound();
      }
    
      /** Returns {@code true} if this range has an upper endpoint. */
      public boolean hasUpperBound() {
        return upperBound != Cut.aboveAll();
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 16 17:21:56 UTC 2024
    - 27.8K bytes
    - Viewed (0)
  9. guava/src/com/google/common/collect/Range.java

       *
       * @throws IllegalStateException if this range is unbounded below (that is, {@link
       *     #hasLowerBound()} returns {@code false})
       */
      public BoundType lowerBoundType() {
        return lowerBound.typeAsLowerBound();
      }
    
      /** Returns {@code true} if this range has an upper endpoint. */
      public boolean hasUpperBound() {
        return upperBound != Cut.aboveAll();
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 16 17:21:56 UTC 2024
    - 27.8K bytes
    - Viewed (0)
Back to top