Home
last modified time | relevance | path

Searched refs:asRanges (Results 1 – 12 of 12) sorted by relevance

/external/guava/guava-tests/test/com/google/common/collect/
DTreeRangeSetTest.java68 assertEquals(expected.asRanges(), view.asRanges()); in testViewAgainstExpected()
81 testRangesByLowerBounds((TreeRangeSet<Integer>) view, expected.asRanges()); in testViewAgainstExpected()
132 for (Range<Integer> expectedRange : rangeSet.asRanges()) { in testEnclosing()
154 assertThat(rangeSet.complement().asRanges()) in testAllSingleRangesComplementAgainstRemove()
155 .has().exactlyAs(complement.asRanges()).inOrder(); in testAllSingleRangesComplementAgainstRemove()
199 for (Range<Integer> range : rangeSet.asRanges()) { in expectedSubRangeSet()
277 for (Range<Integer> range : rangeSet.asRanges()) { in testRangesByUpperBound()
292 assertThat(rangeSet.asRanges()).has().item(Range.closedOpen(1, 6)); in testMergesConnectedWithOverlap()
293 assertThat(rangeSet.complement().asRanges()) in testMergesConnectedWithOverlap()
302 assertThat(rangeSet.asRanges()).has().item(Range.closedOpen(1, 6)); in testMergesConnectedDisjoint()
[all …]
DAbstractRangeSetTest.java38 assertEquals(rangeSet.asRanges().isEmpty(), rangeSet.isEmpty()); in testInvariantsInternal()
39 assertEquals(!rangeSet.asRanges().iterator().hasNext(), rangeSet.isEmpty()); in testInvariantsInternal()
41 List<Range<C>> asRanges = ImmutableList.copyOf(rangeSet.asRanges()); in testInvariantsInternal() local
44 for (int i = 0; i + 1 < asRanges.size(); i++) { in testInvariantsInternal()
45 Range<C> range1 = asRanges.get(i); in testInvariantsInternal()
46 Range<C> range2 = asRanges.get(i + 1); in testInvariantsInternal()
51 for (Range<C> range : asRanges) { in testInvariantsInternal()
55 Iterator<Range<C>> itr = rangeSet.asRanges().iterator(); in testInvariantsInternal()
DImmutableRangeSetTest.java146 assertThat(rangeSet.asRanges()).isEmpty(); in testEmpty()
157 assertThat(rangeSet.asRanges()).has().item(Range.<Integer>all()); in testAll()
167 assertThat(rangeSet.asRanges()).has().item(Range.closedOpen(1, 5)); in testSingleBoundedRange()
188 assertThat(rangeSet.asRanges()).has().item(Range.greaterThan(2)); in testSingleBoundedBelowRange()
205 assertThat(rangeSet.asRanges()).has().item(Range.atMost(3)); in testSingleBoundedAboveRange()
223 assertThat(rangeSet.asRanges()) in testMultipleBoundedRanges()
244 assertThat(rangeSet.asRanges()) in testMultipleBoundedBelowRanges()
264 assertThat(rangeSet.asRanges()) in testMultipleBoundedAboveRanges()
356 for (Range<Integer> other : mutable.asRanges()) { in testExhaustive()
489 for (Range<Integer> range : rangeSet.asRanges()) { in testSubRangeSet()
[all …]
/external/guava/guava/src/com/google/common/collect/
DAbstractRangeSet.java37 return asRanges().isEmpty(); in isEmpty()
57 for (Range<C> range : other.asRanges()) { in enclosesAll()
67 for (Range<C> range : other.asRanges()) { in addAll()
74 for (Range<C> range : other.asRanges()) { in removeAll()
88 return this.asRanges().equals(other.asRanges()); in equals()
95 return asRanges().hashCode(); in hashCode()
100 return asRanges().toString(); in toString()
DImmutableRangeSet.java100 return new ImmutableRangeSet<C>(ImmutableList.copyOf(rangeSet.asRanges())); in copyOf()
176 public ImmutableSet<Range<C>> asRanges() { in asRanges() method in ImmutableRangeSet
563 for (Range<C> currentRange : rangeSet.asRanges()) {
579 for (Range<C> range : ranges.asRanges()) {
DRangeSet.java101 Set<Range<C>> asRanges(); in asRanges() method
DTreeRangeSet.java70 private transient Set<Range<C>> asRanges; field in TreeRangeSet
73 public Set<Range<C>> asRanges() { in asRanges() method in TreeRangeSet
74 Set<Range<C>> result = asRanges; in asRanges()
75 return (result == null) ? asRanges = new AsRanges() : result; in asRanges()
/external/guice/lib/
Dguava-19.0.jarMETA-INF/MANIFEST.MF META-INF/ META-INF/maven/ META- ...
/external/cldr/tools/java/libs/
Dguava.jarMETA-INF/MANIFEST.MF META-INF/ META-INF/maven/ META- ...
/external/conscrypt/benchmark-android/
Dvogar.jarMETA-INF/ META-INF/MANIFEST.MF vogar/ vogar/TestProperties.class TestProperties ...
/external/error_prone/error_prone/
Derror_prone_core-2.3.2-with-dependencies.jarMETA-INF/ META-INF/MANIFEST.MF META-INF/services/ META- ...
/external/dagger2/lib/
Dgoogle-java-format-0.1-20151017.042846-2.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/ ...