Class BasePVString

    • Field Detail

      • value

        protected String value
      • maxLength

        protected final int maxLength
    • Constructor Detail

      • BasePVString

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

      • get

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

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

        public void serialize​(ByteBuffer buffer,
                              SerializableControl flusher,
                              int offset,
                              int count)
        Description copied from interface: SerializableArray
        Serialize field into given buffer.
        Specified by:
        serialize in interface SerializableArray
        Parameters:
        buffer - serialization buffer
        flusher - flush interface
        offset - offset in array
        count - number of elements in array
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object