de.hs_rm.cs.lecturenotes.server.core.logical.extractcode
Class Tuple2<T1,T2>

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

public class Tuple2<T1,T2>
extends Tuple1<T1>

Originates from Tuple2. Helper Class, used as container.

Version:
$LastChangedRevision: 242 $
Author:
Enrico Homann

Field Summary
 T2 e2
          Container value as public for direct access.
 
Fields inherited from class de.hs_rm.cs.lecturenotes.server.core.logical.extractcode.Tuple1
e1
 
Constructor Summary
Tuple2(T1 a1, T2 a2)
          Constructor.
 
Method Summary
 boolean equals(java.lang.Object obj)
           
 int hashCode()
           
 java.lang.String simpleToString()
          Will return the toString() content of e1.
 
Methods inherited from class de.hs_rm.cs.lecturenotes.server.core.logical.extractcode.Tuple1
parenthes, toString
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

e2

public T2 e2
Container value as public for direct access.

Constructor Detail

Tuple2

public Tuple2(T1 a1,
              T2 a2)
Constructor.

Parameters:
a1 - Object
a2 - Object
Method Detail

simpleToString

public java.lang.String simpleToString()
Description copied from class: Tuple1
Will return the toString() content of e1.

Overrides:
simpleToString in class Tuple1<T1>
Returns:
String

hashCode

public int hashCode()
Overrides:
hashCode in class Tuple1<T1>

equals

public boolean equals(java.lang.Object obj)
Overrides:
equals in class Tuple1<T1>