public interface CustomArrayValue
CustomRecordValue
.Modifier and Type | Method and Description |
---|---|
void |
addValue(CustomRecordValue value)
Appends the specified
CustomRecordValue to the end of this array. |
void |
addValue(CustomRecordValue value,
int position)
Inserts the specified
CustomRecordValue at the specified position
in this array. |
CustomRecordValue |
getValue(int position)
Returns the element at the specified position in this array.
|
List<CustomRecordValue> |
getValues()
Obtains all the values in the array.
|
CustomRecordValue |
removeValue(int position)
Removes the element at the specified position in this array.
|
int |
size()
Method to obtain the length of the array.
|
int size()
CustomRecordValue getValue(int position)
position
- index of element to return.IndexOutOfBoundsException
- if the index is out of range (index < 0 || index >=
size()).List<CustomRecordValue> getValues()
List
of all the values in the array.void addValue(CustomRecordValue value, int position)
CustomRecordValue
at the specified position
in this array. Shifts the element currently at that position (if any) and
any subsequent elements to the right.position
- index at which the specified element is to be inserted.value
- element to be inserted.IndexOutOfBoundsException
- if the index is out of range (index < 0 || index >
size()).void addValue(CustomRecordValue value)
CustomRecordValue
to the end of this array.
value
- element to be appended to this array.CustomRecordValue removeValue(int position)
position
- the index of the element to removed.IndexOutOfBoundsException
- if the index is out of range (index < 0 || index >=
size()).Copyright © 2023 Denodo Technologies. All rights reserved.