public class OMEXMLModelComparator
extends java.lang.Object
implements java.util.Comparator<ome.util.LSID>
| Constructor and Description |
|---|
OMEXMLModelComparator() |
| Modifier and Type | Method and Description |
|---|---|
int |
compare(ome.util.LSID x,
ome.util.LSID y) |
int |
getValue(java.lang.Class<? extends IObject> klass,
int indexes)
Assigns a value to a particular class based on its location in the
OME-XML hierarchy.
|
public int compare(ome.util.LSID x,
ome.util.LSID y)
compare in interface java.util.Comparator<ome.util.LSID>public int getValue(java.lang.Class<? extends IObject> klass, int indexes)
klass - Class to assign a value to.indexes - Number of class indexes that were present in its LSID.