public class FontTable extends HashMap<Integer,FontDescriptor>
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
Constructor and Description |
---|
FontTable() |
Modifier and Type | Method and Description |
---|---|
FontDescriptor |
get(Object key)
Override get() to return a null object when no matching font is in the
font table.
|
clear, clone, compute, computeIfAbsent, computeIfPresent, containsKey, containsValue, entrySet, forEach, getOrDefault, isEmpty, keySet, merge, put, putAll, putIfAbsent, remove, remove, replace, replace, replaceAll, size, values
equals, hashCode, toString
public FontDescriptor get(Object key)
get
in interface Map<Integer,FontDescriptor>
get
in class HashMap<Integer,FontDescriptor>
key
- the font indexCopyright © 2019 Habarisoft. All rights reserved.