Suppose I have the following
List<ENTITY> lt = new ArrayList<ENTITY>();
/* Constructor, getters, setters... */
//stream the elements, map to their fields, and get the max return lt.stream().max((e1, e2) -> Integer.compare(e1.filed, e2.filed)).orElse(/* default */);
Just one of the many applications of Java 8's stream api.
Though I would suggest working on some coding conventions first.