|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
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
|
Collections.grep(Grepper<? super E> grepper,
Iterable<E>... lists)
Greps through one or more Iterable s, returning the results in a list. |
|
static
|
Collections.grep(Grepper<? super E> grepper,
Iterator<E>... iterators)
Greps from one or more Iterator s, returning the results in a list. |
|
static
|
Collections.grep(List<? super E> dest,
Grepper<? super E> grepper,
Iterable<E>... lists)
Greps through one or more Iterable s, writing the results to a destination list. |
|
static
|
Collections.grep(List<? super E> dest,
Grepper<? super E> grepper,
Iterator<E>... iterators)
Greps from one or more Iterator s, writing the results to a destination list. |
|
static
|
Collections.grepCount(Grepper<? super E> grepper,
Iterable<E>... lists)
Counts how many items the grepper picks from the input elements. |
|
static
|
Collections.grepCount(Grepper<? super E> grepper,
Iterator<E>... iterators)
Counts how many items the grepper picks from the input elements. |
|
static
|
Collections.grepLazy(Grepper<? super E> grepper,
Iterable<E>... lists)
Greps through one or more Iterable s, returning one result element at a time. |
|
static
|
Collections.grepLazy(Grepper<? super E> grepper,
Iterator<E>... iterators)
Greps through one or more Iterator s, 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)
|
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |