@Test public void testCreationFromStringNull() { assertThat(IntegerSpace.create(null), equalTo(EMPTY)); assertThat(IntegerSpace.Builder.create(null).build(), equalTo(EMPTY)); }
@JsonCreator @VisibleForTesting static @Nonnull IntegerSpace create(@Nullable String s) { return IntegerSpace.Builder.create(s).build(); }
IntegerSpace extends NumberSpace<Integer, IntegerSpace, IntegerSpace.Builder> { @JsonCreator @VisibleForTesting static @Nonnull IntegerSpace create(@Nullable String s) { return IntegerSpace.Builder.create(s).build(); } }
IntegerSpace extends NumberSpace<Integer, IntegerSpace, IntegerSpace.Builder> { @JsonCreator @VisibleForTesting static @Nonnull IntegerSpace create(@Nullable String s) { return IntegerSpace.Builder.create(s).build(); } protected  IntegerSpace(RangeSet<Integer> rangeset); }
IntegerSpace extends NumberSpace<Integer, IntegerSpace, IntegerSpace.Builder> { @JsonCreator @VisibleForTesting static @Nonnull IntegerSpace create(@Nullable String s) { return IntegerSpace.Builder.create(s).build(); } protected  IntegerSpace(RangeSet<Integer> rangeset); static @Nonnull IntegerSpace parse(String s); @Nonnull Set<SubRange> getSubRanges(); @Override @Nonnull SortedSet<Integer> enumerate(); @Nonnull IntStream intStream(); static @Nonnull IntegerSpace of(SubRange range); static @Nonnull IntegerSpace unionOf(IntegerSpace... spaces); static @Nonnull IntegerSpace unionOf(SubRange... subRanges); @SafeVarargs @SuppressWarnings("varargs") static @Nonnull IntegerSpace unionOf(Range<Integer>... ranges); static IntegerSpace unionOf(Iterable<Range<Integer>> ranges); static IntegerSpace unionOfSubRanges(Iterable<SubRange> subRanges); static IntegerSpace of(Range<Integer> range); static IntegerSpace of(RangeSet<Integer> rangeSet); static IntegerSpace of(int value); static @Nonnull Builder builder(); }
IntegerSpace extends NumberSpace<Integer, IntegerSpace, IntegerSpace.Builder> { @JsonCreator @VisibleForTesting static @Nonnull IntegerSpace create(@Nullable String s) { return IntegerSpace.Builder.create(s).build(); } protected  IntegerSpace(RangeSet<Integer> rangeset); static @Nonnull IntegerSpace parse(String s); @Nonnull Set<SubRange> getSubRanges(); @Override @Nonnull SortedSet<Integer> enumerate(); @Nonnull IntStream intStream(); static @Nonnull IntegerSpace of(SubRange range); static @Nonnull IntegerSpace unionOf(IntegerSpace... spaces); static @Nonnull IntegerSpace unionOf(SubRange... subRanges); @SafeVarargs @SuppressWarnings("varargs") static @Nonnull IntegerSpace unionOf(Range<Integer>... ranges); static IntegerSpace unionOf(Iterable<Range<Integer>> ranges); static IntegerSpace unionOfSubRanges(Iterable<SubRange> subRanges); static IntegerSpace of(Range<Integer> range); static IntegerSpace of(RangeSet<Integer> rangeSet); static IntegerSpace of(int value); static @Nonnull Builder builder(); static final IntegerSpace EMPTY; static final IntegerSpace PORTS; }