Package org.apache.fop.afp.fonts
Class IntegerKeyStore<T>
java.lang.Object
org.apache.fop.afp.fonts.IntegerKeyStore<T>
A simple compact data structure to model a sparse array
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final int
private static final int
-
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
RANGE_BIT_SIZE
private static final int RANGE_BIT_SIZE- See Also:
-
RANGE_SIZE
private static final int RANGE_SIZE- See Also:
-
arrays
-
-
Constructor Details
-
IntegerKeyStore
IntegerKeyStore()
-
-
Method Details
-
put
- Parameters:
index
- a positive integervalue
- value to store
-
get
- Parameters:
index
- a positive integer- Returns:
- value the value associated with the index or null
-