public class IpAddressRangeSet<R> extends ru.bitel.common.util.SegmentedRangeSet<IpAddress,byte[],R>
Modifier and Type | Class and Description |
---|---|
static class |
IpAddressRangeSet.IpAddressSegmenter<R> |
static class |
IpAddressRangeSet.IpRanger<R extends IpRange> |
Modifier and Type | Field and Description |
---|---|
protected static java.util.Comparator<byte[]> |
COMPARATOR |
protected IpAddressRangeSet.IpAddressSegmenter<R> |
segmenter |
Constructor and Description |
---|
IpAddressRangeSet(java.lang.Class<R> clazz,
ru.bitel.common.util.Ranger<R,byte[]> ranger,
boolean bites,
int maskLength) |
Modifier and Type | Method and Description |
---|---|
static <K extends IpRange> |
newInstance(java.lang.Class<K> clazz,
int maskLength) |
protected static final java.util.Comparator<byte[]> COMPARATOR
protected final IpAddressRangeSet.IpAddressSegmenter<R> segmenter
public static <K extends IpRange> IpAddressRangeSet<K> newInstance(java.lang.Class<K> clazz, int maskLength)