public final class CompactStringObjectMap
extends java.lang.Object
implements java.io.Serializable
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(java.util.Map<java.lang.String,T> all) |
java.lang.Object |
find(java.lang.String key) |
java.lang.Object |
findCaseInsensitive(java.lang.String key) |
java.util.List<java.lang.String> |
keys() |
public static <T> CompactStringObjectMap construct(java.util.Map<java.lang.String,T> all)
public java.lang.Object find(java.lang.String key)
public java.lang.Object findCaseInsensitive(java.lang.String key)
public java.util.List<java.lang.String> keys()
Copyright © 2010 - 2020 Adobe. All Rights Reserved