Package uk.ac.rdg.resc.edal.feature
Interface DiscreteFeature<P,DO>
-
- Type Parameters:
P
- The type of object used to identify positions within the feature's domain. This may be a spatial, temporal, or combined spatiotemporal position.DO
- The type of domain object
- All Superinterfaces:
Feature<P>
- All Known Implementing Classes:
AbstractDiscreteFeature
,GridFeature
,MapFeature
,PointCollectionFeature
,PointFeature
,PointSeriesFeature
,ProfileFeature
,TrajectoryFeature
public interface DiscreteFeature<P,DO> extends Feature<P>
A
Feature
whose domain consists of a finite number of domain objects, each of which is associated with a single measurement value from each Feature member.- Author:
- Jon Blower, Guy Griffiths
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description DiscreteDomain<P,DO>
getDomain()
Array<Number>
getValues(String paramId)
Gets the array of values for the given parameter.-
Methods inherited from interface uk.ac.rdg.resc.edal.feature.Feature
getDescription, getFeatureProperties, getId, getName, getParameter, getParameterMap, getVariableIds
-
-
-
-
Method Detail
-
getValues
Array<Number> getValues(String paramId)
Gets the array of values for the given parameter. The shape of this array must match the shape of the array of domain objects (fromDiscreteDomain.getDomainObjects()
).- Parameters:
paramId
- The identifier from theFeature.getVariableIds()
set of parameter IDs.- Returns:
- the list of values for the requested member
-
-