Class AGenericObjectAttribute<O>

    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      protected AGenericObjectAttribute​(java.lang.String name)  
    • Method Summary

      All Methods Instance Methods Abstract Methods Concrete Methods 
      Modifier and Type Method Description
      O decodeValue​(double encodedAttributeValue)  
      double encodeValue​(java.lang.Object attributeValue)  
      boolean equals​(java.lang.Object obj)  
      org.api4.java.ai.ml.core.dataset.schema.attribute.IAttributeValue getAsAttributeValue​(double encodedAttributeValue)  
      protected abstract O getValueAsTypeInstance​(java.lang.Object object)  
      int hashCode()  
      • Methods inherited from class ai.libs.jaicore.ml.core.dataset.schema.attribute.AAttribute

        getName
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
      • Methods inherited from interface org.api4.java.ai.ml.core.dataset.schema.attribute.IAttribute

        deserializeAttributeValue, getAsAttributeValue, getStringDescriptionOfDomain, isValidValue, serializeAttributeValue, toDouble
    • Constructor Detail

      • AGenericObjectAttribute

        protected AGenericObjectAttribute​(java.lang.String name)
    • 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)
      • equals

        public boolean equals​(java.lang.Object obj)
        Overrides:
        equals in class AAttribute