|
|
|||||||||||||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectde.lmu.ifi.dbs.elki.result.AnnotationFromHashMap<T>
T
- Data type to store.public class AnnotationFromHashMap<T>
Annotations backed by hashmaps.
Field Summary | |
---|---|
private AssociationID<T> |
assoc
Store Association ID |
private HashMap<Integer,T> |
map
Store the hashmap for results. |
Constructor Summary | |
---|---|
AnnotationFromHashMap(AssociationID<T> assoc,
HashMap<Integer,T> map)
Constructor |
Method Summary | |
---|---|
AssociationID<T> |
getAssociationID()
Return the association ID of this result. |
T |
getValueFor(Integer objID)
Get associated value for an object. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
private HashMap<Integer,T> map
private AssociationID<T> assoc
Constructor Detail |
---|
public AnnotationFromHashMap(AssociationID<T> assoc, HashMap<Integer,T> map)
assoc
- Associationmap
- MapMethod Detail |
---|
public AssociationID<T> getAssociationID()
AnnotationResult
getAssociationID
in interface AnnotationResult<T>
public T getValueFor(Integer objID)
AnnotationResult
getValueFor
in interface AnnotationResult<T>
objID
- Object ID
|
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |