T
- type of the underlying result store in the MultiResultpublic final class ImmutableMultiResult<T> extends MultiResult<T>
Constructor and Description |
---|
ImmutableMultiResult(MultiResult<T> multiResult) |
Modifier and Type | Method and Description |
---|---|
void |
add(T result) |
void |
addNullOrEmptyTarget() |
List<T> |
getResults() |
boolean |
isEmpty() |
boolean |
isNullEmptyTarget() |
void |
setNullOrEmptyTarget(boolean nullOrEmptyTarget) |
public ImmutableMultiResult(MultiResult<T> multiResult)
public void add(T result)
add
in class MultiResult<T>
result
- result to be added to this MultiResultpublic void addNullOrEmptyTarget()
addNullOrEmptyTarget
in class MultiResult<T>
public List<T> getResults()
getResults
in class MultiResult<T>
public boolean isEmpty()
isEmpty
in class MultiResult<T>
public boolean isNullEmptyTarget()
isNullEmptyTarget
in class MultiResult<T>
public void setNullOrEmptyTarget(boolean nullOrEmptyTarget)
setNullOrEmptyTarget
in class MultiResult<T>
Copyright © 2018 Hazelcast, Inc.. All Rights Reserved.