- All Superinterfaces:
BaseSeq<T>,Iterable<T>,RandomAccess
- All Known Implementing Classes:
Array
General base interface for an ordered, fixed sized, mutable, object sequence.
- Since:
- 5.2
- Version:
- 5.2
-
Method Summary
Methods inherited from interface io.jenetics.util.BaseSeq
forEach, get, isEmpty, iterator, length, listIterator, nonEmpty, spliterator, stream
-
Method Details
-
set
Set thevalueat the givenindex.- Parameters:
index- the index of the new value.value- the new value.- Throws:
IndexOutOfBoundsException- if the index is out of range(index < 0 || index >= size()).
-