MinieLibrary/src/main/java/com/jme3/bullet/collision/shapes/CollisionShape.java
/**
     * Compare (by ID) with the specified collision shape.
     *
     * @param other the other shape (not null, unaffected)
     * @return 0 if the shapes have the same ID; negative if this comes before
     * other; positive if this comes after other
     */
Compare (by ID) with the specified collision shape.
@param other the other shape (not null, unaffected)
@return 0 if the shapes have the same ID; negative if this comes before
other; positive if this comes after other
Compare ( by ID ) with the specified collision shape . @param other the other shape ( not null unaffected ) @return 0 if the shapes have the same ID ; negative if this comes before other ; positive if this comes after other
@Override
    public int compareTo(CollisionShape other) {
        long thisId = nativeId();
        long otherId = other.nativeId();
        int result = Long.compare(thisId, otherId);
        return result;
    }
@ Override public int compareTo ( CollisionShape other ) { long thisId = nativeId ( ) ; long otherId = other . nativeId ( ) ; int result = Long . compare ( thisId , otherId ) ; return result ; }
Compare (by ID) with the specified collision shape.
Compare ( by ID ) with the specified collision shape .