gnu.prolog.database
Class Pair<L,R>
java.lang.Object
   gnu.prolog.database.Pair<L,R>
gnu.prolog.database.Pair<L,R>
- Type Parameters:
- L-
- R-
- public class Pair<L,R> 
- extends Object
A pair of a LeftType (L) and a RightType (R)
 
 (Because java doesn't do tuples)
- Author:
- Daniel Thomas
| Field Summary | 
|  L | leftThe left part of the tuple
 | 
|  R | rightThe right part of the tuple
 | 
 
| Constructor Summary | 
| Pair(L left,
     R right)Construct a tuple with a left and right part
 | 
 
 
| Methods inherited from class java.lang.Object | 
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
 
left
public L left
- The left part of the tuple
 
 
right
public R right
- The right part of the tuple
 
 
Pair
public Pair(L left,
            R right)
- Construct a tuple with a left and right part
 
- Parameters:
- left- the left part
- right- the right part