Java Void Functionobject Based On A True