java.lang.Object
io.ebean.types.Inet
- All Implemented Interfaces:
Serializable,Cloneable
An Inet address or IP address range.
The value is intentionally not validated allowing use with IpV6 internet address ranges. That is, we can use this for not only IpV4 and IpV6 internet addresses but ranges as well.
- See Also:
-
Constructor Details
-
Inet
Create with a given address.The address can contain anything with the intention of supporting ip address ranges and the like. For example,
2001:4f8:3:ba::/64and2001:4f8:3:ba:2e0:81ff:fe22:d1f1/128
-
-
Method Details
-
listOf
Return the list of Inet addresses. -
setOf
Return the set of Inet addresses. -
of
Return the Inet address.Equivalent to using the constructor and here as alternate style.
-
address
Return the address. -
getAddress
Deprecated.Deprecated migrate to address(). -
toString
-
equals
-
hashCode
public int hashCode() -
clone
- Overrides:
clonein classObject- Throws:
CloneNotSupportedException
-