public class ListValueImpl<T,U> extends BaseValueAccessor<List<T>,List<U>> implements ListValue<T>
| Constructor and Description |
|---|
ListValueImpl(String name,
ValueConverter<T,U> entryConverter,
ListVariableOperand<U> listVariableOperand) |
| Modifier and Type | Method and Description |
|---|---|
Predicate |
contains(T entry)
Builds a predicate that checks if the value contains the given entry.
|
Predicate |
containsAny(Collection<T> entries)
Builds a predicate that checks if the value contains any of the given entries.
|
Predicate |
containsNonNull()
Builds a predicate that checks if the value contains a non-null entry.
|
Predicate |
containsNull()
Builds a predicate that checks if the value contains a null entry.
|
Predicate |
exists()
Builds a predicate that checks if the value exists.
|
getName, getValueConverterequals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetName, getValueConverterpublic ListValueImpl(String name, ValueConverter<T,U> entryConverter, ListVariableOperand<U> listVariableOperand)
public Predicate exists()
ComplexVariableOperandBuilds a predicate that checks if the value exists.
For fields, this will always match. For variables it will match if a variable with the given name is present.
exists in interface ComplexVariableOperandpublic Predicate containsNull()
ListVariableOperandBuilds a predicate that checks if the value contains a null entry.
containsNull in interface ListVariableOperand<T>public Predicate containsNonNull()
ListVariableOperandBuilds a predicate that checks if the value contains a non-null entry.
containsNonNull in interface ListVariableOperand<T>public Predicate contains(T entry)
ListVariableOperandBuilds a predicate that checks if the value contains the given entry.
contains in interface ListVariableOperand<T>entry - the entry to be checkedpublic Predicate containsAny(Collection<T> entries)
ListVariableOperandBuilds a predicate that checks if the value contains any of the given entries.
containsAny in interface ListVariableOperand<T>entries - the entries to be checkedCopyright © 2010 - 2019 edorasware ag. All Rights Reserved.