Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for upperEndpoint (0.07 sec)

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

        T upperEndpoint = range.hasUpperBound() ? range.upperEndpoint() : null;
        BoundType upperBoundType = range.hasUpperBound() ? range.upperBoundType() : OPEN;
        return new GeneralRange<>(
            Ordering.natural(),
            range.hasLowerBound(),
            lowerEndpoint,
            lowerBoundType,
            range.hasUpperBound(),
            upperEndpoint,
            upperBoundType);
      }
    
    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

        T upperEndpoint = range.hasUpperBound() ? range.upperEndpoint() : null;
        BoundType upperBoundType = range.hasUpperBound() ? range.upperBoundType() : OPEN;
        return new GeneralRange<>(
            Ordering.natural(),
            range.hasLowerBound(),
            lowerEndpoint,
            lowerBoundType,
            range.hasUpperBound(),
            upperEndpoint,
            upperBoundType);
      }
    
    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

        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());
        reserializeAndAssert(range);
      }
    
      public void testOpen_invalid() {
    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/Range.java

      /**
       * Returns the upper endpoint of this range.
       *
       * @throws IllegalStateException if this range is unbounded above (that is, {@link
       *     #hasUpperBound()} returns {@code false})
       */
      public C upperEndpoint() {
        return upperBound.endpoint();
      }
    
      /**
       * Returns the type of this range's upper bound: {@link BoundType#CLOSED} if the range includes
       * its upper endpoint, {@link BoundType#OPEN} if it does not.
    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. guava/src/com/google/common/collect/Range.java

      /**
       * Returns the upper endpoint of this range.
       *
       * @throws IllegalStateException if this range is unbounded above (that is, {@link
       *     #hasUpperBound()} returns {@code false})
       */
      public C upperEndpoint() {
        return upperBound.endpoint();
      }
    
      /**
       * Returns the type of this range's upper bound: {@link BoundType#CLOSED} if the range includes
       * its upper endpoint, {@link BoundType#OPEN} if it does not.
    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