Interface PsyAppendable<T extends PsyObject>

    • Method Detail

      • psyAppend

        void psyAppend​(T o)
                throws PsyException
        Appends a given Ψ-object to this container.
        Parameters:
        o - a given Ψ-object to append.
        Throws:
        PsyException - when an error occurs.
      • psyAppendAll

        default void psyAppendAll​(PsyIterable<? extends T> oEnumeration)
                           throws PsyException
        Appends all the Ψ-objects from a given Ψ-iterable enumeration to this container. When a given enumeration is the same as this container, first clone the enumeration, and then appends all the elements from the clone to avoid concurrent modification.
        Parameters:
        oEnumeration - a Ψ-iterable enumeration.
        Throws:
        PsyException - when an error occurs.