com.jguild.jrpm.io.datatype

Class NULL

public final class NULL extends Object implements DataTypeIf

A representation of a rpm null array data object.

Version: $Id: NULL.java,v 1.4 2005/11/11 08:27:40 mkuss Exp $

Author: kuss

Method Summary
Objectget(int i)
Object[]getData()
Get the rpm NULL array as a java object array of null objects
ObjectgetDataObject()
longgetElementCount()
longgetSize()
RPMIndexTypegetType()
booleanisArray()
static NULLreadFromStream(IndexEntry indexEntry)
Constructs a type froma stream
StringtoString()

Method Detail

get

public Object get(int i)

getData

public Object[] getData()
Get the rpm NULL array as a java object array of null objects

Returns: An array of null objects

getDataObject

public Object getDataObject()

getElementCount

public long getElementCount()

getSize

public long getSize()

getType

public RPMIndexType getType()

isArray

public boolean isArray()

readFromStream

public static NULL readFromStream(IndexEntry indexEntry)
Constructs a type froma stream

Parameters: indexEntry The index informations

Returns: The size of the read data

toString

public String toString()