org.bitbucket.gkutiel.at.NodeWithChildren Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of at-core Show documentation
Show all versions of at-core Show documentation
A parser and renderer engine for the at syntax
package org.bitbucket.gkutiel.at;
import java.util.ArrayList;
import java.util.List;
public abstract class NodeWithChildren implements Node {
final List children = new ArrayList<>();
@Override final public void add(final Node child) {
children.add(child);
}
}