Class DirectivesWithoutComments
- java.lang.Object
-
- org.eolang.jeo.representation.directives.DirectivesWithoutComments
-
- All Implemented Interfaces:
Iterable<org.xembly.Directive>
public final class DirectivesWithoutComments extends Object implements Iterable<org.xembly.Directive>
Directives without comments.This class provides an iterable collection of directives that excludes comments.
Note: In case of performance issues, we can invert this class and implement DirectivesWithComments that will add comments to the directives.
- Since:
- 0.11.0
-
-
Constructor Summary
Constructors Constructor Description DirectivesWithoutComments(Iterable<org.xembly.Directive> directives)
Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Iterator<org.xembly.Directive>
iterator()
-
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
-
DirectivesWithoutComments
public DirectivesWithoutComments(Iterable<org.xembly.Directive> directives)
Constructor.- Parameters:
directives
- Iterable of directives.
-
-