K - The key typeV - The value typepublic class FormattedHashMap<K,V> extends LinkedHashMap<K,V>
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Constructor and Description |
|---|
FormattedHashMap()
Create a FormattedHashMap with default formatting.
|
FormattedHashMap(String format)
Create a FormattedHashMap with optional format string
|
| Modifier and Type | Method and Description |
|---|---|
String |
toString() |
clear, containsValue, entrySet, forEach, get, getOrDefault, keySet, removeEldestEntry, replaceAll, valuesclone, compute, computeIfAbsent, computeIfPresent, containsKey, isEmpty, merge, put, putAll, putIfAbsent, remove, remove, replace, replace, sizeequals, hashCodefinalize, getClass, notify, notifyAll, wait, wait, waitcompute, computeIfAbsent, computeIfPresent, containsKey, equals, hashCode, isEmpty, merge, put, putAll, putIfAbsent, remove, remove, replace, replace, sizepublic FormattedHashMap()
public FormattedHashMap(String format)
format - The format string to use for formatting the value, or null
to use the default toString() method.public String toString()
toString in class AbstractMap<K,V>Copyright © 2021 LSST. All rights reserved.