Package com.metsci.glimpse.dnc.geosym
Class DncGeosymAttributeCompoundExpression
- java.lang.Object
-
- com.metsci.glimpse.dnc.geosym.DncGeosymAttributeCompoundExpression
-
- All Implemented Interfaces:
DncGeosymAttributeExpression
public class DncGeosymAttributeCompoundExpression extends Object implements DncGeosymAttributeExpression
-
-
Field Summary
Fields Modifier and Type Field Description StringconnectorOpList<? extends DncGeosymAttributeExpression>terms
-
Constructor Summary
Constructors Constructor Description DncGeosymAttributeCompoundExpression(String connectorOp, List<? extends DncGeosymAttributeExpression> terms)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleaneval(Function<String,Object> featureAttrs, Function<String,Object> externalAttrs)static booleanevalAnd(List<? extends DncGeosymAttributeExpression> terms, Function<String,Object> featureAttrs, Function<String,Object> externalAttrs)static booleanevalOr(List<? extends DncGeosymAttributeExpression> terms, Function<String,Object> featureAttrs, Function<String,Object> externalAttrs)StringtoString()
-
-
-
Field Detail
-
connectorOp
public final String connectorOp
-
terms
public final List<? extends DncGeosymAttributeExpression> terms
-
-
Constructor Detail
-
DncGeosymAttributeCompoundExpression
public DncGeosymAttributeCompoundExpression(String connectorOp, List<? extends DncGeosymAttributeExpression> terms)
-
-
Method Detail
-
eval
public boolean eval(Function<String,Object> featureAttrs, Function<String,Object> externalAttrs)
- Specified by:
evalin interfaceDncGeosymAttributeExpression
-
evalAnd
public static boolean evalAnd(List<? extends DncGeosymAttributeExpression> terms, Function<String,Object> featureAttrs, Function<String,Object> externalAttrs)
-
evalOr
public static boolean evalOr(List<? extends DncGeosymAttributeExpression> terms, Function<String,Object> featureAttrs, Function<String,Object> externalAttrs)
-
-