java.lang.Object
com.io7m.cedarbridge.schema.parser.internal.CBFilters

public final class CBFilters extends Object
Convenient filters.
  • Method Details

    • filter

      public static <T> List<T> filter(Collection<?> items, Class<T> clazz)
      Retrieve all elements of class clazz from the given list.
      Type Parameters:
      T - The type of list elements
      Parameters:
      items - The input list
      clazz - The class
      Returns:
      The elements of class clazz