org.eclipse.ocl.pivot.internal.values

Class SequenceValueImpl

Specified by:
subSequence in interface SequenceValue
Parameters:
lower - the 1-based (in OCL fashion) inclusive lower bound
upper - the 1-based (in OCL fashion) inclusive upper bound
Returns:
the source collection with the object inserted at the index
Throws:
java.lang.IndexOutOfBoundsException - if an index is out of bounds
java.lang.IllegalArgumentException - if the lower bound is greater than the upper