get uo early(Java)