Searched refs:rangeSet (Results 1 – 10 of 10) sorted by relevance
99 TreeRangeSet<Integer> rangeSet, Iterable<Range<Integer>> expectedRanges) { in testRangesByLowerBounds() argument105 NavigableMap<Cut<Integer>, Range<Integer>> rangesByLowerBound = rangeSet.rangesByLowerBound; in testRangesByLowerBounds()129 public void testEnclosing(RangeSet<Integer> rangeSet) { in testEnclosing() argument132 for (Range<Integer> expectedRange : rangeSet.asRanges()) { in testEnclosing()139 assertEquals(rangeSet + " was incorrect on encloses(" + query + ")", expectEnclose, in testEnclosing()140 rangeSet.encloses(query)); in testEnclosing()146 TreeRangeSet<Integer> rangeSet = TreeRangeSet.create(); in testAllSingleRangesComplementAgainstRemove() local147 rangeSet.add(range); in testAllSingleRangesComplementAgainstRemove()153 assertEquals(complement, rangeSet.complement()); in testAllSingleRangesComplementAgainstRemove()154 assertThat(rangeSet.complement().asRanges()) in testAllSingleRangesComplementAgainstRemove()[all …]
144 ImmutableRangeSet<Integer> rangeSet = ImmutableRangeSet.of(); in testEmpty() local146 assertThat(rangeSet.asRanges()).isEmpty(); in testEmpty()147 assertEquals(ImmutableRangeSet.<Integer>all(), rangeSet.complement()); in testEmpty()148 assertFalse(rangeSet.contains(0)); in testEmpty()149 assertFalse(rangeSet.encloses(Range.singleton(0))); in testEmpty()150 assertTrue(rangeSet.enclosesAll(rangeSet)); in testEmpty()151 assertTrue(rangeSet.isEmpty()); in testEmpty()155 ImmutableRangeSet<Integer> rangeSet = ImmutableRangeSet.all(); in testAll() local157 assertThat(rangeSet.asRanges()).has().item(Range.<Integer>all()); in testAll()158 assertTrue(rangeSet.contains(0)); in testAll()[all …]
32 public static void testInvariants(RangeSet<?> rangeSet) { in testInvariants() argument33 testInvariantsInternal(rangeSet); in testInvariants()34 testInvariantsInternal(rangeSet.complement()); in testInvariants()37 private static <C extends Comparable> void testInvariantsInternal(RangeSet<C> rangeSet) { in testInvariantsInternal() argument38 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()55 Iterator<Range<C>> itr = rangeSet.asRanges().iterator(); in testInvariantsInternal()65 Range<C> span = rangeSet.span(); in testInvariantsInternal()
86 public static <C extends Comparable> ImmutableRangeSet<C> copyOf(RangeSet<C> rangeSet) { in copyOf() argument87 checkNotNull(rangeSet); in copyOf()88 if (rangeSet.isEmpty()) { in copyOf()90 } else if (rangeSet.encloses(Range.<C>all())) { in copyOf()94 if (rangeSet instanceof ImmutableRangeSet) { in copyOf()95 ImmutableRangeSet<C> immutableRangeSet = (ImmutableRangeSet<C>) rangeSet; in copyOf()100 return new ImmutableRangeSet<C>(ImmutableList.copyOf(rangeSet.asRanges())); in copyOf()546 private final RangeSet<C> rangeSet;549 this.rangeSet = TreeRangeSet.create();562 } else if (!rangeSet.complement().encloses(range)) {[all …]
223 RegularImmutableSortedSet<Range<K>> rangeSet = in asMapOfRanges() local225 return new RegularImmutableSortedMap<Range<K>, V>(rangeSet, values); in asMapOfRanges()
60 public static <C extends Comparable<?>> TreeRangeSet<C> create(RangeSet<C> rangeSet) { in create() argument62 result.addAll(rangeSet); in create()
6268 range_tag_set rangeSet (rawIFD, negative); in WriteDNG() local
META-INF/MANIFEST.MF META-INF/ECLIPSEF.SF META-INF/ECLIPSEF ...
META-INF/MANIFEST.MF META-INF/ META-INF/maven/ META- ...
META-INF/ META-INF/MANIFEST.MF com/ com/google/ com/ ...