Package Torello.Java.Additional
Class Ret0
- java.lang.Object
-
- Torello.Java.Additional.MultiType
-
- Torello.Java.Additional.RetN
-
- Torello.Java.Additional.Ret0
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Cloneable
public class Ret0 extends RetN implements java.io.Serializable
Contains astaticreference 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
File Size: 2,929 Bytes Line Count: 95 '\n' Characters Found
-
-
Field Summary
Serializable ID Modifier and Type Field protected static longserialVersionUIDRet0 Singleton Instance Modifier and Type Field static Ret0R0
-
Method Summary
Retrieve the Number of Fields in this Class Modifier and Type Method intn()Abstract-Implementing Stub Methods Modifier and Type Method Objectget(int i)Tuple0toModifiable()Methods: interface java.lang.Cloneable Modifier and Type Method Ret0clone()Methods: class java.lang.Object Modifier and Type Method booleanequals(Object other)inthashCode()StringtoString()
-
-
-
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 theSerializableImplementation 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;
-
R0
-
-
Method Detail
-
n
-
clone
-
toString
-
equals
public final boolean equals(java.lang.Object other)
-
hashCode
-
get
public java.lang.Object get(int i)
This method is guaranteed to throw anIndexOutOfBoundsExceptin. There aren't any fields that can be retrieved from theTuple0Singleton-Instance.- Specified by:
getin classMultiType- Parameters:
i- ignored parameter- Returns:
- Does not return anything. Always throws IOOBEX.
- Throws:
java.lang.IndexOutOfBoundsException- Always throws.- See Also:
MultiType.get(int, Class),MultiType.GET(int)- Code:
- Exact Method Body:
// Always throws Out Of Bounds Exception, Cannot get from Tuple0 CHECK_GET(i); // The above method should always throw IOOOBEX, this line quiets javac throw new UnreachableError();
-
toModifiable
public Tuple0 toModifiable()
Description copied from class:RetN- Specified by:
toModifiablein classRetN- Returns:
- A
TupleNof the same size, which is a modifiable type whose fields are not decorated with the'final'modifier - as the fields in this class are. - Code:
- Exact Method Body:
return Tuple0.T0;
-
-