[java] Finding all objects that have a given property inside a collection