|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object peakml.Centroid.Factory
public static class Centroid.Factory
Factory for creating a Centroid
instance. This construct is needed to
separate object creation from the implementation in PeakData
.
Constructor Summary | |
---|---|
Centroid.Factory()
|
Method Summary | |
---|---|
Centroid |
create(PeakData<Centroid> data,
int index)
PeakData.PeakFactory.create(PeakData, int) |
java.lang.String |
getName()
PeakData.PeakFactory.getName() |
java.lang.Class<Centroid> |
getPeakClass()
PeakData.PeakFactory.getPeakClass() |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Centroid.Factory()
Method Detail |
---|
public Centroid create(PeakData<Centroid> data, int index)
PeakData.PeakFactory.create(PeakData, int)
create
in interface PeakData.PeakFactory<Centroid>
data
- The PeakData
instance associated to the new instance.index
- The index of the data in the PeakData
instance.
public java.lang.String getName()
PeakData.PeakFactory.getName()
getName
in interface PeakData.PeakFactory<Centroid>
public java.lang.Class<Centroid> getPeakClass()
PeakData.PeakFactory.getPeakClass()
getPeakClass
in interface PeakData.PeakFactory<Centroid>
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |