Schnittstelle IArrayList<E>

Typparameter:
E - is the type of the elements of a IArrayList.
Alle Superschnittstellen:
AggregationRequestable<E>, ArrayMappable<E>, Clearable, Copyable<IArrayList<E>>, CountRequestable<E>, EmptinessRequestable, Filterable<E>, Groupable<E>, IContainer<E>, IFilteringContainerViewProvider<E>, IIntervallContainerViewProvider<E>, IMappingContainerViewProvider<E>, IndexRequestable<E>, Iterable<E>, IterableWithCopyableIterator<E>, Mappable<E>, MaterializationRequestable, SingleSearchable<E>, StoringRequestable<E>, StringMappable
Alle bekannten Implementierungsklassen:
ArrayList

public interface IArrayList<E> extends Clearable, Copyable<IArrayList<E>>, IContainer<E>
A IArrayList is a IContainer that can add and remove elements.
Version:
2024-01-30
Autor:
Silvan Wyss
  • Methodendetails

    • addAtEnd

      void addAtEnd(E element)
      Adds the given element at the end of the current IArrayList.
      Parameter:
      element -
      Löst aus:
      RuntimeException - if the given elements is null.
    • addAtEnd

      void addAtEnd(E element, E... elements)
      Adds the given given elements at the end of the current IArrayList. The elements will be added in the given order.
      Parameter:
      element -
      elements -
      Löst aus:
      RuntimeException - if the given element is null.
      RuntimeException - if the given elements is null.
      RuntimeException - if one of the given elements is null.
    • addAtEnd

      void addAtEnd(E[] elements)
      Adds the given elements at the end of the current IArrayList. The elements will be added in the given order.
      Parameter:
      elements -
      Löst aus:
      RuntimeException - if the given elements is null.
      RuntimeException - if one of the given elements is null.
    • addAtEnd

      void addAtEnd(Iterable<? extends E> elements)
      Adds the given elements at the end of the current IArrayList. The elements will be added in the given order.
      Parameter:
      elements -
      Löst aus:
      RuntimeException - if the given elements is null.
      RuntimeException - if one of the given elements is null.