com.atlassian.bamboo.utils
Class Pair<A,B>

java.lang.Object
  extended by com.atlassian.bamboo.utils.Pair<A,B>
Type Parameters:
A - first item of pair
B - second item of pair

public class Pair<A,B>
extends java.lang.Object

A simple Pair class


Field Summary
 A first
           
 B second
           
 
Constructor Summary
Pair(A first, B second)
           
 
Method Summary
 A getFirst()
           
 B getSecond()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

first

public final A first

second

public final B second
Constructor Detail

Pair

public Pair(A first,
            B second)
Method Detail

getFirst

public A getFirst()

getSecond

public B getSecond()


Copyright © 2010 Atlassian. All Rights Reserved.