@InterfaceAudience.Private public final class UniqueIndexMap<T> extends Object implements Serializable
Modifier and Type | Field and Description |
---|---|
(package private) ConcurrentHashMap<T,Integer> |
mForwardMap |
(package private) AtomicInteger |
mIndex |
(package private) ConcurrentHashMap<Integer,T> |
mReverseMap |
private static long |
serialVersionUID |
Constructor and Description |
---|
UniqueIndexMap() |
Modifier and Type | Method and Description |
---|---|
(package private) int |
map(T parameter) |
(package private) T |
unmap(int leni) |
private static final long serialVersionUID
ConcurrentHashMap<T,Integer> mForwardMap
ConcurrentHashMap<Integer,T> mReverseMap
AtomicInteger mIndex
public UniqueIndexMap()
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.