Package org.apache.fop.afp.fonts
Class IntegerKeyStore<T>
- java.lang.Object
-
- org.apache.fop.afp.fonts.IntegerKeyStore<T>
-
class IntegerKeyStore<T> extends java.lang.Object
A simple compact data structure to model a sparse array
-
-
Field Summary
Fields Modifier and Type Field Description private java.util.Map<java.lang.Integer,java.util.ArrayList<T>>
arrays
private static int
RANGE_BIT_SIZE
private static int
RANGE_SIZE
-
Constructor Summary
Constructors Constructor Description IntegerKeyStore()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description T
get(java.lang.Integer index)
void
put(java.lang.Integer index, T value)
-
-
-
Field Detail
-
RANGE_BIT_SIZE
private static final int RANGE_BIT_SIZE
- See Also:
- Constant Field Values
-
RANGE_SIZE
private static final int RANGE_SIZE
- See Also:
- Constant Field Values
-
arrays
private final java.util.Map<java.lang.Integer,java.util.ArrayList<T>> arrays
-
-