prefuse.util
Class ObjectPair<O>

java.lang.Object
  extended by prefuse.util.ObjectPair<O>

public class ObjectPair<O>
extends java.lang.Object

Represents a pair of objects where the pair order does not matter. TODO: add some more documentation.

Author:
Anton Marsden

Constructor Summary
ObjectPair(O a, O b)
           
 
Method Summary
 boolean equals(java.lang.Object other)
           
 O getA()
           
 O getB()
           
 int hashCode()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ObjectPair

public ObjectPair(O a,
                  O b)
Method Detail

getA

public O getA()

getB

public O getB()

equals

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

hashCode

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


Copyright © 2008 Regents of the University of California