Package org.eolang

Class AtomSafe

  • All Implemented Interfaces:
    Atom

    public final class AtomSafe
    extends Object
    implements Atom
    Atom that catches exceptions.
    Since:
    0.36.0
    • Constructor Detail

      • AtomSafe

        public AtomSafe​(Atom atom)
        Ctor.
        Parameters:
        atom - Original atom.
    • Method Detail

      • lambda

        public Phi lambda()
        Description copied from interface: Atom
        Executes λ function and calculates object.
        Specified by:
        lambda in interface Atom
        Returns:
        Object calculated from λ function.