Class SerialVersionUID
java.lang.Object
EDU.purdue.cs.bloat.editor.SerialVersionUID
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 Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic booleanstatic longReturns the serial version UID of the class modeled by the givenClassEditor.
-
Constructor Details
-
SerialVersionUID
public SerialVersionUID()
-
-
Method Details
-
implementsSerializable
Returnstrueif the class modeled by the givenClassEditorimplementsSerializable. It checks superclasses. -
serialVersionUID
Returns the serial version UID of the class modeled by the givenClassEditor.- Parameters:
ce- The class must implementSerializable
-