public final class CompactStringObjectMap extends Object
Map
, but for special case of key always being
String
and using more compact (and memory-access
friendly) hashing scheme. Assumption is also that keys are typically
intern()ed.
Generics are not used to avoid bridge methods and since these maps are not exposed as part of external API.
Modifier and Type | Method and Description |
---|---|
static <T> CompactStringObjectMap |
construct(Map<String,T> all) |
Object |
find(String key) |
List<String> |
keys() |
Copyright © 2014–2015 FasterXML. All rights reserved.