Interface PsySetlike<T extends PsyObject>

    • Method Detail

      • psyRemove

        void psyRemove​(T o)
        Removes a Ψ-object from this set. If a given object is not present in this set, error does not occur.
        Parameters:
        o - a given Ψ-object.
      • psyRemoveAll

        default void psyRemoveAll​(PsyIterable<? extends T> oEnumeration)
        Removes all the Ψ-objects in a given Ψ-iterable enumeration from this set. If some object is not present in this set, error does not occur.
        Parameters:
        oEnumeration - a given Ψ-iterable enumeration.
      • psyContains

        PsyBoolean psyContains​(T o)
        Returns a Ψ-boolean object indicating whether a given Ψ- object belongs to this set.
        Parameters:
        o - a given Ψ-object.
        Returns:
        PsyBoolean.TRUE, if an object belongs to this set, and PsyBoolean.FALSE otherwise.
      • psyClear

        default void psyClear()
        Removes all the elements from this set.
        Specified by:
        psyClear in interface PsyClearable
      • psyAppendAll

        default void psyAppendAll​(PsyIterable<? extends T> oEnumeration)
                           throws PsyException
        Appends all the Ψ-objects from a given Ψ-iterable enumeration to this set. When a given enumeration is the same as this set, first clone the enumeration, and then appends all the elements from the clone.
        Specified by:
        psyAppendAll in interface PsyAppendable<T extends PsyObject>
        Parameters:
        oEnumeration - a Ψ-iterable enumeration.
        Throws:
        PsyException - when an error occurs.
      • psyIntersects

        default PsyBoolean psyIntersects​(PsySetlike<? extends T> oSet)
        Returns a Ψ-boolean object indicating whether a given Ψ- setlike set intersects with this set.
        Parameters:
        oSet - a given Ψ-setlike set.
        Returns:
        PsyBoolean.TRUE, if a given Ψ-setlike set intersects with this set, and PsyBoolean.FALSE otherwise.
      • toSyntaxStringHelper

        default String toSyntaxStringHelper​(PsyLengthy oLengthy)