Save This Page
Home » mahout-collections-1.0-src » org.apache.mahout.math » [javadoc | source]
org.apache.mahout.math
abstract public class: PersistentObject [javadoc | source]
java.lang.Object
   org.apache.mahout.math.PersistentObject

All Implemented Interfaces:
    Cloneable, Serializable

Direct Known Subclasses:
    ObjectArrayList, AbstractSet, IntBuffer, OpenHashSet, BitMatrix, AbstractObjectList, IntBuffer3D, ObjectBuffer, DoubleBuffer3D, AbstractList, IntBuffer2D, BitVector, OpenHashMap, DoubleBuffer2D, DoubleBuffer

This empty class is the common root for all persistent capable classes. If this class inherits from java.lang.Object then all subclasses are serializable with the standard Java serialization mechanism. If this class inherits from com.objy.db.app.ooObj then all subclasses are additionally serializable with the Objectivity ODBMS persistance mechanism. Thus, by modifying the inheritance of this class the entire tree of subclasses can be switched to Objectivity compatibility (and back) with minimum effort.
Constructor:
 protected PersistentObject() 
Method from org.apache.mahout.math.PersistentObject Summary:
clone
Methods from java.lang.Object:
clone,   equals,   finalize,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.apache.mahout.math.PersistentObject Detail:
 public Object clone() 
    Returns a copy of the receiver. This default implementation does not nothing except making the otherwise protected clone method public.