public interface Ip4AddressValued extends ScalarValued
TokenValued
object containing a ip4 address value.TokenTypeConstant#IP4ADDRESS
Modifier and Type | Method and Description |
---|---|
byte[] |
asAddress()
Gets the contained raw IPv4 address value.
|
Inet4Address |
asInet4Address()
Gets the contained IP address as an Inet4Address.
|
getType, isZero
isNull
byte[] asAddress()
byte[4]
. If null valued,
as indicated by TokenValued.isNull()
, null
is returned.Inet4Address asInet4Address()
Inet4Address
. If null valued,
as indicated by TokenValued.isNull()
, null
is returned.Copyright © 2020 Actian Corporation. All rights reserved.