Hank Finley - 2012-09-18

Hi All,
I am new to JTS so forgive the simple question.
How can I create a switch statement for geometry types in Java, is it possible?

e.g.

Switch (Geometry){
    Case (Point){
        break;
    }
    Case (Linestring){
        break;
    }
    Case (Polyline){
        break;
    }
}

Regards Hank