|
|
|||||||||||||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||||||||||||
java.lang.Objectde.lmu.ifi.dbs.elki.utilities.IDPropertyPair<P>
P - the type of the second componentpublic class IDPropertyPair<P>
Holds a pair of an id (int) and another type.
| Field Summary | |
|---|---|
private int |
id
First component of the pair: an id. |
private P |
property
Second component of the pair: a property of arbitrary type |
| Constructor Summary | |
|---|---|
IDPropertyPair(int id,
P property)
Constructs a pair of an int and another type |
|
| Method Summary | |
|---|---|
int |
getId()
Provides the id component of the pair. |
P |
getProperty()
Provides the property component of the pair. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
private int id
private P property
| Constructor Detail |
|---|
public IDPropertyPair(int id,
P property)
id - the integer part (id)property - the second component| Method Detail |
|---|
public int getId()
public P getProperty()
|
|
||||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||||