@ Pure public static < T > Iterable < T > filterNull ( Iterable < T > unfiltered ) { return Iterables . filter ( unfiltered , Predicates . notNull ( ) ) ; }
Returns a new iterable filtering any null references .