Package com.io7m.cedarbridge.schema.parser.internal

# Class CBFilters

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

public final class CBFilters extends Object
Convenient filters.

- ## Method Summary

  Modifier and Type
  Method
  Description
  `static <T> List<T>`
  `filter(Collection<?> items, Class<T> clazz)`
  Retrieve all elements of class `clazz` from the given list.

  ### Methods inherited from class java.lang.Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- ## 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`