Class ConstantTemplate

  • All Implemented Interfaces:
    java.io.Serializable

    public class ConstantTemplate
    extends java.lang.Object
    implements java.io.Serializable
    See Also:
    Serialized Form
    • Constructor Detail

      • ConstantTemplate

        public ConstantTemplate​(long val)
      • ConstantTemplate

        public ConstantTemplate​(int t)
      • ConstantTemplate

        public ConstantTemplate​(Operand o,
                                int sel1,
                                int sel2)
    • Method Detail

      • type

        public int type()
      • select1

        public int select1()
      • select2

        public int select2()
      • resolve

        public long resolve​(Position position,
                            int off)
                     throws java.lang.Exception
        Method resolve.
        Parameters:
        handles -
        position -
        off -
        Returns:
        long
        Throws:
        java.lang.Exception
      • resolve

        public long resolve​(java.util.HashMap<java.lang.Object,​Handle> handles,
                            Position position,
                            int off)
                     throws java.lang.Exception
        Parameters:
        handles -
        position -
        off -
        Returns:
        long
        Throws:
        java.lang.Exception
      • operand

        public Operand operand()
      • hashCode

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

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