Class NameValue

  • All Implemented Interfaces:
    java.io.Serializable


    public class NameValue
    extends java.lang.Object
    implements java.io.Serializable
    A data class which can hold name-values pair. The name property is an array of bytes where as the values property is an array of byte array.
    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor Description
      NameValue​()  
      NameValue​(byte[] name, byte[][] values)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      byte[] getName​()  
      byte[][] getValues​()  
      void setName​(byte... name)  
      void setValues​(byte[]... values)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • NameValue

        public NameValue​()
      • NameValue

        public NameValue​(byte[] name,
                         byte[][] values)
        Parameters:
        name - an array of bytes
        values - an array of bytes array, i.e. a two dimensional array of bytes.
    • Method Detail

      • getName

        public byte[] getName​()
      • setName

        public void setName​(byte... name)
      • getValues

        public byte[][] getValues​()
      • setValues

        public void setValues​(byte[]... values)