Interface PsyFormalSet<T extends PsyObject>

    • Method Detail

      • psyRemove

        void psyRemove​(T o)
        Removes an object from this set. If a given object is not present in this set, error does not occur.
        Parameters:
        o - an 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 - an iterable enumeration.
      • psyContains

        PsyBoolean psyContains​(T o)
        Returns a boolean object indicating whether a given object belongs to this set.
        Parameters:
        o - an 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 PsyErrorException
        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 - an iterable enumeration.
        Throws:
        PsyErrorException - when an error occurs.
      • psyIntersects

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

        default String toSyntaxStringHelper​(PsyLengthy oLengthy)