public class IP extends Object implements Comparable<IP>, Serializable
| Constructor and Description |
|---|
IP(byte[] bytes) |
IP(InetAddress ip) |
| Modifier and Type | Method and Description |
|---|---|
int |
compareTo(IP other) |
boolean |
equals(Object o) |
byte[] |
getBytes() |
int |
hashCode() |
boolean |
isGreaterThan(IP other) |
boolean |
isGreaterThanOrEqual(IP other) |
boolean |
isLowerThan(IP other) |
boolean |
isLowerThanOrEqual(IP other) |
public IP(@Nonnull byte[] bytes)
public IP(@Nonnull InetAddress ip)
public byte[] getBytes()
public boolean isLowerThan(IP other)
public boolean isGreaterThan(IP other)
public boolean isLowerThanOrEqual(IP other)
public boolean isGreaterThanOrEqual(IP other)
public int compareTo(@Nonnull IP other)
compareTo in interface Comparable<IP>Copyright © 2021. All rights reserved.