public abstract static class AqdefObjectModel.Entries<E extends AqdefObjectModel.AbstractEntry<I>,I> extends HashMap<KKey,E> implements IHasKKeyValues
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
void |
forEachEntry(Consumer<E> action) |
E |
get(KKey key) |
I |
getIndex() |
<T> T |
getValue(KKey key) |
<T> T |
getValue(KKey key,
T defaultValue) |
<T> T |
getValue(String key) |
<T> T |
getValue(String key,
T defaultValue) |
int |
hashCode() |
protected abstract E |
newEntry(KKey key,
I index,
Object value) |
void |
put(E entry) |
E |
put(KKey key,
E entry) |
void |
put(KKey key,
Object value) |
void |
put(String key,
Object value) |
void |
putAll(Collection<? extends E> entries,
boolean overwriteExisting) |
void |
putAll(Map<? extends KKey,? extends E> entries,
boolean overwriteExisting) |
E |
remove(KKey key) |
E |
remove(String key) |
abstract AqdefObjectModel.Entries<E,I> |
withIndex(I index)
Creates a copy of this entries with a given index.
|
clear, clone, compute, computeIfAbsent, computeIfPresent, containsKey, containsValue, entrySet, forEach, get, getOrDefault, isEmpty, keySet, merge, putAll, putIfAbsent, remove, remove, replace, replace, replaceAll, size, valuestoStringpublic Entries(I index)
public void put(E entry)
public void putAll(Collection<? extends E> entries, boolean overwriteExisting)
public <T> T getValue(String key)
public <T> T getValue(String key, T defaultValue)
public <T> T getValue(KKey key, T defaultValue)
public <T> T getValue(KKey key)
getValue in interface IHasKKeyValuespublic I getIndex()
public abstract AqdefObjectModel.Entries<E,I> withIndex(I index)
index - public int hashCode()
hashCode in interface Map<KKey,E extends AqdefObjectModel.AbstractEntry<I>>hashCode in class AbstractMap<KKey,E extends AqdefObjectModel.AbstractEntry<I>>public boolean equals(Object obj)
equals in interface Map<KKey,E extends AqdefObjectModel.AbstractEntry<I>>equals in class AbstractMap<KKey,E extends AqdefObjectModel.AbstractEntry<I>>Copyright © 2018. All rights reserved.