Class BasePVShort

    • Field Detail

      • value

        protected short value
    • Constructor Detail

      • BasePVShort

        public BasePVShort​(Scalar scalar)
        Constructor
        Parameters:
        scalar - The introspection interface.
    • Method Detail

      • get

        public short get()
        Description copied from interface: PVShort
        Get the short value stored in the field.
        Specified by:
        get in interface PVShort
        Returns:
        the short value of field
      • put

        public void put​(short value)
        Description copied from interface: PVShort
        Put the short value into the field. If the field is immutable a message is generated and the field not modified.
        Specified by:
        put in interface PVShort
        Parameters:
        value - the new value
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object