Interface Elements<E>

    • Method Detail

      • iterator

        java.util.Iterator<E> iterator​()
        Returns an Iterator instance of all the data elements contained in the Elements (collection). ------------------------------------------------------------------------- ATTENTION: The Iterator.remove() method may be disabled in the returned Iterator instance as the Elements is supposed to be read-only.
        Returns:
        A (read-only) Iterator providing the elements of the Elements.
      • contains

        boolean contains​(java.lang.Object aElement)
        Tests whether the specified object is an element of the Elements (collection). Returns true if this Elements contains the specified element. More formally, returns true if and only if this Elements contains an element e such that (obj==null ? e==null : obj.equals(e))
        Parameters:
        aElement - The object to be tested whether it is contained in this Elements or not.
        Returns:
        Description True in case the given object is contained in this Elements.