Interface IArrayList<E>

Type Parameters:
E - the type of the elements of a IArrayList.
All Superinterfaces:
AggregationRequestable<E>, ArrayMappable<E>, Clearable, Copyable<IArrayList<E>>, CountRequestable<E>, EmptinessRequestable, ExtendedIterable<E>, Filterable<E>, FilteringContainerViewProvider<E>, Groupable<E>, IAppendableList<E>, IndexRequestable<E>, IntervallContainerViewProvider<E>, Iterable<E>, IterableWithCopyableIterator<E>, Mappable<E>, MappingContainerViewProvider<E>, MaterializationRequestable, SingleSearchable<E>, StoringRequestable<E>, StringMappable
All Known Implementing Classes:
ArrayList

public interface IArrayList<E> extends Clearable, Copyable<IArrayList<E>>, IAppendableList<E>, ExtendedIterable<E>
A IArrayList is a ExtendedIterable that can add and remove elements.
Author:
Silvan Wyss
  • Method Details

    • insertAtOneBasedIndex

      void insertAtOneBasedIndex(int oneBasedIndex, E element)
      Adds the given element at the given oneBasedIndex
      Parameters:
      oneBasedIndex -
      element -
      Throws:
      RuntimeException - if the given oneBasedIndex is not positive or bigger than the one-incremented number of the elements of the current IArrayList.
      RuntimeException - if the given elements is null.