Interface XProcessingSet<E>

    • Method Detail

      • immure

        XImmutableSet<E> immure()
        Description copied from interface: XGettingCollection
        Provides an instance of an immutable collection type with equal behavior and data as this instance.

        If this instance already is of an immutable collection type, it returns itself.

        Specified by:
        immure in interface XGettingCollection<E>
        Specified by:
        immure in interface XGettingSet<E>
        Returns:
        an immutable copy of this collection instance.
      • copy

        XProcessingSet<E> copy()
        Description copied from interface: XGettingCollection
        Creates a true copy of this collection which references the same elements as this collection does at the time the method is called. The elements themselves are NOT copied (no deep copying).
        The type of the returned set is the same as of this list if possible.
        Specified by:
        copy in interface Copyable
        Specified by:
        copy in interface XGettingCollection<E>
        Specified by:
        copy in interface XGettingSet<E>
        Returns:
        a copy of this list