Class ScriptAttributeImpl

    • Constructor Detail

      • ScriptAttributeImpl

        public ScriptAttributeImpl()
    • Method Detail

      • getCode

        public int getCode()
        Description copied from interface: ScriptAttribute
        Get the numeric code for this script value. This is the constant value from UScript.
        Specified by:
        getCode in interface ScriptAttribute
        Returns:
        numeric code
      • setCode

        public void setCode​(int code)
        Description copied from interface: ScriptAttribute
        Set the numeric code for this script value. This is the constant value from UScript.
        Specified by:
        setCode in interface ScriptAttribute
        Parameters:
        code - numeric code
      • clear

        public void clear()
        Specified by:
        clear in class org.apache.lucene.util.AttributeImpl
      • copyTo

        public void copyTo​(org.apache.lucene.util.AttributeImpl target)
        Specified by:
        copyTo in class org.apache.lucene.util.AttributeImpl
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object
      • reflectWith

        public void reflectWith​(org.apache.lucene.util.AttributeReflector reflector)
        Overrides:
        reflectWith in class org.apache.lucene.util.AttributeImpl