List of utility methods to do Collection Filter
Collection | filter(final Collection> objects, final Class filter final Collection<T> filtered = new ArrayList<T>(); for (final Object object : objects) { if (filterType.isInstance(object)) { filtered.add(filterType.cast(object)); return filtered; |