de.hs_rm.cs.lecturenotes.server.core.logical.extractcode
Class Tuple1<T1>

java.lang.Object
  extended by de.hs_rm.cs.lecturenotes.server.core.logical.extractcode.Tuple1<T1>
Type Parameters:
T1 - Type 1
Direct Known Subclasses:
Tuple2

public class Tuple1<T1>
extends java.lang.Object

Originates from Tuple1. Helper Class, used as container.

Version:
$LastChangedRevision: 242 $
Author:
Enrico Homann

Field Summary
 T1 e1
          Container value as public for direct access.
 
Constructor Summary
Tuple1(T1 a1)
          Constructor.
 
Method Summary
 boolean equals(java.lang.Object obj)
           
 int hashCode()
           
 java.lang.String parenthes(java.lang.Object o)
          Will return the bracketed version of Object o using o.toString() within ( and ).
 java.lang.String simpleToString()
          Will return the toString() content of e1.
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

e1

public T1 e1
Container value as public for direct access.

Constructor Detail

Tuple1

public Tuple1(T1 a1)
Constructor.

Parameters:
a1 - T1
Method Detail

parenthes

public final java.lang.String parenthes(java.lang.Object o)
Will return the bracketed version of Object o using o.toString() within ( and ).

Parameters:
o - Object
Returns:
String

simpleToString

public java.lang.String simpleToString()
Will return the toString() content of e1.

Returns:
String

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

equals

public boolean equals(java.lang.Object obj)
Overrides:
equals in class java.lang.Object