Value - The map value type.public final class MapValueSource<Value> extends AbstractSource<Value>
| Constructor and Description |
|---|
MapValueSource(Map<?,? extends Value> map)
Creates a new
MapValueSource. |
| Modifier and Type | Method and Description |
|---|---|
Map<?,? extends Value> |
getMap()
Returns the
Map of payload values this MapKeySource has
been created with. |
ProtectedIterator<Value> |
iterator()
Returns a
ProtectedIterator. |
int |
size()
Returns the number of payload values of this
Source. |
contains, containsAll, containsAll, containsMatch, createPredicate, doGetFirst, firstIndexOf, getAll, getAllMatches, getFirst, getFirst, getFirstMatch, isEmpty, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitforEach, spliteratorpublic MapValueSource(Map<?,? extends Value> map) throws IllegalArgumentException
MapValueSource.map - The Map of payload values to be used.IllegalArgumentException - If the given Map of payload values to be used is
null.public Map<?,? extends Value> getMap()
Map of payload values this MapKeySource has
been created with.Map of payload values.public int size()
SourceSource.Source.public ProtectedIterator<Value> iterator()
ProtectedIterableProtectedIterator.ProtectedIterator.Copyright © 2016–2017 Markenwerk – Gesellschaft für markenbildende Maßnahmen mbH. All rights reserved.