Package org.zkoss.pivot.impl.util
Class IndexMap<T>
- java.lang.Object
-
- org.zkoss.pivot.impl.util.IndexMap<T>
-
public class IndexMap<T> extends Object
A map with fly-weight values to save space when the values are expected to repeat.- Author:
- simonpai
-
-
Constructor Summary
Constructors Constructor Description IndexMap()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<T>
getList()
Return the value list.int
put(T item)
Put the value into map and returns the index.
-