galaxy.lang
Interface ArrayObject

All Known Implementing Classes:
Float64, GBinary, Int16, Float32, Int32, Int64

public interface ArrayObject

This is the interface for array objects.


Method Summary
 byte[] getBytes()
          Returns the contents of the array as an array of bytes.
 int getSize()
          Returns the size of the array.
 

Method Detail

getSize

public int getSize()
Returns the size of the array.
Returns:
the array size

getBytes

public byte[] getBytes()
Returns the contents of the array as an array of bytes. It is left up to the classes that implement this interface to define the policy by which the native data type of their arrays is converted to byte sequences.
Returns:
the array of bytes