|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.zkoss.pivot.impl.util.IndexMap<T>
public class IndexMap<T>
A map with fly-weight values to save space when the values are expected to repeat.
Constructor Summary | |
---|---|
IndexMap()
|
Method Summary | |
---|---|
java.util.List<T> |
getList()
Return the value list. |
int |
put(T item)
Put the value into map and returns the index. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public IndexMap()
Method Detail |
---|
public int put(T item)
public java.util.List<T> getList()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |