|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectcom.jguild.jrpm.io.datatype.NULL
A representation of a rpm null array data object
| Constructor Summary | |
(package private) |
NULL(int size)
|
| Method Summary | |
java.lang.Object |
get(int i)
Gets the i-th element of this object. |
java.lang.Object[] |
getData()
Get the rpm NULL array as a java object array of null objects |
java.lang.Object |
getDataObject()
Get the data as an object. |
long |
getElementCount()
Returns the number of elements stored in this data type. |
long |
getSize()
Returns the size of this type in the RPM file |
RPMIndexType |
getType()
Get the type of this data object |
boolean |
isArray()
Returns TRUE if this object contains an array or FALSE if it is not an array. |
static NULL |
readFromStream(IndexEntry indexEntry)
Constructs a type froma stream |
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
NULL(int size)
| Method Detail |
public boolean isArray()
DataTypeIf
isArray in interface DataTypeIfpublic java.lang.Object[] getData()
public java.lang.Object getDataObject()
DataTypeIf
getDataObject in interface DataTypeIfpublic long getSize()
DataTypeIf
getSize in interface DataTypeIfpublic RPMIndexType getType()
DataTypeIf
getType in interface DataTypeIfpublic static NULL readFromStream(IndexEntry indexEntry)
indexEntry - The index informations
public long getElementCount()
DataTypeIf
getElementCount in interface DataTypeIfpublic java.lang.Object get(int i)
DataTypeIf
get in interface DataTypeIfi - The element number
public java.lang.String toString()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||