Class AGenericObjectAttribute<O>
- java.lang.Object
-
- ai.libs.jaicore.ml.core.dataset.schema.attribute.AAttribute
-
- ai.libs.jaicore.ml.core.dataset.schema.attribute.AGenericObjectAttribute<O>
-
- Type Parameters:
O- The type of object that can be stored.
- All Implemented Interfaces:
java.io.Serializable,org.api4.java.ai.ml.core.dataset.schema.attribute.IAttribute,org.api4.java.ai.ml.core.dataset.schema.attribute.INumericEncodingAttribute
- Direct Known Subclasses:
ACollectionOfObjectsAttribute,ARankingAttribute,ATimeseriesAttribute,MultidimensionalAttribute,SensorTimeSeriesAttribute,StringAttribute
public abstract class AGenericObjectAttribute<O> extends AAttribute
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedAGenericObjectAttribute(java.lang.String name)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description OdecodeValue(double encodedAttributeValue)doubleencodeValue(java.lang.Object attributeValue)booleanequals(java.lang.Object obj)org.api4.java.ai.ml.core.dataset.schema.attribute.IAttributeValuegetAsAttributeValue(double encodedAttributeValue)protected abstract OgetValueAsTypeInstance(java.lang.Object object)inthashCode()-
Methods inherited from class ai.libs.jaicore.ml.core.dataset.schema.attribute.AAttribute
getName
-
-
-
-
Method Detail
-
encodeValue
public double encodeValue(java.lang.Object attributeValue)
-
decodeValue
public O decodeValue(double encodedAttributeValue)
-
getAsAttributeValue
public org.api4.java.ai.ml.core.dataset.schema.attribute.IAttributeValue getAsAttributeValue(double encodedAttributeValue)
-
getValueAsTypeInstance
protected abstract O getValueAsTypeInstance(java.lang.Object object)
-
hashCode
public int hashCode()
- Overrides:
hashCodein classAAttribute
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equalsin classAAttribute
-
-