Methods
-
<abstract> add(element)
-
Add an element at the end of the list.
Parameters:
Name Type Description element
T The element to add.
-
<abstract> clear()
-
Clears the list by removing all its elements.
-
<abstract> forEach()
-
-
<abstract> forEachCurrentValue()
-
-
<abstract> forEachLimited()
-
-
<abstract> get()
-
-
<abstract> getAt()
-
-
<abstract> getCurrent()
-
-
<abstract> getCurrentAt()
-
-
<abstract> getCurrentKeyAt()
-
-
<abstract> getCurrentRank()
-
-
<abstract> getCurrentSize()
-
-
<abstract> getFirst()
-
-
<abstract> getFirstKey()
-
-
<abstract> getKeyAt()
-
-
<abstract> getKeys()
-
-
<abstract> getRank()
-
-
<abstract> getSize()
-
-
<abstract> getValueType()
-
-
<abstract> has()
-
-
<abstract> hasCurrent()
-
-
<abstract> insert(index, element)
-
Inserts an element at the given index. The elements already present at the given index and above are shifted up.
Parameters:
Name Type Description index
number The insertion index.
element
T The element to insert.
-
<abstract> remove(index)
-
Deletes the index-th element of the list. The deleted element is returned. Element(s) present at higher indexes are shifted down.
Parameters:
Name Type Description index
number The index of the element to remove.
Returns:
The removed element.
- Type
- olympe.df.Proxy.<T> | T
-
<abstract> set(index, element)
-
Set the index-th element of the list to element. The existing element at this index, if any, is returned.
Parameters:
Name Type Description index
number The index.
element
T The element
Returns:
The element.
- Type
- olympe.df.Proxy.<T> | T
-
<abstract> setValueType()
-