com.cc.framework.common
Class Tuple

java.lang.Object
  extended bycom.cc.framework.common.Tuple
All Implemented Interfaces:
java.io.Serializable

public class Tuple
extends java.lang.Object
implements java.io.Serializable

Defines a tuple with two Objects (A, B)

Since:
1.0
Version:
$Revision: 1.13 $
Author:
Harald Schulz
See Also:
Serialized Form

Field Summary
private  java.lang.Object a
          A-Value
private  java.lang.Object b
          B-Value
private static long serialVersionUID
          Serial Version UID
 
Constructor Summary
Tuple()
          Constructor for Tuple
Tuple(java.lang.Object a, java.lang.Object b)
          Constructor for Tuple
 
Method Summary
 java.lang.Object a()
          Returns the A-Value
 void a(java.lang.Object object)
           
 java.lang.Object b()
          Returns the B-Value
 void b(java.lang.Object object)
           
 java.lang.String toString()
          Returns the Tuple (A, B)
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

serialVersionUID

private static final long serialVersionUID
Serial Version UID

See Also:
Constant Field Values

a

private java.lang.Object a
A-Value


b

private java.lang.Object b
B-Value

Constructor Detail

Tuple

public Tuple()
Constructor for Tuple


Tuple

public Tuple(java.lang.Object a,
             java.lang.Object b)
Constructor for Tuple

Parameters:
a - A-Value
b - B-Value
Method Detail

a

public java.lang.Object a()
Returns the A-Value

Returns:
Object

b

public java.lang.Object b()
Returns the B-Value

Returns:
Object

a

public void a(java.lang.Object object)
Parameters:
object - A-Value

b

public void b(java.lang.Object object)
Parameters:
object - B-Value

toString

public java.lang.String toString()
Returns the Tuple (A, B)

Returns:
String


Copyright © 2000-2005 SCC Informationssysteme GmbH. All Rights Reserved.