Update State.java

Now it's a interface that's properly defined.