org.apache.mahout.math
Class PersistentObject
java.lang.Object
org.apache.mahout.math.PersistentObject
- All Implemented Interfaces:
- Serializable, Cloneable
- Direct Known Subclasses:
- AbstractList, AbstractSet
public abstract class PersistentObject
- extends Object
- implements Serializable, Cloneable
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.
- See Also:
- Serialized Form
Method Summary |
Object |
clone()
Returns a copy of the receiver. |
PersistentObject
protected PersistentObject()
- Not yet commented.
clone
public Object clone()
- Returns a copy of the receiver. This default implementation does not nothing except making the otherwise
protected clone method public.
- Overrides:
clone
in class Object
- Returns:
- a copy of the receiver.
Copyright © 2008–2014 The Apache Software Foundation. All rights reserved.