turtlestate javadoc