edu.illinois.cs.cogcomp.lbj.coref.util.aux
Class SamePair<T>

java.lang.Object
  extended by edu.illinois.cs.cogcomp.lbj.coref.util.aux.Pair<T,T>
      extended by edu.illinois.cs.cogcomp.lbj.coref.util.aux.SamePair<T>
All Implemented Interfaces:
java.io.Serializable

public class SamePair<T>
extends Pair<T,T>

A Pair that requires both members to be of the same type.

See Also:
Serialized Form

Field Summary
private static long serialVersionUID
           
 
Fields inherited from class edu.illinois.cs.cogcomp.lbj.coref.util.aux.Pair
a, b
 
Constructor Summary
SamePair()
           
SamePair(T _a, T _b)
           
 
Method Summary
static
<T> SamePair<T>
createSP(T _a, T _b)
           
 
Methods inherited from class edu.illinois.cs.cogcomp.lbj.coref.util.aux.Pair
create, equals, getFirst, getSecond, hashCode, setFirst, setSecond, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

serialVersionUID

private static final long serialVersionUID
See Also:
Constant Field Values
Constructor Detail

SamePair

public SamePair()

SamePair

public SamePair(T _a,
                T _b)
Method Detail

createSP

public static <T> SamePair<T> createSP(T _a,
                                       T _b)