Skip navigation links
org.eclipse.ocl.util

Class CollectionUtil

Parameters:
self - the source sequence
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:
IndexOutOfBoundsException - if an index is out of bounds
IllegalArgumentException - if the lower bound is greater than the upper
Skip navigation links

Copyright © 2005, 2018 IBM Corporation and others. All Rights Reserved.