Interface Elements.MutableElements<E>

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      boolean add​(E aElement)
      Same as Collection.add(Object).
      java.util.Iterator<E> iterator​()
      Returns an Iterator instance of all the data elements contained in the container (collection). --------------------------------------------------------------------- ATTENTION: The Iterator.remove() method is enabled in the returned Iterator instance as the Elements.MutableElements is possibly readable and writable.
      boolean remove​(java.lang.Object aElement)
      Same as Collection.remove(Object).
    • Method Detail

      • add

        boolean add​(E aElement)
        Same as Collection.add(Object).
        Parameters:
        aElement - the element whose presence in this collection is to be ensured
        Returns:
        True if this collection changed as a result of the call
        See Also:
        Collection.add(Object)
      • remove

        boolean remove​(java.lang.Object aElement)
        Same as Collection.remove(Object).
        Parameters:
        aElement - The element to be removed from this collection, if present
        Returns:
        True if an element was removed as a result of this call.
        See Also:
        Collection.remove(Object)
      • iterator

        java.util.Iterator<E> iterator​()
        Returns an Iterator instance of all the data elements contained in the container (collection). --------------------------------------------------------------------- ATTENTION: The Iterator.remove() method is enabled in the returned Iterator instance as the Elements.MutableElements is possibly readable and writable.
        Specified by:
        iterator in interface Elements<E>
        Returns:
        A (writable) Iterator providing the elements of the Elements (possibly with the Iterator.remove() method being enabled).