@Override
    public int collideWith(Collidable other, CollisionResults results) {
        if (other instanceof Ray) {
            Ray ray = (Ray) other;
            return collideWithRay(ray, results);
        } else if (other instanceof Triangle) {
            Triangle t = (Triangle) other;
            return collideWithTri(t, results);
        } else if (other instanceof BoundingVolume) {
            if (intersects((BoundingVolume) other)) {
                CollisionResult result = new CollisionResult();
                results.addCollision(result);
                return 1;
            }
            return 0;
        } else if (other instanceof Spatial) {
            return other.collideWith(this, results);
        } else {
            throw new UnsupportedCollisionException();
        }
    }
<code>toString</code> returns the string representation of this object.
The form is: "Radius: RRR.SSSS Center: vector".

@return the string representation of this.
jme3-core/src/main/java/com/jme3/bounding/BoundingSphere.java