public class SerialVersionUID
extends java.lang.Object
This class computes the serial version UID of a class modeled by a
ClassEditor. Otherwise, we would have to load the class in
order to compute its serial version UID. That would suck.
The algorithm for computing the serial version UID can be found in the serialization spec
| Constructor and Description |
|---|
SerialVersionUID() |
| Modifier and Type | Method and Description |
|---|---|
static boolean |
implementsSerializable(ClassEditor ce)
Returns
true if the class modeled by the given
ClassEditor implements Serializable. |
static long |
serialVersionUID(ClassEditor ce)
Returns the serial version UID of the class modeled by the given
ClassEditor. |
public static boolean implementsSerializable(ClassEditor ce)
true if the class modeled by the given
ClassEditor implements Serializable. It checks superclasses.public static long serialVersionUID(ClassEditor ce)
ClassEditor.ce - The class must implement Serializable