Class BasePVLong

    • Field Detail

      • value

        protected long value
    • Constructor Detail

      • BasePVLong

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

      • get

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

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

        public int hashCode()
        Overrides:
        hashCode in class Object