public class IsNotIn<T> extends AbstractListValueCondition<T>
emptyCallback, values
Modifier | Constructor and Description |
---|---|
protected |
IsNotIn(Collection<T> values) |
protected |
IsNotIn(Collection<T> values,
Callback emptyCallback) |
Modifier and Type | Method and Description |
---|---|
static <T> IsNotIn<T> |
empty() |
IsNotIn<T> |
filter(Predicate<? super T> predicate)
If renderable, apply the predicate to each value in the list and return a new condition with the filtered values.
|
<R> IsNotIn<R> |
map(Function<? super T,? extends R> mapper)
If renderable, apply the mapping to each value in the list return a new condition with the mapped values.
|
static <T> IsNotIn<T> |
of(Collection<T> values) |
static <T> IsNotIn<T> |
of(T... values) |
String |
renderCondition(String columnName,
Stream<String> placeholders) |
IsNotIn<T> |
then(UnaryOperator<Stream<T>> valueStreamTransformer)
Deprecated.
replaced by
map(Function) and filter(Predicate) |
IsNotIn<T> |
withListEmptyCallback(Callback callback) |
accept, filterSupport, mapSupport, mapValues, renderingSkipped, shouldRender
protected IsNotIn(Collection<T> values)
protected IsNotIn(Collection<T> values, Callback emptyCallback)
public static <T> IsNotIn<T> empty()
public String renderCondition(String columnName, Stream<String> placeholders)
renderCondition
in class AbstractListValueCondition<T>
public IsNotIn<T> withListEmptyCallback(Callback callback)
withListEmptyCallback
in class AbstractListValueCondition<T>
@Deprecated public IsNotIn<T> then(UnaryOperator<Stream<T>> valueStreamTransformer)
map(Function)
and filter(Predicate)
valueStreamTransformer
- a UnaryOperator that will transform the value stream before
the values are placed in the parameter mappublic IsNotIn<T> filter(Predicate<? super T> predicate)
AbstractListValueCondition
filter
in class AbstractListValueCondition<T>
predicate
- predicate applied to the values, if renderablepublic <R> IsNotIn<R> map(Function<? super T,? extends R> mapper)
R
- type of the new conditionmapper
- a mapping function to apply to the values, if renderable@SafeVarargs public static <T> IsNotIn<T> of(T... values)
public static <T> IsNotIn<T> of(Collection<T> values)
Copyright © 2016–2021 MyBatis.org. All rights reserved.