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