Class FeatureInputMarkCollection
Object
org.anchoranalysis.mpp.feature.bean.mark.collection.FeatureInputMarkCollection
- All Implemented Interfaces:
FeatureInput,FeatureInputWithResolution
public class FeatureInputMarkCollection extends Object implements FeatureInputWithResolution
Feature input that contains a collection of marks and optional dimensions.
This class implements FeatureInputWithResolution to provide resolution information if
available from the dimensions.
-
Constructor Summary
Constructors Constructor Description FeatureInputMarkCollection(MarkCollection marks, Optional<Dimensions> dimensions) -
Method Summary
Modifier and Type Method Description Optional<Dimensions>dimensions()Gets the optional dimensions associated with the mark collection.MarkCollectiongetMarks()The collection of marks.Optional<Resolution>getResolutionOptional()Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.anchoranalysis.feature.input.FeatureInputWithResolution
getResolutionRequired
-
Constructor Details
-
Method Details
-
getResolutionOptional
- Specified by:
getResolutionOptionalin interfaceFeatureInputWithResolution
-
dimensions
Gets the optional dimensions associated with the mark collection.- Returns:
- an
Optionalcontaining theDimensionsif present, or empty if not available
-
getMarks
The collection of marks.
-