finish IsRotation.java