| Package | Description |
|---|---|
| com.gs.collections.impl.block.predicate |
This package contains implementations of
Predicate and Predicate2. |
| com.gs.collections.impl.utility |
This package contains static utilities that provide iteration pattern implementations which work with JCF collections.
|
| Modifier and Type | Field and Description |
|---|---|
static CodePointPredicate |
CodePointPredicate.IS_DIGIT |
static CodePointPredicate |
CodePointPredicate.IS_LETTER |
static CodePointPredicate |
CodePointPredicate.IS_LETTER_OR_DIGIT |
static CodePointPredicate |
CodePointPredicate.IS_LOWERCASE |
static CodePointPredicate |
CodePointPredicate.IS_UNDEFINED |
static CodePointPredicate |
CodePointPredicate.IS_UPPERCASE |
static CodePointPredicate |
CodePointPredicate.IS_WHITESPACE |
| Modifier and Type | Method and Description |
|---|---|
static boolean |
StringIterate.allSatisfy(java.lang.String string,
CodePointPredicate predicate) |
static boolean |
StringIterate.anySatisfy(java.lang.String string,
CodePointPredicate predicate) |
static int |
StringIterate.count(java.lang.String string,
CodePointPredicate predicate)
Count the number of elements that return true for the specified
predicate. |
static boolean |
StringIterate.noneSatisfy(java.lang.String string,
CodePointPredicate predicate) |
static java.lang.String |
StringIterate.reject(java.lang.String string,
CodePointPredicate predicate) |
static java.lang.String |
StringIterate.select(java.lang.String string,
CodePointPredicate predicate) |