public class TextP extends P<String>
Predicate
values that can be used as String
filters.biPredicate, originalValue, value
Constructor and Description |
---|
TextP(BiPredicate<String,String> biPredicate,
String value) |
Modifier and Type | Method and Description |
---|---|
TextP |
clone() |
static TextP |
containing(String value)
Determines if String does contain the given value.
|
static TextP |
endingWith(String value)
Determines if String does start with the given value.
|
boolean |
equals(Object other) |
TextP |
negate() |
static TextP |
notContaining(String value)
Determines if String does not contain the given value.
|
static TextP |
notEndingWith(String value)
Determines if String does not start with the given value.
|
static TextP |
notRegex(String value)
Determines if String has no match with the given regex pattern and the reference implementation treats it as a
simple negation of the evaluation of the pattern match of
regex(String) . |
static TextP |
notStartingWith(String value)
Determines if String does not start with the given value.
|
static TextP |
regex(String value)
Determines if String has a match with the given regex pattern.
|
static TextP |
startingWith(String value)
Determines if String does start with the given value.
|
String |
toString() |
and, between, eq, getBiPredicate, getOriginalValue, getValue, gt, gte, hashCode, inside, lt, lte, neq, not, or, outside, setValue, test, test, within, within, without, without
public TextP(BiPredicate<String,String> biPredicate, String value)
public TextP negate()
public static TextP startingWith(String value)
public static TextP notStartingWith(String value)
public static TextP endingWith(String value)
public static TextP notEndingWith(String value)
public static TextP containing(String value)
public static TextP notContaining(String value)
public static TextP regex(String value)
public static TextP notRegex(String value)
regex(String)
.Copyright © 2013–2022 Apache Software Foundation. All rights reserved.