Home
last modified time | relevance | path

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

/external/guava/guava-gwt/test-super/com/google/common/collect/super/com/google/common/collect/
DContiguousSetTest.java63 ContiguousSet.create(Range.openClosed(0, 3), integers()), in testEquals()
67 ContiguousSet.create(Range.openClosed(0, 3), NOT_EQUAL_TO_INTEGERS), in testEquals()
101 assertEquals(ImmutableSet.of(), ContiguousSet.create(Range.openClosed(5, 5), integers())); in testCreate_empty()
223 ContiguousSet.create(Range.openClosed(0, 3), integers()).range()); in testRange()
225 assertEquals(Range.openClosed(0, 3), in testRange()
227 assertEquals(Range.openClosed(0, 3), in testRange()
229 assertEquals(Range.openClosed(0, 3), in testRange()
231 assertEquals(Range.openClosed(0, 3), in testRange()
232 ContiguousSet.create(Range.openClosed(0, 3), integers()).range(OPEN, CLOSED)); in testRange()
241 ContiguousSet.create(Range.openClosed(0, 3), integers()).range(OPEN, OPEN)); in testRange()
[all …]
/external/guava/guava-tests/test/com/google/common/collect/
DRangeTest.java94 Range<Integer> range = Range.openClosed(4, 7); in testOpenClosed()
123 assertTrue(Range.closed(3, 5).isConnected(Range.openClosed(5, 5))); in testIsConnected()
171 Range<Integer> range = Range.openClosed(4, 4); in testEmpty2()
305 assertTrue(Range.openClosed(3, 3).containsAll( in testContainsAll()
316 assertFalse(range.encloses(Range.openClosed(2, 5))); in testEncloses_open()
331 assertTrue(range.encloses(Range.openClosed(2, 5))); in testEncloses_closed()
364 assertEquals(Range.openClosed(3, 3), in testIntersection_deFactoEmpty()
381 assertEquals(Range.openClosed(4, 4), in testIntersection_deFactoEmpty()
396 assertEquals(Range.openClosed(3, 3), in testIntersection_singleton()
453 assertEquals(Range.openClosed(8, 8), in testIntersection_general()
[all …]
DContiguousSetTest.java80 ContiguousSet.create(Range.openClosed(0, 3), integers()), in testEquals()
84 ContiguousSet.create(Range.openClosed(0, 3), NOT_EQUAL_TO_INTEGERS), in testEquals()
139 assertEquals(ImmutableSet.of(), ContiguousSet.create(Range.openClosed(5, 5), integers())); in testCreate_empty()
261 ContiguousSet.create(Range.openClosed(0, 3), integers()).range()); in testRange()
263 assertEquals(Range.openClosed(0, 3), in testRange()
265 assertEquals(Range.openClosed(0, 3), in testRange()
267 assertEquals(Range.openClosed(0, 3), in testRange()
269 assertEquals(Range.openClosed(0, 3), in testRange()
270 ContiguousSet.create(Range.openClosed(0, 3), integers()).range(OPEN, CLOSED)); in testRange()
279 ContiguousSet.create(Range.openClosed(0, 3), integers()).range(OPEN, OPEN)); in testRange()
[all …]
DImmutableRangeSetTest.java52 Range.openClosed(5, 7),
347 Range.openClosed(5, 7), in testExhaustive()
389 .add(Range.openClosed(15, 17)) in testAsSet()
404 .add(Range.openClosed(15, 17)) in testAsSetHeadSet()
421 .add(Range.openClosed(15, 17)) in testAsSetTailSet()
438 .add(Range.openClosed(15, 17)) in testAsSetSubSet()
477 rangesBuilder.add(Range.openClosed(i, i)); in testSubRangeSet()
DTreeRangeMapTest.java391 Range.closedOpen(5, 7), 1, Range.closed(7, 9), 4, Range.openClosed(9, 10), 2), in testSubRangeMapPut()
394 ImmutableMap.of(Range.open(3, 7), 1, Range.closed(7, 9), 4, Range.openClosed(9, 10), 2, in testSubRangeMapPut()
407 ImmutableMap.of(Range.open(3, 7), 1, Range.closed(7, 9), 4, Range.openClosed(9, 10), 2, in testSubRangeMapPut()
422 ImmutableMap.of(Range.closedOpen(5, 7), 1, Range.openClosed(9, 10), 2), in testSubRangeMapRemove()
425 ImmutableMap.of(Range.open(3, 7), 1, Range.openClosed(9, 10), 2, Range.closed(12, 16), 3), in testSubRangeMapRemove()
430 ImmutableMap.of(Range.openClosed(9, 10), 2), in testSubRangeMapRemove()
433 ImmutableMap.of(Range.open(3, 5), 1, Range.openClosed(9, 10), 2, Range.closed(12, 16), 3), in testSubRangeMapRemove()
DTreeRangeSetTest.java52 queryBuilder.add(Range.openClosed(i, i)); in Range.openClosed()
478 rangeSet.remove(Range.openClosed(3, 5)); in testRemovePartSharingUpperBound()
508 assertThat(rangeSet.asRanges()).has().exactly(Range.openClosed(3, 6)).inOrder(); in testRemovePartFromBelowLowerBound()
DImmutableRangeMapTest.java76 builder.put(Range.openClosed(i, i), 1); in testBuilderRejectsEmptyRanges()
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/
DOpcode.java391 …return Lists.newArrayList(new VersionConstraint(Range.atLeast(api), Range.openClosed(0, 0), opcode… in firstApi()
396 …return Lists.newArrayList(new VersionConstraint(Range.atMost(api), Range.openClosed(0, 0), opcodeV… in lastApi()
400 …return Lists.newArrayList(new VersionConstraint(Range.openClosed(0, 0), Range.atLeast(artVersion),… in firstArtVersion()
404 …return Lists.newArrayList(new VersionConstraint(Range.openClosed(0, 0), Range.atMost(artVersion), … in lastArtVersion()
412 …return Lists.newArrayList(new VersionConstraint(Range.<Integer>all(), Range.openClosed(0, 0), opco… in allApis()
416 …return Lists.newArrayList(new VersionConstraint(Range.openClosed(0, 0), Range.<Integer>all(), opco… in allArtVersions()
/external/guava/guava-gwt/test-super/com/google/common/collect/testing/google/super/com/google/common/collect/testing/google/
DSetGenerators.java322 return ContiguousSet.create(Range.openClosed(0, 1), DiscreteDomain.integers()).subSet(0, 1); in create()
/external/guava/guava/src/com/google/common/collect/
DRange.java201 public static <C extends Comparable<?>> Range<C> openClosed( in openClosed() method in Range
/external/guava/guava-testlib/src/com/google/common/collect/testing/google/
DSetGenerators.java349 return ContiguousSet.create(Range.openClosed(0, 1), DiscreteDomain.integers()).subSet(0, 1); in create()