org.geotools.referencing.piecewise
Interface DomainElement1D

All Superinterfaces:
Comparable<DomainElement1D>, Serializable
All Known Subinterfaces:
ColorMapTransformElement, PiecewiseTransform1DElement
All Known Implementing Classes:
DefaultDomainElement1D, DefaultLinearPiecewiseTransform1DElement, DefaultPiecewiseTransform1DElement, LinearColorMapElement

public interface DomainElement1D
extends Serializable, Comparable<DomainElement1D>

A DomainElement1D can be seen as a monodimensional range of values with its own label.

All DomainElement1DD must have a human readable name.

All DomainElement1D objects are immutable and thread-safe.

Author:
Simone Giannecchini, GeoSolutions

Method Summary
 boolean contains(double value)
          This methods can be used to check whether or not a given value belongs to DomainElement1D.
 boolean contains(Number value)
          This methods can be used to check whether or not a given value belongs to DomainElement1D.
 boolean contains(NumberRange<? extends Number> range)
          This methods can be used to check whether or not a given NumberRange belongs to DomainElement1D.
 boolean equals(Object object)
          Compares the specified object with this domain element for equality.
 InternationalString getName()
          Returns the domain element name.
 NumberRange<? extends Number> getRange()
          Provides access to the input NumberRange for this DomainElement1D.
 
Methods inherited from interface Comparable
compareTo
 

Method Detail

getName

InternationalString getName()
Returns the domain element name.


equals

boolean equals(Object object)
Compares the specified object with this domain element for equality.

Overrides:
equals in class Object

getRange

NumberRange<? extends Number> getRange()
Provides access to the input NumberRange for this DomainElement1D.

Returns:
the range where this DomainElement1D is defined.

contains

boolean contains(double value)
This methods can be used to check whether or not a given value belongs to DomainElement1D.

Parameters:
value - to check for the inclusion.
Returns:
true if the value belongs to this DomainElement1D, false otherwise.

contains

boolean contains(Number value)
This methods can be used to check whether or not a given value belongs to DomainElement1D.

Parameters:
value - to check for the inclusion.
Returns:
true if the value belongs to this DomainElement1D, false otherwise.

contains

boolean contains(NumberRange<? extends Number> range)
This methods can be used to check whether or not a given NumberRange belongs to DomainElement1D.

Parameters:
value - to check for the inclusion.
Returns:
true if the NumberRange belongs to this DomainElement1D, false otherwise.


Copyright © 1996-2014 Geotools. All Rights Reserved.