public class DefaultNumericFeatureMap extends AbstractSortedFeatureMap<java.lang.Double>
Constructor and Description |
---|
DefaultNumericFeatureMap(java.lang.String requestSlotName,
java.lang.String modalityName,
java.lang.String crPropertyName,
IPropertyHandler handler,
double defaultValue) |
Modifier and Type | Method and Description |
---|---|
protected java.lang.Double |
extractInformation(IAfferentObject afferentObject) |
double |
getDefaultValue() |
IPropertyHandler |
getPropertyHandler() |
boolean |
isInterestedIn(IAfferentObject object) |
protected boolean |
isValidValue(ISlot slot)
tests to be sure the value of the slot is a valid type
|
protected java.lang.Double |
toData(ISlot slot)
converts a slot value to the appropriate type
|
addInformation, clearInternal, equals, getCandidates, getCurrentValue, greaterThan, lessThan, normalizeRequest, not, removeInformation, toString
addListener, afferentObjectAdded, afferentObjectRemoved, afferentObjectUpdated, clear, dispatch, dispose, fillSlotValues, getCandidateRealObjects, getInformation, getLock, getPerceptualMemory, getRelevantPropertyName, getRelevantSlotName, hasListeners, isInterestedIn, objectAdded, objectRemoved, objectUpdated, removeListener, setPerceptualMemory
public DefaultNumericFeatureMap(java.lang.String requestSlotName, java.lang.String modalityName, java.lang.String crPropertyName, IPropertyHandler handler, double defaultValue)
public IPropertyHandler getPropertyHandler()
public double getDefaultValue()
public boolean isInterestedIn(IAfferentObject object)
protected boolean isValidValue(ISlot slot)
AbstractSortedFeatureMap
isValidValue
in class AbstractSortedFeatureMap<java.lang.Double>
protected java.lang.Double toData(ISlot slot)
AbstractSortedFeatureMap
toData
in class AbstractSortedFeatureMap<java.lang.Double>
protected java.lang.Double extractInformation(IAfferentObject afferentObject)
extractInformation
in class AbstractFeatureMap<java.lang.Double>