Uses of Interface
org.tbull.util.Grepper

Packages that use Grepper
org.tbull.util Very basic utilities. 
 

Uses of Grepper in org.tbull.util
 

Classes in org.tbull.util that implement Grepper
static class Grepper.ANDGrepper<E>
          A Grepper that chains multiple client greppers logical-AND-wise.
static class Grepper.InverseGrepper<E>
          A Grepper that inverts the results of another grepper.
static class Grepper.NULLGrepper<E>
          A Grepper that rejects all elements, producing an empty result list.
static class Grepper.ONEGrepper<E>
          A Grepper that lets all elements pass.
static class Grepper.ORGrepper<E>
          A Grepper that chains multiple client greppers logical-OR-wise.
static class Grepper.RegexGrepper
          A Grepper that matches string-like elements against a regular expression.
 

Methods in org.tbull.util with parameters of type Grepper
static
<E> List<E>
Collections.grep(Grepper<? super E> grepper, Iterable<E>... lists)
          Greps through one or more Iterables, returning the results in a list.
static
<E> List<E>
Collections.grep(Grepper<? super E> grepper, Iterator<E>... iterators)
          Greps from one or more Iterators, returning the results in a list.
static
<E> List<? super E>
Collections.grep(List<? super E> dest, Grepper<? super E> grepper, Iterable<E>... lists)
          Greps through one or more Iterables, writing the results to a destination list.
static
<E> List<? super E>
Collections.grep(List<? super E> dest, Grepper<? super E> grepper, Iterator<E>... iterators)
          Greps from one or more Iterators, writing the results to a destination list.
static
<E> int
Collections.grepCount(Grepper<? super E> grepper, Iterable<E>... lists)
          Counts how many items the grepper picks from the input elements.
static
<E> int
Collections.grepCount(Grepper<? super E> grepper, Iterator<E>... iterators)
          Counts how many items the grepper picks from the input elements.
static
<E> IterableIterator<E>
Collections.grepLazy(Grepper<? super E> grepper, Iterable<E>... lists)
          Greps through one or more Iterables, returning one result element at a time.
static
<E> IterableIterator<E>
Collections.grepLazy(Grepper<? super E> grepper, Iterator<E>... iterators)
          Greps through one or more Iterators, returning one result element at a time.
 

Constructors in org.tbull.util with parameters of type Grepper
Collections.LazyGrepIterator(Grepper<? super E> grepper, Iterable<E>[] lists)
          Constructs a LazyGrepIterator that iterates over the given iterables (lists).
Collections.LazyGrepIterator(Grepper<? super E> grepper, Iterator<E>[] iterators)
          Constructs a LazyGrepIterator that fetches from the given iterators.
Grepper.InverseGrepper(Grepper<E> grepper)