Serialized Form
-
Package elki.index.tree
-
Class elki.index.tree.AbstractNode extends AbstractExternalizablePage implements Serializable
-
Serialization Methods
-
readExternal
public void readExternal(java.io.ObjectInput in) throws java.io.IOException, java.lang.ClassNotFoundExceptionReads the id of this node, the numEntries and the entries array from the specified stream.- Throws:
java.io.IOException- if I/O errors occurjava.lang.ClassNotFoundException- If the class for an object being restored cannot be found.
-
writeExternal
public void writeExternal(java.io.ObjectOutput out) throws java.io.IOExceptionCalls the super method and writes the id of this node, the numEntries and the entries array to the specified stream.- Throws:
java.io.IOException- Includes any I/O exceptions that may occur
-
-
-
-
Package elki.persistent
-
Class elki.persistent.AbstractExternalizablePage extends java.lang.Object implements Serializable
- serialVersionUID:
- 2L
-
Serialization Methods
-
readExternal
public void readExternal(java.io.ObjectInput in) throws java.io.IOException, java.lang.ClassNotFoundExceptionThe object implements the readExternal method to restore its contents by calling the methods of DataInput for primitive types and readObject for objects, strings and arrays. The readExternal method must read the values in the same sequence and with the same types as were written by writeExternal.- Throws:
java.io.IOException- if I/O errors occurjava.lang.ClassNotFoundException- If the class for an object being restored cannot be found.
-
writeExternal
public void writeExternal(java.io.ObjectOutput out) throws java.io.IOExceptionThe object implements the writeExternal method to save its contents by calling the methods of DataOutput for its primitive values or calling the writeObject method of ObjectOutput for objects, strings, and arrays.- Serial Data:
- Overriding methods should use this tag to describe the data layout of this Externalizable object. List the sequence of element types and, if possible, relate the element to a public/protected field and/or method of this Externalizable class.
- Throws:
java.io.IOException- Includes any I/O exceptions that may occur
-
-