Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 14 for greaterThan (0.12 sec)

  1. android/guava-tests/test/com/google/common/collect/ImmutableRangeSetTest.java

        assertTrue(rangeSet.intersects(Range.greaterThan(2)));
        assertFalse(rangeSet.intersects(Range.greaterThan(7)));
    
        assertTrue(rangeSet.encloses(Range.closed(3, 4)));
        assertTrue(rangeSet.encloses(Range.closedOpen(1, 4)));
        assertTrue(rangeSet.encloses(Range.closedOpen(1, 5)));
        assertFalse(rangeSet.encloses(Range.greaterThan(2)));
    
        assertTrue(rangeSet.contains(3));
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 02 18:21:29 UTC 2024
    - 21.5K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/collect/TreeRangeSetTest.java

        testInvariants(rangeSet);
        assertThat(rangeSet.asRanges()).contains(Range.closed(1, 6));
        assertThat(rangeSet.complement().asRanges())
            .containsExactly(Range.lessThan(1), Range.greaterThan(6))
            .inOrder();
      }
    
      public void testIgnoresSmallerSharingLowerBound() {
        TreeRangeSet<Integer> rangeSet = TreeRangeSet.create();
        rangeSet.add(Range.closed(1, 6));
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 24.3K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/collect/RangeTest.java

        Cut<Integer> a = Range.lessThan(0).lowerBound;
        Cut<Integer> b = Range.atLeast(0).lowerBound;
        Cut<Integer> c = Range.greaterThan(0).lowerBound;
        Cut<Integer> d = Range.atLeast(1).lowerBound;
        Cut<Integer> e = Range.greaterThan(1).lowerBound;
        Cut<Integer> f = Range.greaterThan(1).upperBound;
    
        testCompareToAndEquals(ImmutableList.of(a, b, c, d, e, f));
      }
    
      @SuppressWarnings("DistinctVarargsChecker")
    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

     * <tr><td>{@code [a..b)}  <td>{@code {x | a <= x < b}} <td>{@link Range#closedOpen closedOpen}
     * <tr><td>{@code (a..+∞)} <td>{@code {x | x > a}}      <td>{@link Range#greaterThan greaterThan}
     * <tr><td>{@code [a..+∞)} <td>{@code {x | x >= a}}     <td>{@link Range#atLeast atLeast}
     * <tr><td>{@code (-∞..b)} <td>{@code {x | x < b}}      <td>{@link Range#lessThan lessThan}
    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-tests/test/com/google/common/collect/ContiguousSetTest.java

        assertThrows(
            IllegalArgumentException.class,
            () -> ContiguousSet.create(range, UNBOUNDED_THROWING_DOMAIN));
      }
    
      public void testCreate_noMax() {
        Range<Integer> range = Range.greaterThan(0);
        assertThrows(
            IllegalArgumentException.class,
            () -> ContiguousSet.create(range, UNBOUNDED_THROWING_DOMAIN));
      }
    
      public void testCreate_empty() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Oct 15 17:36:06 UTC 2024
    - 19K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/collect/ContiguousSetTest.java

        assertThrows(
            IllegalArgumentException.class,
            () -> ContiguousSet.create(range, UNBOUNDED_THROWING_DOMAIN));
      }
    
      public void testCreate_noMax() {
        Range<Integer> range = Range.greaterThan(0);
        assertThrows(
            IllegalArgumentException.class,
            () -> ContiguousSet.create(range, UNBOUNDED_THROWING_DOMAIN));
      }
    
      public void testCreate_empty() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Oct 15 17:36:06 UTC 2024
    - 19K bytes
    - Viewed (0)
  7. guava/src/com/google/common/collect/Range.java

     * <tr><td>{@code [a..b)}  <td>{@code {x | a <= x < b}} <td>{@link Range#closedOpen closedOpen}
     * <tr><td>{@code (a..+∞)} <td>{@code {x | x > a}}      <td>{@link Range#greaterThan greaterThan}
     * <tr><td>{@code [a..+∞)} <td>{@code {x | x >= a}}     <td>{@link Range#atLeast atLeast}
     * <tr><td>{@code (-∞..b)} <td>{@code {x | x < b}}      <td>{@link Range#lessThan lessThan}
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 16 17:21:56 UTC 2024
    - 27.8K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/collect/SetsTest.java

        assertEquals(set, Sets.subSet(set, Range.greaterThan(0)));
        assertEquals(ImmutableSortedSet.of(6, 8, 10), Sets.subSet(set, Range.greaterThan(4)));
        assertEquals(ImmutableSortedSet.of(8, 10), Sets.subSet(set, Range.greaterThan(7)));
        assertEquals(empty, Sets.subSet(set, Range.greaterThan(20)));
    
        assertEquals(empty, Sets.subSet(set, Range.lessThan(0)));
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 48.6K bytes
    - Viewed (0)
  9. guava/src/com/google/common/collect/ContiguousSet.java

     *
     * <pre>{@code
     * ContiguousSet.closed(5, 42)
     * }</pre>
     *
     * <p><b>Warning:</b> Be extremely careful what you do with conceptually large instances (such as
     * {@code ContiguousSet.create(Range.greaterThan(0), DiscreteDomain.integers()}). Certain operations
     * on such a set can be performed efficiently, but others (such as {@link Set#hashCode} or {@link
     * Collections#frequency}) can cause major performance problems.
     *
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Nov 30 21:54:06 UTC 2023
    - 9.9K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/collect/ContiguousSet.java

     *
     * <pre>{@code
     * ContiguousSet.closed(5, 42)
     * }</pre>
     *
     * <p><b>Warning:</b> Be extremely careful what you do with conceptually large instances (such as
     * {@code ContiguousSet.create(Range.greaterThan(0), DiscreteDomain.integers()}). Certain operations
     * on such a set can be performed efficiently, but others (such as {@link Set#hashCode} or {@link
     * Collections#frequency}) can cause major performance problems.
     *
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Nov 30 21:54:06 UTC 2023
    - 9.9K bytes
    - Viewed (0)
Back to top