Class BooleanContainer<T>
- java.lang.Object
-
- de.gwdg.metadataqa.marc.utils.parser.BooleanContainer<T>
-
public class BooleanContainer<T> extends Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classBooleanContainer.Op
-
Constructor Summary
Constructors Constructor Description BooleanContainer()BooleanContainer(BooleanContainer.Op op, List<BooleanContainer<T>> children)BooleanContainer(T value)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<BooleanContainer<T>>getChildren()BooleanContainer.OpgetOp()TgetValue()booleanhasAnd()booleanhasOr()voidsetOp(BooleanContainer.Op op)voidsetValue(T value)intsize()StringtoString()
-
-
-
Constructor Detail
-
BooleanContainer
public BooleanContainer()
-
BooleanContainer
public BooleanContainer(T value)
-
BooleanContainer
public BooleanContainer(BooleanContainer.Op op, List<BooleanContainer<T>> children)
-
-
Method Detail
-
getOp
public BooleanContainer.Op getOp()
-
hasAnd
public boolean hasAnd()
-
hasOr
public boolean hasOr()
-
setOp
public void setOp(BooleanContainer.Op op)
-
getChildren
public List<BooleanContainer<T>> getChildren()
-
getValue
public T getValue()
-
setValue
public void setValue(T value)
-
size
public int size()
-
-