public interface MutableIp4AddressTokenSequence extends Ip4AddressTokenSequence, MutableScalarTokenSequence
MutableTokenSequence
containing ip4address valued data.TokenTypeConstant#IP4ADDRESS
Modifier and Type | Method and Description |
---|---|
void |
append(byte[] value)
Appends the specified ip4address value to this sequence.
|
void |
append(byte[] value,
int count)
Appends the specified ip4address value to this sequence
multiple times.
|
Ip4AddressSettable |
getTokenSetter(int index)
Returns a mutator for the given index.
|
void |
set(int index,
byte[] value)
Sets the token at the specified position to the given raw ip4address value.
|
void |
set(int index,
Inet4Address value)
Sets the token at the specified position to the given Inet4Address value.
|
void |
set(int index,
int value)
Sets the token at the specified position to the given raw ip4address
value as an integer.
|
getAddress, getInetAddress, getToken, getValues, newValueIterator
ensureCanonical, getModificationCount
getType, isNull, isZero
appendNull, appendNull, appendZero, appendZero, fillValue, reset, setNull, setNull, setValue, setValues, setZero, setZero
compareElement, compareElements, getElementComparator, hashCode, isNull, size, toString
append, append, append, append
void append(byte[] value)
A copy of the input will be made.
value
- the value to append. If null
,
this is equivalent to appendNull()
.void append(byte[] value, int count)
A copy of the input will be made.
value
- the value to append. If null
,
this is equivalent to appendNull(count)
.count
- the number of copies to append.void set(int index, int value)
index
- the position of the token in the arrayvalue
- the ip4address as an integer to which to set the token.
Passing null
is equivalent to calling setNull(index)
.void set(int index, byte[] value)
index
- the position of the token in the arrayvalue
- the raw ip4address value to which to set the token.
Passing null
is equivalent to calling setNull(index)
.void set(int index, Inet4Address value)
index
- the position of the token in the arrayvalue
- the Inet4Address value to which to set the token.
Passing null
is equivalent to calling setNull(index)
.Ip4AddressSettable getTokenSetter(int index)
MutableTokenSequence
getTokenSetter
in interface MutableScalarTokenSequence
getTokenSetter
in interface MutableTokenSequence
index
- the positionCopyright © 2020 Actian Corporation. All rights reserved.