public abstract class AbstractIpRange<C extends AbstractIp<C,R>,R extends AbstractIpRange<C,R>> extends AbstractRange<C,R> implements InternetResourceRange<C,R>
AbstractRange.AbstractRangeBuilder<C extends Rangeable<C,R>,R extends AbstractRange<C,R>>| Modifier and Type | Field and Description |
|---|---|
protected static String |
DASH |
protected static String |
DASH_WITH_SPACES |
protected static String |
SLASH |
| Modifier | Constructor and Description |
|---|---|
protected |
AbstractIpRange(C start,
C end) |
| Modifier and Type | Method and Description |
|---|---|
protected abstract R |
newInstance(BigInteger start,
BigInteger end) |
List<R> |
splitToPrefixes() |
String |
toString() |
String |
toStringInCidrNotation() |
String |
toStringInDecimalNotation() |
String |
toStringInRangeNotation() |
String |
toStringInRangeNotationWithSpaces() |
contains, contains, end, equals, exclude, hashCode, intersection, isConsecutive, isEmpty, isSameRange, iterator, merge, newInstance, overlaps, startclone, finalize, getClass, notify, notifyAll, wait, wait, waitsizecontains, contains, end, exclude, intersection, isConsecutive, isEmpty, isSameRange, merge, overlaps, startforEach, iterator, spliteratorprotected static final String SLASH
protected static final String DASH
protected static final String DASH_WITH_SPACES
protected abstract R newInstance(BigInteger start, BigInteger end)
public String toString()
toString in class AbstractRange<C extends AbstractIp<C,R>,R extends AbstractIpRange<C,R>>public String toStringInRangeNotation()
public String toStringInRangeNotationWithSpaces()
public String toStringInCidrNotation()
public String toStringInDecimalNotation()
Copyright © 2016. All rights reserved.