org.fest.swing.util
Class Pair<I,II>
java.lang.Object
org.fest.swing.util.Pair<I,II>
- Type Parameters:
I
- the generic type of the 1st. value in this tuple.II
- the generic type of the 2nd. value in this tuple.
- Direct Known Subclasses:
- Triple
public class Pair<I,II>
- extends Object
Understands a tuple of size 2.
- Author:
- Yvonne Wang, Alex Ruiz
Field Summary |
I |
i
The first value in this tuple. |
II |
ii
The second value in this tuple. |
Constructor Summary |
Pair(I i,
II ii)
Creates a new Pair . |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
i
public final I i
- The first value in this tuple.
ii
public final II ii
- The second value in this tuple.
Pair
public Pair(I i,
II ii)
- Creates a new
Pair
.
- Parameters:
i
- the 1st. value in this tuple.ii
- the 2nd. value in this tuple.
Copyright © 2007-2011 FEST (Fixtures for Easy Software Testing). All Rights Reserved.