Package org.geotools.filter.capability
Class ComparisonOperatorsImpl
- Object
-
- ComparisonOperatorsImpl
-
- All Implemented Interfaces:
ComparisonOperators
public class ComparisonOperatorsImpl extends Object implements ComparisonOperators
Implementation of the ComparisonOperators interface.- Author:
- Justin Deoliveira, The Open Planning Project
-
-
Constructor Summary
Constructors Constructor Description ComparisonOperatorsImpl()
ComparisonOperatorsImpl(Collection<Operator> operators)
ComparisonOperatorsImpl(ComparisonOperators copy)
Copy the provided ComparisonOperatorComparisonOperatorsImpl(Operator... operators)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addAll(ComparisonOperators copy)
boolean
equals(Object obj)
Operator
getOperator(String name)
Looks up an operator by name, returning null if no such operator found.Collection<Operator>
getOperators()
Provided comparison operators.int
hashCode()
void
setOperators(Collection<Operator> operators)
String
toString()
-
-
-
Constructor Detail
-
ComparisonOperatorsImpl
public ComparisonOperatorsImpl()
-
ComparisonOperatorsImpl
public ComparisonOperatorsImpl(ComparisonOperators copy)
Copy the provided ComparisonOperator
-
ComparisonOperatorsImpl
public ComparisonOperatorsImpl(Collection<Operator> operators)
-
ComparisonOperatorsImpl
public ComparisonOperatorsImpl(Operator... operators)
-
-
Method Detail
-
getOperators
public Collection<Operator> getOperators()
Description copied from interface:ComparisonOperators
Provided comparison operators.<xsd:element name="ComparisonOperator" type="ogc:ComparisonOperatorType"/>
- Specified by:
getOperators
in interfaceComparisonOperators
-
setOperators
public void setOperators(Collection<Operator> operators)
-
getOperator
public Operator getOperator(String name)
Description copied from interface:ComparisonOperators
Looks up an operator by name, returning null if no such operator found.- Specified by:
getOperator
in interfaceComparisonOperators
- Parameters:
name
- the name of the operator.- Returns:
- Operator with the provided name, or null if not supported
-
addAll
public void addAll(ComparisonOperators copy)
-
-