Package org.zkoss.pivot.impl.util
Class IndexMap<T>
java.lang.Object
org.zkoss.pivot.impl.util.IndexMap<T>
A map with fly-weight values to save space when the values are expected to
repeat.
- Author:
- simonpai
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
IndexMap
public IndexMap()
-
-
Method Details
-
put
Put the value into map and returns the index. If the value is already contained in the map, the old index is return. -
getList
Return the value list.
-