public class IsNotBetween<T> extends AbstractTwoValueCondition<T>
Modifier and Type | Class and Description |
---|---|
static class |
IsNotBetween.Builder<T> |
static class |
IsNotBetween.WhenPresentBuilder<T> |
value1, value2
Modifier | Constructor and Description |
---|---|
protected |
IsNotBetween(T value1,
T value2) |
Modifier and Type | Method and Description |
---|---|
static <T> IsNotBetween<T> |
empty() |
IsNotBetween<T> |
filter(BiPredicate<? super T,? super T> predicate)
If renderable and the values match the predicate, returns this condition.
|
IsNotBetween<T> |
filter(Predicate<? super T> predicate)
If renderable and both values match the predicate, returns this condition.
|
static <T> IsNotBetween.Builder<T> |
isNotBetween(T value1) |
static <T> IsNotBetween.WhenPresentBuilder<T> |
isNotBetweenWhenPresent(T value1) |
<R> IsNotBetween<R> |
map(Function<? super T,? extends R> mapper)
If renderable, apply the mapping to both values and return a new condition with the new values.
|
<R> IsNotBetween<R> |
map(Function<? super T,? extends R> mapper1,
Function<? super T,? extends R> mapper2)
If renderable, apply the mappings to the values and return a new condition with the new values.
|
String |
renderCondition(String columnName,
String placeholder1,
String placeholder2) |
IsNotBetween<T> |
then(UnaryOperator<T> mapper1,
UnaryOperator<T> mapper2)
Deprecated.
replaced by
map(Function, Function) |
IsNotBetween<T> |
when(BiPredicate<T,T> predicate)
Deprecated.
replaced by
filter(BiPredicate) |
accept, filterSupport, filterSupport, mapSupport, value1, value2
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
renderingSkipped, shouldRender
public static <T> IsNotBetween<T> empty()
public String renderCondition(String columnName, String placeholder1, String placeholder2)
renderCondition
in class AbstractTwoValueCondition<T>
@Deprecated public IsNotBetween<T> when(BiPredicate<T,T> predicate)
filter(BiPredicate)
predicate
- predicate applied to the values, if renderable@Deprecated public IsNotBetween<T> then(UnaryOperator<T> mapper1, UnaryOperator<T> mapper2)
map(Function, Function)
mapper1
- a mapping function to apply to the first value, if renderablemapper2
- a mapping function to apply to the second value, if renderablepublic IsNotBetween<T> filter(BiPredicate<? super T,? super T> predicate)
AbstractTwoValueCondition
filter
in class AbstractTwoValueCondition<T>
predicate
- predicate applied to the values, if renderablepublic IsNotBetween<T> filter(Predicate<? super T> predicate)
AbstractTwoValueCondition
filter
in class AbstractTwoValueCondition<T>
predicate
- predicate applied to both values, if renderablepublic <R> IsNotBetween<R> map(Function<? super T,? extends R> mapper1, Function<? super T,? extends R> mapper2)
R
- type of the new conditionmapper1
- a mapping function to apply to the first value, if renderablemapper2
- a mapping function to apply to the second value, if renderablepublic <R> IsNotBetween<R> map(Function<? super T,? extends R> mapper)
R
- type of the new conditionmapper
- a mapping function to apply to both values, if renderablepublic static <T> IsNotBetween.Builder<T> isNotBetween(T value1)
public static <T> IsNotBetween.WhenPresentBuilder<T> isNotBetweenWhenPresent(T value1)
Copyright © 2016–2021 MyBatis.org. All rights reserved.