Package com.exedio.cope
Class LikeCondition
- java.lang.Object
-
- com.exedio.cope.Condition
-
- com.exedio.cope.LikeCondition
-
- All Implemented Interfaces:
Serializable
public final class LikeCondition extends Condition
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description LikeCondition(StringFunction function, String value)
Creates a new LikeCondition.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static LikeCondition
contains(StringFunction function, String value)
static LikeCondition
endsWith(StringFunction function, String value)
boolean
equals(Object other)
int
hashCode()
static LikeCondition
startsWith(StringFunction function, String value)
-
-
-
Field Detail
-
function
public final StringFunction function
-
value
public final String value
-
WILDCARD
public static final char WILDCARD
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
LikeCondition
public LikeCondition(StringFunction function, String value)
Creates a new LikeCondition. Instead of using this constructor directly, you may want to use the more convenient wrapper methodStringFunction.like(String)
.
-
-
Method Detail
-
startsWith
public static LikeCondition startsWith(StringFunction function, String value)
-
endsWith
public static LikeCondition endsWith(StringFunction function, String value)
-
contains
public static LikeCondition contains(StringFunction function, String value)
-
-