Package Torello.Java.Additional
Class Ret0
- java.lang.Object
-
- Torello.Java.Additional.RetN
-
- Torello.Java.Additional.Ret0
-
- All Implemented Interfaces:
java.io.Serializable
public class Ret0 extends RetN implements java.io.Serializable
Contains astatic
reference to a singleton-instance ofRet0
.- See Also:
- Serialized Form
Hi-Lited Source-Code:- View Here: Torello/Java/Additional/Ret0.java
- Open New Browser-Tab: Torello/Java/Additional/Ret0.java
-
-
Field Summary
Fields Modifier and Type Field static Ret0
R0
protected static long
serialVersionUID
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Ret0
clone()
boolean
equals(Object other)
int
hashCode()
int
n()
String
toString()
-
-
-
Field Detail
-
serialVersionUID
protected static final long serialVersionUID
This fulfils the SerialVersion UID requirement for all classes that implement Java'sinterface java.io.Serializable
. Using theSerializable
Implementation offered by java is very easy, and can make saving program state when debugging a lot easier. It can also be used in place of more complicated systems like "hibernate" to store data as well.- See Also:
- Constant Field Values
- Code:
- Exact Field Declaration Expression:
protected static final long serialVersionUID = 1;
-
-
Method Detail
-
n
public int n()
Returns'0'
, indicating how many fields are declared by this class.
-
clone
public final Ret0 clone()
This method may not be invoked, or it will throw an exception.- Overrides:
clone
in classjava.lang.Object
- Throws:
java.lang.UnsupportedOperationException
- This class only one singleton instance.- Code:
- Exact Method Body:
throw new UnsupportedOperationException ("The singleton instance of Ret0 cannot be cloned.");
-
toString
public final java.lang.String toString()
Produces theRet0
singleton-instance'toString'
-
equals
public final boolean equals(java.lang.Object other)
- Overrides:
equals
in classjava.lang.Object
- Code:
- Exact Method Body:
return this == other;
-
-