public class ListVariableOperandImpl<T> extends ComplexVariableOperandImpl implements ListVariableOperand<T>
Default implementation of the ComplexVariableOperand
interface.
Constructor and Description |
---|
ListVariableOperandImpl(String variableName,
com.google.common.reflect.TypeToken<T> entryType)
Creates a new operand instance.
|
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.
|
exists
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
exists
public Predicate containsNull()
ListVariableOperand
Builds a predicate that checks if the value contains a null entry.
containsNull
in interface ListVariableOperand<T>
public Predicate containsNonNull()
ListVariableOperand
Builds a predicate that checks if the value contains a non-null entry.
containsNonNull
in interface ListVariableOperand<T>
public Predicate contains(T entry)
ListVariableOperand
Builds 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)
ListVariableOperand
Builds 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.