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
 DynamicTreeNode proxyA
           
 DynamicTreeNode proxyB
           
 
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

proxyA

public DynamicTreeNode proxyA

proxyB

public DynamicTreeNode proxyB
Constructor Detail

Pair

public Pair()
Method Detail

compareTo

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


Copyright © 2011. All Rights Reserved.