jbcl.util Package 

Pair component

java.lang.Object
   +----com.borland.jbcl.util.Pair

About the Pair component

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.


Pair variables

Variables implemented in this class

Pair constructors

Pair properties

*Read-only properties **Write-only properties

Properties implemented in java.lang.Object

Pair methods

Methods implemented in java.lang.Object


Pair variables

first

  public Object first
The first Object in the pair.

second

  public Object second
The second Object in the pair.

Pair constructors

Pair()

  public Pair()
Constructs a Pair component with no parameters.

Pair(com.borland.jbcl.util.Pair)

  public Pair(Pair pair)
Constructs a Pair component with the specified pair.

Pair(java.lang.Object, java.lang.Object)

  public Pair(Object first, Object second)
Constructs a Pair component with the specified first and second objects.