Package org.geotools.filter.visitor
Class MultiRange<T extends Comparable<? super T>>
- Object
-
- MultiRange<T>
-
- Type Parameters:
T
-
public class MultiRange<T extends Comparable<? super T>> extends Object
Represents the domain of a variable as a set of ranges- Author:
- Andrea Aime - GeoSolutions
-
-
Constructor Summary
Constructors Constructor Description MultiRange(Class<T> binding, T exclusion)
MultiRange(List<Range<T>> ranges)
MultiRange(MultiRange<T> other)
MultiRange(Range<T> range)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addRange(Range<T> range)
MultiRange<T>
intersect(MultiRange<T> other)
MultiRange<T>
merge(MultiRange<T> other)
void
removeRange(Range<T> range)
Filter
toFilter(FilterFactory ff, Expression variable)
String
toString()
-
-
-
Method Detail
-
merge
public MultiRange<T> merge(MultiRange<T> other)
-
intersect
public MultiRange<T> intersect(MultiRange<T> other)
-
toFilter
public Filter toFilter(FilterFactory ff, Expression variable)
-
-