Class CBFilters
java.lang.Object
com.io7m.cedarbridge.schema.parser.internal.CBFilters
Convenient filters.
-
Method Summary
Modifier and TypeMethodDescriptionstatic <T> List<T>filter(Collection<?> items, Class<T> clazz) Retrieve all elements of classclazzfrom the given list.
-
Method Details
-
filter
Retrieve all elements of classclazzfrom the given list.- Type Parameters:
T- The type of list elements- Parameters:
items- The input listclazz- The class- Returns:
- The elements of class
clazz
-