Java Condition Model