@Override
    public int collideWith(Collidable other, CollisionResults results)
            throws UnsupportedCollisionException {
        if (other instanceof AbstractTriangle) {
            AbstractTriangle tri = (AbstractTriangle) other;
            CollisionResult result = collideWithTriangle(tri);
            if (result != null) {
                results.addCollision(result);
                return 1;
            }
            return 0;
        } else if (other instanceof SweepSphere) {
            SweepSphere sph = (SweepSphere) other;

            CollisionResult result = collideWithSweepSphere(sph);
            if (result != null) {
                results.addCollision(result);
                return 1;
            }
            return 0;
        } else {
            throw new UnsupportedCollisionException();
        }
    }
No longer public.

@author Kirill Vainer
jme3-core/src/main/java/com/jme3/collision/SweepSphere.java