K - the key typeV - the value typepublic final class MapValue<K,V> extends Object implements Iterable<MapValue.Entry<K,V>>
| Modifier and Type | Class and Description |
|---|---|
static class |
MapValue.Entry<K,V>
An entry of
MapValue. |
| Constructor and Description |
|---|
MapValue(AstAttributeElement declaration)
Creates a new instance.
|
| Modifier and Type | Method and Description |
|---|---|
void |
add(AstAttributeValueMap.Entry decl,
K key,
V value)
Adds an entry.
|
AstAttributeElement |
getDeclaration()
Returns the declaration.
|
List<MapValue.Entry<K,V>> |
getEntries()
Returns the entries.
|
Iterator<MapValue.Entry<K,V>> |
iterator() |
String |
toString() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitforEach, spliteratorpublic MapValue(AstAttributeElement declaration)
declaration - the original declarationpublic void add(AstAttributeValueMap.Entry decl, K key, V value)
decl - the entry declarationkey - the keyvalue - the valuepublic AstAttributeElement getDeclaration()
public List<MapValue.Entry<K,V>> getEntries()
public Iterator<MapValue.Entry<K,V>> iterator()
iterator in interface Iterable<MapValue.Entry<K,V>>Copyright © 2011–2019 Asakusa Framework Team. All rights reserved.