Class BasePVInt

    • Field Detail

      • value

        protected int value
    • Constructor Detail

      • BasePVInt

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

      • get

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

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

        public int hashCode()
        Overrides:
        hashCode in class Object