Package org.wildfly.common.net
Class CidrAddressTable.Mapping<T>
- java.lang.Object
-
- org.wildfly.common.net.CidrAddressTable.Mapping<T>
-
- Type Parameters:
T
- the value type
- Enclosing class:
- CidrAddressTable<T>
public static final class CidrAddressTable.Mapping<T> extends java.lang.Object
A single mapping in the table.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CidrAddressTable.Mapping<T>
getParent()
Get the parent of this entry, if any.CidrAddress
getRange()
Get the address range of this entry.T
getValue()
Get the stored value of this entry.
-
-
-
Method Detail
-
getRange
public CidrAddress getRange()
Get the address range of this entry.- Returns:
- the address range of this entry (not
null
)
-
getValue
public T getValue()
Get the stored value of this entry.- Returns:
- the stored value of this entry
-
getParent
public CidrAddressTable.Mapping<T> getParent()
Get the parent of this entry, if any.- Returns:
- the parent of this entry, or
null
if there is no parent
-
-