Class Pair

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

public class Pair extends java.lang.Object implements java.lang.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

    Fields
    Modifier and Type
    Field
    Description
    int
     
    int
     
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    int
    compareTo(Pair pair2)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • proxyIdA

      public int proxyIdA
    • proxyIdB

      public int proxyIdB
  • Constructor Details

    • Pair

      public Pair()
  • Method Details

    • compareTo

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