Class DirectivesValue
- java.lang.Object
-
- org.eolang.jeo.representation.directives.DirectivesValue
-
-
Constructor Summary
Constructors Constructor Description DirectivesValue(int index, Format format, T data)Constructor.DirectivesValue(Format format, String name, String as, BytecodeValue value)Constructor.DirectivesValue(Format format, String name, String as, T data)Constructor.DirectivesValue(Format format, String name, BytecodeValue value)Constructor.DirectivesValue(Format format, String name, T data)Constructor.DirectivesValue(Format format, NumName name, T data)Constructor.DirectivesValue(T data)Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Stringhex(Codec codec)Value of the data.Iterator<org.xembly.Directive>iterator()Iterator of directives.-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface java.lang.Iterable
forEach, spliterator
-
-
-
-
Constructor Detail
-
DirectivesValue
public DirectivesValue(T data)
Constructor.- Type Parameters:
T- Data type.- Parameters:
data- Data.
-
DirectivesValue
public DirectivesValue(int index, Format format, T data)Constructor.- Type Parameters:
T- Data type.- Parameters:
index- Ordered index.format- Directives format.data- Data.
-
DirectivesValue
public DirectivesValue(Format format, NumName name, T data)
Constructor.- Type Parameters:
T- Data type.- Parameters:
format- Directives format.name- Name.data- Data.
-
DirectivesValue
public DirectivesValue(Format format, String name, T data)
Constructor.- Type Parameters:
T- Data type.- Parameters:
format- Directives format.name- Name.data- Data.
-
DirectivesValue
public DirectivesValue(Format format, String name, String as, T data)
Constructor.- Type Parameters:
T- Data type.- Parameters:
format- Directives format.name- Name.as- The 'as' attribute of the object.data- Data.- Suppressed Checkstyle violations:
- ParameterNumberCheck (5 lines), ParameterNameCheck (5 lines)
-
DirectivesValue
public DirectivesValue(Format format, String name, BytecodeValue value)
Constructor.- Parameters:
format- Format.name- Name.value- Value.
-
DirectivesValue
public DirectivesValue(Format format, String name, String as, BytecodeValue value)
Constructor.- Parameters:
format- Format.name- Name.as- The 'as' attribute of the object.value- Value.- Suppressed Checkstyle violations:
- ParameterNumberCheck (5 lines), ParameterNameCheck (5 lines)
-
-
Method Detail
-
iterator
public Iterator<org.xembly.Directive> iterator()
Iterator of directives.
-
-