jbcl.util Package
java.lang.Object +----com.borland.jbcl.util.Pair
Variables Constructors Properties Methods
Implements Serializable
The Pair
component is simply a container class for two Objects. A Pair's
two Objects can be referenced via the public class variables first
and second
.
public Object firstThe first
Object
in the pair.
public Object secondThe second
Object
in the pair.
public Pair()Constructs a
Pair
component with no parameters.
public Pair(Pair pair)Constructs a
Pair
component with the specified pair.
public Pair(Object first, Object second)Constructs a
Pair
component with the specified first
and second
objects.