Package org.sonar.plugins.jcl.api.tree
Interface SeparatedList<T extends JclTree,U extends JclTree>
Represents a sequence of objects T that are separated by objects U.
Both T and U must extend from
Example with list [t1, u1, t2, u2, t3]:
JclTree.
It is expected to have N elements and N-1 separators (N > 0).
Example with list [t1, u1, t2, u2, t3]:
elements()-> [t1, t2, t3]separators()-> [u1, u2]elementsAndSeparators()-> [t1, u1, t2, u2, t3]
-
Method Summary
-
Method Details
-
elements
-
separators
-
elementsAndSeparators
-