-
- All Superinterfaces:
ScalarTyped
,ScalarValued
,TokenTyped
,TokenValued
- All Known Subinterfaces:
Ip6AddressInputField
,Ip6AddressValuedIterator
- All Known Implementing Classes:
Ip6AddressRegister
,Ip6AddressToken
,NullToken
public interface Ip6AddressValued extends ScalarValued
ATokenValued
object containing a ip4 address value.- See Also:
TokenTypeConstant#IP6ADDRESS
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description byte[]
asAddress()
Gets the contained raw IP6 address value.Inet6Address
asInet6Address()
Gets the contained IP address as an Inet6Address.-
Methods inherited from interface com.pervasive.datarush.tokens.scalar.ScalarValued
getType, isZero
-
Methods inherited from interface com.pervasive.datarush.tokens.TokenValued
isNull
-
-
-
-
Method Detail
-
asAddress
byte[] asAddress()
Gets the contained raw IP6 address value.- Returns:
- the contained value as a
byte[16]
. If null valued, as indicated byTokenValued.isNull()
,null
is returned.
-
asInet6Address
Inet6Address asInet6Address()
Gets the contained IP address as an Inet6Address.- Returns:
- the contained value as a
Inet6Address
. If null valued, as indicated byTokenValued.isNull()
,null
is returned.
-
-