org.codeartisans.java.toolbox
Class Couple<L,R>

java.lang.Object
  extended by org.codeartisans.java.toolbox.Couple<L,R>
Direct Known Subclasses:
Pair

public class Couple<L,R>
extends Object


Constructor Summary
Couple(L left, R right)
           
 
Method Summary
 boolean equals(Object obj)
           
 int hashCode()
           
 L left()
           
 R right()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Couple

public Couple(L left,
              R right)
Method Detail

left

public final L left()

right

public final R right()

equals

public boolean equals(Object obj)
Overrides:
equals in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object


Copyright © 2011. All Rights Reserved.