Package org.jreliability.booleanfunction
Class AbstractHierarchicalTerm
- java.lang.Object
-
- org.jreliability.booleanfunction.AbstractHierarchicalTerm
-
- All Implemented Interfaces:
Term
- Direct Known Subclasses:
ANDTerm
,LinearTerm
,ORTerm
public abstract class AbstractHierarchicalTerm extends java.lang.Object implements Term
-
-
Constructor Summary
Constructors Constructor Description AbstractHierarchicalTerm()
-
-
-
Method Detail
-
getTerms
public java.util.List<Term> getTerms()
Returns a list of the embeddedTermUtils
.- Returns:
- a list of the embedded terms
-
add
public void add(Term term)
- Parameters:
term
- the term to add
-
add
public void add(Term... terms)
- Parameters:
terms
- the terms to add
-
size
public int size()
Returns the number of embeddedTermUtils
.- Returns:
- the number of embedded terms
-
-