Module datarush.library
Interface MutableIp4AddressTokenSequence
- All Superinterfaces:
Ip4AddressTokenSequence,MutableScalarTokenSequence,MutableTokenSequence,ScalarTokenAppendable,ScalarTokenSequence,ScalarTyped,TokenAppendable,TokenSequence,TokenTyped
- All Known Implementing Classes:
Ip4AddressTokenList,SparseIp4AddressTokenList
public interface MutableIp4AddressTokenSequence
extends Ip4AddressTokenSequence, MutableScalarTokenSequence
A
MutableTokenSequence containing ip4address valued data.- See Also:
-
TokenTypeConstant#IP4ADDRESS
-
Method Summary
Modifier and TypeMethodDescriptionvoidappend(byte[] value) Appends the specified ip4address value to this sequence.voidappend(byte[] value, int count) Appends the specified ip4address value to this sequence multiple times.getTokenSetter(int index) Returns a mutator for the given index.voidset(int index, byte[] value) Sets the token at the specified position to the given raw ip4address value.voidset(int index, int value) Sets the token at the specified position to the given raw ip4address value as an integer.voidset(int index, Inet4Address value) Sets the token at the specified position to the given Inet4Address value.Methods inherited from interface com.pervasive.datarush.sequences.scalar.Ip4AddressTokenSequence
getAddress, getInetAddress, getToken, getValues, newValueIteratorMethods inherited from interface com.pervasive.datarush.sequences.scalar.MutableScalarTokenSequence
ensureCanonical, getModificationCountMethods inherited from interface com.pervasive.datarush.sequences.MutableTokenSequence
appendNull, appendNull, appendZero, appendZero, fillValue, reset, setNull, setNull, setValue, setValues, setZero, setZeroMethods inherited from interface com.pervasive.datarush.sequences.scalar.ScalarTokenSequence
getType, isNull, isZeroMethods inherited from interface com.pervasive.datarush.sequences.TokenAppendable
append, append, append, appendMethods inherited from interface com.pervasive.datarush.sequences.TokenSequence
compareElement, compareElements, getElementComparator, hashCode, isNull, size, toString
-
Method Details
-
append
void append(byte[] value) Appends the specified ip4address value to this sequence.A copy of the input will be made.
- Parameters:
value- the value to append. Ifnull, this is equivalent toappendNull().
-
append
void append(byte[] value, int count) Appends the specified ip4address value to this sequence multiple times.A copy of the input will be made.
- Parameters:
value- the value to append. Ifnull, this is equivalent toappendNull(count).count- the number of copies to append.
-
set
void set(int index, int value) Sets the token at the specified position to the given raw ip4address value as an integer.- Parameters:
index- the position of the token in the arrayvalue- the ip4address as an integer to which to set the token. Passingnullis equivalent to callingsetNull(index).
-
set
void set(int index, byte[] value) Sets the token at the specified position to the given raw ip4address value.- Parameters:
index- the position of the token in the arrayvalue- the raw ip4address value to which to set the token. Passingnullis equivalent to callingsetNull(index).
-
set
Sets the token at the specified position to the given Inet4Address value.- Parameters:
index- the position of the token in the arrayvalue- the Inet4Address value to which to set the token. Passingnullis equivalent to callingsetNull(index).
-
getTokenSetter
Description copied from interface:MutableTokenSequenceReturns a mutator for the given index.- Specified by:
getTokenSetterin interfaceMutableScalarTokenSequence- Specified by:
getTokenSetterin interfaceMutableTokenSequence- Parameters:
index- the position- Returns:
- a mutator for the given index.
-