Key - The map key type.public final class MapKeySource<Key> extends AbstractSource<Key>
| Constructor and Description |
|---|
MapKeySource(Map<? extends Key,?> map)
Creates a new
MapKeySource. |
| Modifier and Type | Method and Description |
|---|---|
Map<? extends Key,?> |
getMap()
Returns the
Map of payload keys this MapKeySource has
been created with. |
ProtectedIterator<Key> |
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 MapKeySource(Map<? extends Key,?> map) throws IllegalArgumentException
MapKeySource.map - The Map of payload keys to be used.IllegalArgumentException - If the given Map of payload keys is null.public Map<? extends Key,?> getMap()
Map of payload keys this MapKeySource has
been created with.Map of payload keys.public int size()
SourceSource.Source.public ProtectedIterator<Key> iterator()
ProtectedIterableProtectedIterator.ProtectedIterator.Copyright © 2016–2017 Markenwerk – Gesellschaft für markenbildende Maßnahmen mbH. All rights reserved.