org.openflow.util
Class LongPair

java.lang.Object
  extended by org.openflow.util.LongPair

public class LongPair
extends java.lang.Object

A pair of long values.

Author:
David Underhill

Field Summary
 long a
          the smaller of the two values
 long b
          the larger of the two values
 int hash
          the hash code
 
Constructor Summary
LongPair(long l1, long l2)
          create a new LongPair
 
Method Summary
 boolean equals(java.lang.Object o)
           
 int hashCode()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

a

public final long a
the smaller of the two values


b

public final long b
the larger of the two values


hash

public final int hash
the hash code

Constructor Detail

LongPair

public LongPair(long l1,
                long l2)
create a new LongPair

Method Detail

hashCode

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

equals

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