Home
last modified time | relevance | path

Searched refs:rangeContaining (Results 1 – 11 of 11) sorted by relevance

/external/guava/guava/src/com/google/common/collect/
DAbstractRangeSet.java31 return rangeContaining(value) != null; in contains()
35 public abstract Range<C> rangeContaining(C value); in rangeContaining() method in AbstractRangeSet
DRangeSet.java67 Range<C> rangeContaining(C value); in rangeContaining() method
DTreeRangeSet.java121 public @Nullable Range<C> rangeContaining(C value) { in rangeContaining() method in TreeRangeSet
879 public @Nullable Range<C> rangeContaining(C value) {
883 Range<C> result = TreeRangeSet.this.rangeContaining(value);
DImmutableRangeSet.java184 public Range<C> rangeContaining(C value) { in rangeContaining() method in ImmutableRangeSet
/external/guava/android/guava/src/com/google/common/collect/
DAbstractRangeSet.java31 return rangeContaining(value) != null; in contains()
35 public abstract Range<C> rangeContaining(C value); in rangeContaining() method in AbstractRangeSet
DRangeSet.java66 Range<C> rangeContaining(C value); in rangeContaining() method
DTreeRangeSet.java122 public Range<C> rangeContaining(C value) { in rangeContaining() method in TreeRangeSet
884 public Range<C> rangeContaining(C value) {
888 Range<C> result = TreeRangeSet.this.rangeContaining(value);
DImmutableRangeSet.java171 public Range<C> rangeContaining(C value) { in rangeContaining() method in ImmutableRangeSet
/external/guava/guava-tests/test/com/google/common/collect/
DTreeRangeSetTest.java78 assertEquals(expected.rangeContaining(i), view.rangeContaining(i)); in testViewAgainstExpected()
646 assertEquals(Range.closed(3, 10), rangeSet.rangeContaining(5)); in testRangeContaining1()
648 assertNull(rangeSet.rangeContaining(1)); in testRangeContaining1()
656 assertEquals(Range.closed(3, 5), rangeSet.rangeContaining(5)); in testRangeContaining2()
658 assertEquals(Range.closed(7, 10), rangeSet.rangeContaining(8)); in testRangeContaining2()
660 assertNull(rangeSet.rangeContaining(6)); in testRangeContaining2()
/external/guava/android/guava-tests/test/com/google/common/collect/
DTreeRangeSetTest.java78 assertEquals(expected.rangeContaining(i), view.rangeContaining(i)); in testViewAgainstExpected()
646 assertEquals(Range.closed(3, 10), rangeSet.rangeContaining(5)); in testRangeContaining1()
648 assertNull(rangeSet.rangeContaining(1)); in testRangeContaining1()
656 assertEquals(Range.closed(3, 5), rangeSet.rangeContaining(5)); in testRangeContaining2()
658 assertEquals(Range.closed(7, 10), rangeSet.rangeContaining(8)); in testRangeContaining2()
660 assertNull(rangeSet.rangeContaining(6)); in testRangeContaining2()
/external/google-java-format/core/src/main/java/com/google/googlejavaformat/java/
DJavaOutput.java333 loTok = partialFormatRanges.rangeContaining(loTok).lowerEndpoint(); in expandToBreakableRegions()
334 hiTok = partialFormatRanges.rangeContaining(hiTok).upperEndpoint(); in expandToBreakableRegions()