public interface CustomGroupValue<E>
Modifier and Type | Method and Description |
---|---|
void |
addValue(E value)
Appends the specified value to the end of this group.
|
void |
addValue(E value,
int position)
Inserts the specified value at the specified position in this group.
|
E |
getValue(int position)
Returns the value in the group at the specified position.
|
List<E> |
getValues()
Returns all the values in the group.
|
E |
removeValue(int position)
Removes the value at the specified position in this group.
|
int |
size()
Returns the number of values of the group value.
|
int size()
E getValue(int position)
position
- index of element to return.IndexOutOfBoundsException
- if the index is out of range (index < 0 || index >=
size()).List<E> getValues()
void addValue(E value, int position)
position
- index at which the specified value is to be inserted.value
- value to be inserted.IndexOutOfBoundsException
- if the index is out of range (index < 0 || index >
size()).void addValue(E value)
value
- element to be appended to this group.E removeValue(int position)
position
- the index of the value to removed.IndexOutOfBoundsException
- if the index is out of range (index < 0 || index >=
size()).Copyright © 2023 Denodo Technologies. All rights reserved.