public class ROICoordinate
extends java.lang.Object
implements java.util.Comparator
| Constructor and Description | 
|---|
| ROICoordinate()Creates a default instance. | 
| ROICoordinate(int z,
             int t)Creates a new instance. | 
| Modifier and Type | Method and Description | 
|---|---|
| int | compare(java.lang.Object o1,
       java.lang.Object o2)Implemented as specified by the  ComparatorI/F. | 
| boolean | equals(java.lang.Object obj)Overridden to control if the passed object equals the current one. | 
| int | getTimePoint()Returns the timepoint. | 
| int | getZSection()Returns the z-section. | 
| int | hashCode()Calculate the hashCode for the data, The hashcode is generated by 
 bitshifting z by ZTBITSPLIT bits and adding t. | 
| java.lang.String | toString()Returns the string of the coordinates. | 
public ROICoordinate()
public ROICoordinate(int z,
                     int t)
z - The z-section. (-1 == all z-sections)t - The timepoint. (-1 == all timepoints)public int getTimePoint()
public int getZSection()
public int compare(java.lang.Object o1,
                   java.lang.Object o2)
Comparator I/F.compare in interface java.util.ComparatorComparator.compare(Object, Object)public boolean equals(java.lang.Object obj)
equals in interface java.util.Comparatorequals in class java.lang.ObjectObject.equals(Object)public int hashCode()
hashCode in class java.lang.Objectpublic java.lang.String toString()
toString in class java.lang.ObjectObject.toString()