K - the key typeV - the value typepublic class MapEntry<K,V> extends Object implements Map.Entry<K,V>
| Modifier and Type | Method and Description |
|---|---|
static <K,V> Type<MapEntry<K,V>> |
concreteEntryType(Type<? extends Map<K,V>> mapType)
Returns the concrete
MapEntry<K,V> type that represents the entries of the given map |
static <K,V> Set<MapEntry<K,V>> |
entrySet(Map<K,V> map) |
static <K,V> Type<Map.Entry<K,V>> |
entryType(Type<? extends Map<K,V>> mapType)
Returns the
Map.Entry<K,V> type that represents the entries of the given map |
K |
getKey() |
V |
getValue() |
void |
setKey(K key) |
V |
setValue(V value) |
String |
toString() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitcomparingByKey, comparingByKey, comparingByValue, comparingByValue, equals, hashCodepublic V value
public void setKey(K key)
public static <K,V> Type<MapEntry<K,V>> concreteEntryType(Type<? extends Map<K,V>> mapType)
MapEntry<K,V> type that represents the entries of the given mapmapType - public static <K,V> Type<Map.Entry<K,V>> entryType(Type<? extends Map<K,V>> mapType)
Map.Entry<K,V> type that represents the entries of the given mapmapType - Copyright © 2019 Glasnost. All rights reserved.