Package org.eolang.ineo.instructions
Class InstWrap<T>
- java.lang.Object
-
- org.eolang.ineo.instructions.InstWrap<T>
-
- Type Parameters:
T- Type of instructions
- All Implemented Interfaces:
Iterable<org.xembly.Directive>,Instructions<T>
- Direct Known Subclasses:
InstAttributes,InstCages,InstFromList,InstMethods,InstObject,InstOwnMethods,InstReplaced,InstReplacedAttributes,InstReplacedMethods
public abstract class InstWrap<T> extends Object implements Instructions<T>
Wrapper for the instructions.- Since:
- 0.0.1
-
-
Constructor Summary
Constructors Constructor Description InstWrap(Instructions<T> instructions)Ctor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Instructions<T>add(T value)Add node.Iterator<org.xembly.Directive>iterator()StringtoString()-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface java.lang.Iterable
forEach, spliterator
-
-
-
-
Constructor Detail
-
InstWrap
public InstWrap(Instructions<T> instructions)
Ctor.- Parameters:
instructions- Instructions
-
-
Method Detail
-
add
public Instructions<T> add(T value)
Description copied from interface:InstructionsAdd node.- Specified by:
addin interfaceInstructions<T>- Parameters:
value- Value to add- Returns:
- Self
-
iterator
public Iterator<org.xembly.Directive> iterator()
-
-