Class Pair
java.lang.Object
com.codename1.gaming.physics.box2d.collision.broadphase.Pair
- All Implemented Interfaces:
Comparable<Pair>
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
proxyIdA
public int proxyIdA -
proxyIdB
public int proxyIdB
-
-
Constructor Details
-
Pair
public Pair()
-
-
Method Details
-
compareTo
Description copied from interface:ComparableCompares this object to the specified object to determine their relative order.
Parameters
another: the object to compare to this instance.
Returns
- Specified by:
compareToin interfaceComparable<Pair>- Returns:
a negative integer if this instance is less than
another; a positive integer if this instance is greater thananother; 0 if this instance has the same order asanother.Throws
ClassCastException: @throws ClassCastException ifanothercannot be converted into something comparable tothisinstance.
-