public class IpAddressRangeSetEntry<R> extends ru.bitel.common.util.SegmentedRangeSet<IpAddress,byte[],R>
Modifier and Type | Class and Description |
---|---|
static class |
IpAddressRangeSetEntry.IpAddressSegmenter<R> |
Modifier and Type | Field and Description |
---|---|
protected static java.util.Comparator<byte[]> |
COMPARATOR |
protected IpAddressRangeSetEntry.IpAddressSegmenter<R> |
segmenter |
Constructor and Description |
---|
IpAddressRangeSetEntry(java.lang.Class<R> clazz,
ru.bitel.common.util.Ranger<R,byte[]> ranger,
boolean bites,
int maskLength) |
Modifier and Type | Method and Description |
---|---|
void |
addAll(IpAddress key,
java.util.Set<R> set) |
R |
get(IpAddress segment,
byte[] key) |
R |
get(IpAddress segmentKey,
byte[] key,
ru.bitel.common.util.Matcher<R> matcher) |
ru.bitel.common.util.RangeSet2<R,byte[]> |
notSegmented() |
void |
removeAll(IpAddress key,
java.util.Set<R> set) |
ru.bitel.common.util.RangeSet2<R,byte[]> |
segment(IpAddress segmentKey) |
protected static final java.util.Comparator<byte[]> COMPARATOR
protected final IpAddressRangeSetEntry.IpAddressSegmenter<R> segmenter