org.jbox2d.collision.broadphase
Class Pair

java.lang.Object
  extended by org.jbox2d.collision.broadphase.Pair
All Implemented Interfaces:
Comparable<Pair>

public class Pair
extends Object
implements Comparable<Pair>

Java note: at the "creation" of each node, a random key is given to that node, and that's what we sort from.


Field Summary
 int proxyIdA
           
 int proxyIdB
           
 
Constructor Summary
Pair()
           
 
Method Summary
 int compareTo(Pair pair2)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

proxyIdA

public int proxyIdA

proxyIdB

public int proxyIdB
Constructor Detail

Pair

public Pair()
Method Detail

compareTo

public int compareTo(Pair pair2)
Specified by:
compareTo in interface Comparable<Pair>


Copyright © 2013. All Rights Reserved.