Class XmirSwap

  • All Implemented Interfaces:
    Xmir

    public final class XmirSwap
    extends Object
    Xmir swap. Depends on given condition behaves like one of given Xmirs.
    Since:
    0.35.0
    • Constructor Detail

      • XmirSwap

        public XmirSwap​(boolean condition,
                        Xmir first,
                        Xmir second)
        Ctor.
        Parameters:
        condition - Take first Xmir or not.
        first - First Xmir.
        second - Second Xmir.
    • Method Detail

      • toEO

        public String toEO()
        Description copied from interface: Xmir
        Converts XMIR to EO.
        Specified by:
        toEO in interface Xmir
        Returns:
        EO representation as String