Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 14 for lessThan (0.09 sec)

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

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

        assertEquals(Range.atLeast(Integer.MIN_VALUE), Range.<Integer>all().canonical(integers()));
      }
    
      public void testCanonical_unboundedDomain() {
        assertEquals(Range.lessThan(0), Range.lessThan(0).canonical(UNBOUNDED_DOMAIN));
        assertEquals(Range.lessThan(1), Range.atMost(0).canonical(UNBOUNDED_DOMAIN));
        assertEquals(Range.atLeast(0), Range.atLeast(0).canonical(UNBOUNDED_DOMAIN));
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 23.9K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/collect/ImmutableRangeSetTest.java

        assertFalse(rangeSet.intersects(Range.closedOpen(4, 5)));
        assertTrue(rangeSet.intersects(Range.lessThan(1)));
        assertTrue(rangeSet.intersects(Range.greaterThan(1)));
        assertFalse(rangeSet.intersects(Range.greaterThan(3)));
    
        assertTrue(rangeSet.encloses(Range.closed(2, 3)));
        assertTrue(rangeSet.encloses(Range.lessThan(1)));
        assertFalse(rangeSet.encloses(Range.closedOpen(1, 5)));
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 02 18:21:29 UTC 2024
    - 21.5K bytes
    - Viewed (0)
  4. cmd/batch-expire_test.go

          metadata:
            - key: content-type
              value: image/* # match objects with 'content-type', all values starting with 'image/'
          size:
            lessThan: "10MiB" # match objects with size less than this value (e.g. 10MiB)
            greaterThan: 1MiB # match objects with size greater than this value (e.g. 1MiB)
          purge:
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 01 12:53:30 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  5. cmd/batch-job-common-types.go

    		}
    	}
    	return nil
    }
    
    // BatchJobSizeFilter supports size based filters - LesserThan and GreaterThan
    type BatchJobSizeFilter struct {
    	line, col  int
    	UpperBound BatchJobSize `yaml:"lessThan" json:"lessThan"`
    	LowerBound BatchJobSize `yaml:"greaterThan" json:"greaterThan"`
    }
    
    // UnmarshalYAML - BatchJobSizeFilter extends unmarshal to extract line, column information
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Jun 11 03:13:30 UTC 2024
    - 7.9K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/Range.java

     * <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}
     * <tr><td>{@code (-∞..b]} <td>{@code {x | x <= b}}     <td>{@link Range#atMost atMost}
     * <tr><td>{@code (-∞..+∞)}<td>{@code {x}}              <td>{@link Range#all all}
     * </table>
     *
     * </blockquote>
     *
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 16 17:21:56 UTC 2024
    - 27.8K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/collect/ContiguousSetTest.java

            @Override
            public long distance(Integer start, Integer end) {
              throw new AssertionError();
            }
          };
    
      public void testCreate_noMin() {
        Range<Integer> range = Range.lessThan(0);
        assertThrows(
            IllegalArgumentException.class,
            () -> ContiguousSet.create(range, UNBOUNDED_THROWING_DOMAIN));
      }
    
      public void testCreate_noMax() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Oct 15 17:36:06 UTC 2024
    - 19K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/collect/ContiguousSetTest.java

            @Override
            public long distance(Integer start, Integer end) {
              throw new AssertionError();
            }
          };
    
      public void testCreate_noMin() {
        Range<Integer> range = Range.lessThan(0);
        assertThrows(
            IllegalArgumentException.class,
            () -> ContiguousSet.create(range, UNBOUNDED_THROWING_DOMAIN));
      }
    
      public void testCreate_noMax() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Oct 15 17:36:06 UTC 2024
    - 19K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/collect/SetsTest.java

        assertEquals(empty, Sets.subSet(set, Range.lessThan(0)));
        assertEquals(ImmutableSortedSet.of(2), Sets.subSet(set, Range.lessThan(4)));
        assertEquals(ImmutableSortedSet.of(2, 4, 6), Sets.subSet(set, Range.lessThan(7)));
        assertEquals(set, Sets.subSet(set, Range.lessThan(20)));
    
        assertEquals(empty, Sets.subSet(set, Range.atMost(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)
  10. guava/src/com/google/common/collect/Range.java

     * <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}
     * <tr><td>{@code (-∞..b]} <td>{@code {x | x <= b}}     <td>{@link Range#atMost atMost}
     * <tr><td>{@code (-∞..+∞)}<td>{@code {x}}              <td>{@link Range#all all}
     * </table>
     *
     * </blockquote>
     *
    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