com.jguild.jrpm.io.datatype
public final class INT16 extends Object implements DataTypeIf
Version: $Id: INT16.java,v 1.4 2005/11/11 08:27:40 mkuss Exp $
| Method Summary | |
|---|---|
| Object | get(int i) |
| short[] | getData()
Get the rpm int16 array as a java short array
|
| Object | getDataObject() |
| long | getElementCount() |
| long | getSize() |
| RPMIndexType | getType() |
| boolean | isArray() |
| static INT16 | readFromStream(DataInputStream inputStream, IndexEntry indexEntry)
Constructs a type froma stream
|
| String | toString() |
See Also: DataTypeIf
Returns: An array of shorts
See Also: DataTypeIf
See Also: getElementCount
See Also: getSize
See Also: getType
See Also: isArray
Parameters: inputStream An input stream indexEntry The index informations
Returns: The size of the read data
Throws: IOException if an I/O error occurs.
See Also: java.lang.Object#toString()