public final class StringPredicates2 extends Object
Modifier and Type | Method and Description |
---|---|
static Predicates2<String,String> |
contains()
Returns true if a String specified on the predicate is contained within a String passed to the the accept
method.
|
static Predicates2<String,String> |
endsWith()
Returns true if a String passed to the the accept method ends with the string specified on the predicate.
|
static Predicates2<String,String> |
equalsIgnoreCase() |
static Predicates2<String,String> |
matches() |
static Predicates2<String,String> |
notContains()
Returns true if a String specified on the predicate is contained within a String passed to the the accept
method.
|
static Predicates2<String,String> |
notEndsWith()
Returns false if a String passed to the the accept method ends with the string specified on the predicate.
|
static Predicates2<String,String> |
notEqualsIgnoreCase() |
static Predicates2<String,String> |
notStartsWith()
Returns false if a String passed to the the accept method starts with the string specified on the predicate.
|
static Predicates2<String,String> |
startsWith()
Returns true if a String passed to the the accept method starts with the string specified on the predicate.
|
public static Predicates2<String,String> contains()
public static Predicates2<String,String> notContains()
public static Predicates2<String,String> startsWith()
public static Predicates2<String,String> notStartsWith()
public static Predicates2<String,String> endsWith()
public static Predicates2<String,String> notEndsWith()
public static Predicates2<String,String> equalsIgnoreCase()
public static Predicates2<String,String> notEqualsIgnoreCase()
public static Predicates2<String,String> matches()
Copyright © 2004–2017. All rights reserved.