Class TopValue


  • public class TopValue
    extends Category1Value
    Representation of a partially evaluated top value. A top value is the dummy value that takes up the extra space when storing a long value or a double value.
    • Constructor Detail

      • TopValue

        public TopValue()
    • Method Detail

      • isSpecific

        public boolean isSpecific()
        Description copied from class: Value
        Returns whether this Value represents a single specific (but possibly unknown) value.
        Overrides:
        isSpecific in class Value
      • isParticular

        public boolean isParticular()
        Description copied from class: Value
        Returns whether this Value represents a single particular (known) value.
        Overrides:
        isParticular in class Value
      • generalize

        public final Value generalize​(Value other)
        Description copied from class: Value
        Returns the generalization of this Value and the given other Value.
        Specified by:
        generalize in class Value
      • computationalType

        public final int computationalType()
        Description copied from class: Value
        Returns the computational type of this Value.
        Specified by:
        computationalType in class Value
        Returns:
        TYPE_INTEGER, TYPE_LONG, TYPE_FLOAT, TYPE_DOUBLE, TYPE_REFERENCE, or TYPE_INSTRUCTION_OFFSET.
      • internalType

        public final java.lang.String internalType()
        Description copied from class: Value
        Returns the internal type of this Value.
        Specified by:
        internalType in class Value
        Returns:
        TypeConstants.BOOLEAN, TypeConstants.BYTE, TypeConstants.CHAR, TypeConstants.SHORT, TypeConstants.INT , TypeConstants.LONG, TypeConstants.FLOAT, TypeConstants.DOUBLE, TypeConstants.CLASS_START ... TypeConstants.CLASS_END , or an array type containing any of these types (always as String).
      • equals

        public boolean equals​(java.lang.Object object)
        Overrides:
        equals in class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object