Package | Description |
---|---|
fucksocks.common |
Modifier and Type | Method and Description |
---|---|
IP |
IPRange.getEndIP()
Returns end IP address.
|
IP |
IPRange.getStartIP()
Returns starting IP address.
|
static IP |
IP.MAX_IP()
Gets max IP which represents 255.255.255.255].
|
static IP |
IP.MIN_IP()
Gets minimum IP which represents 0.0.0.0.
|
IP |
IPIterator.next() |
IP |
IP.nextIP()
Gets next IP address.
|
static IP |
IP.parseFromString(String ip)
Creates a IP instance by a string.
|
IP |
IP.preIP()
Gets previous IP address.
|
Modifier and Type | Method and Description |
---|---|
Iterator<IP> |
IPRange.iterator() |
Modifier and Type | Method and Description |
---|---|
int |
IP.compareTo(IP ip) |
boolean |
IPRange.contains(IP ip)
Returns
true if the given IP is in the IP range. |
List<IPRange> |
IPRange.split(IP ip)
Split IP address range by a IP address.
|
Constructor and Description |
---|
IPIterator(IP startIP,
IP endIP)
Constructs an instance of
IPIterator with tow IP address. |
IPRange(IP startIp,
IP endIp)
Constructs a
IpRange instance by given tow IP. |
Copyright © 2015. All rights reserved.