ostore.util
Class QSArray
java.lang.Object
|
+--ostore.util.QSArray
- All Implemented Interfaces:
- Cloneable, QuickSerializable
- public class QSArray
- extends Object
- implements Cloneable, QuickSerializable
- Version:
- $Id: QSArray.java,v 1.21 2002/07/29 18:48:54 geels Exp $
- Author:
- Hakim Weatherspoon
QSArray
public QSArray()
QSArray
public QSArray(int size)
QSArray
public QSArray(QuickSerializable obj)
QSArray
public QSArray(QuickSerializable[] objs)
QSArray
public QSArray(Vector objs)
QSArray
public QSArray(InputBuffer buffer)
throws QSException
length
public int length()
getQSArray
public QuickSerializable[] getQSArray()
get
public QuickSerializable get(int index)
set
public QuickSerializable set(int index,
QuickSerializable obj)
append
public void append(QuickSerializable obj)
serialize
public void serialize(OutputBuffer buffer)
- Description copied from interface:
QuickSerializable
- Add the object to the
buffer
.
- Specified by:
serialize
in interface QuickSerializable
- Parameters:
buffer
- the output buffer to add the object to
clone
public Object clone()
- Overrides:
clone
in class Object
equals
public boolean equals(Object other)
- Overrides:
equals
in class Object
hashCode
public int hashCode()
- Overrides:
hashCode
in class Object
toString
public String toString()
- Overrides:
toString
in class Object