in with optional java