com.intellij.openapi.util
Class Pair<A,B>
java.lang.Object
com.intellij.openapi.util.Pair<A,B>
public class Pair<A,B>
- extends java.lang.Object
|
Constructor Summary |
Pair(A first,
B second)
|
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
first
public final A first
second
public final B second
Pair
public Pair(A first,
B second)
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