Package io.smallrye.common.net
Class CidrAddressTable.Mapping<T>
- java.lang.Object
-
- io.smallrye.common.net.CidrAddressTable.Mapping<T>
-
- Type Parameters:
T- the value type
- Enclosing class:
- CidrAddressTable<T>
public static final class CidrAddressTable.Mapping<T> extends 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.CidrAddressgetRange()Get the address range of this entry.TgetValue()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
nullif there is no parent
-
-