de.jaret.util.misc
Class Pair<L,R>

java.lang.Object
  extended by de.jaret.util.misc.Pair<L,R>

public class Pair<L,R>
extends Object


Constructor Summary
Pair(L left, R right)
           
 
Method Summary
static boolean equal(Object o1, Object o2)
           
 boolean equals(Object o)
           
 L getLeft()
           
 R getRight()
           
 int hashCode()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Pair

public Pair(L left,
            R right)
Method Detail

getRight

public R getRight()

getLeft

public L getLeft()

equals

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

equal

public static final boolean equal(Object o1,
                                  Object o2)

hashCode

public int hashCode()
Overrides:
hashCode in class Object


Copyright © 2013. All Rights Reserved.