public abstract class AbstractMOAObject extends Object implements MOAObject
Constructor and Description |
---|
AbstractMOAObject() |
Modifier and Type | Method and Description |
---|---|
MOAObject |
copy()
This method produces a copy of this object.
|
static MOAObject |
copy(MOAObject obj)
This method produces a copy of an object.
|
int |
measureByteSize()
Gets the memory size of this object.
|
static int |
measureByteSize(MOAObject obj)
Gets the memory size of an object.
|
String |
toString()
Returns a description of the object.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getDescription
public MOAObject copy()
MOAObject
public int measureByteSize()
MOAObject
measureByteSize
in interface MOAObject
public String toString()
public static MOAObject copy(MOAObject obj)
obj
- object to copypublic static int measureByteSize(MOAObject obj)
obj
- object to measure the memory sizeCopyright © 2014 University of Waikato, Hamilton, NZ. All Rights Reserved.