|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.mymedialite.datatype.SparseVector<T>
T
- public class SparseVector<T>
Field Summary | |
---|---|
protected java.util.HashMap<java.lang.Integer,T> |
data
Internal data representation as dictionary. |
Constructor Summary | |
---|---|
SparseVector(java.lang.Class<T> c)
|
Method Summary | |
---|---|
T |
get(int x)
Access an element of the vector . |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected java.util.HashMap<java.lang.Integer,T> data
Constructor Detail |
---|
public SparseVector(java.lang.Class<T> c)
Method Detail |
---|
public T get(int x)
x
- the index
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |