com.intellij.openapi.util
Class Pair<A,B>

java.lang.Object
  extended by com.intellij.openapi.util.Pair<A,B>

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


Field Summary
 A first
           
 B second
           
 
Constructor Summary
Pair(A first, B second)
           
 
Method Summary
static
<A,B> Pair<A,B>
create(A first, B second)
           
 boolean equals(java.lang.Object o)
           
 A getFirst()
           
 B getSecond()
           
 int hashCode()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, 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()

create

public static <A,B> Pair<A,B> create(A first,
                                     B second)

equals

public final boolean equals(java.lang.Object o)
Overrides:
equals in class java.lang.Object

hashCode

public final int hashCode()
Overrides:
hashCode in class java.lang.Object

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object