Package ru.bitel.common.inet
Class IpAddressRangeSet2<R>
java.lang.Object
ru.bitel.common.inet.IpAddressRangeSet2<R>
-
Constructor Summary
ConstructorDescriptionIpAddressRangeSet2
(Class<R> clazz, ru.bitel.common.util.Ranger<R, byte[]> ranger, boolean bites, int maskLength) -
Method Summary
Modifier and TypeMethodDescriptionvoid
void
boolean
contains
(byte[] address) boolean
static <K extends IpRange>
IpAddressRangeSet2<K>newInstance
(Class<K> clazz, int maskLength) void
void
protected byte[]
segmentKey
(byte[] address) protected IpAddress
segmentKey
(R range)
-
Constructor Details
-
IpAddressRangeSet2
-
-
Method Details
-
newInstance
-
segmentKey
-
segmentKey
protected byte[] segmentKey(byte[] address) -
get
-
get
-
addAll
-
removeAll
-
add
-
remove
-
contains
public boolean contains(byte[] address) -
contains
-