public class ROICoordinate extends Object implements 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(Object o1,
Object o2)
Implemented as specified by the
Comparator I/F. |
boolean |
equals(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.
|
String |
toString()
Returns the string of the coordinates.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcomparing, comparing, comparingDouble, comparingInt, comparingLong, naturalOrder, nullsFirst, nullsLast, reversed, reverseOrder, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLongpublic ROICoordinate()
public ROICoordinate(int z,
int t)
z - The z-section.t - The timepoint.public int getTimePoint()
public int getZSection()
public int compare(Object o1, Object o2)
Comparator I/F.compare in interface ComparatorIf any attribute == -1 it is not included in comparison.public boolean equals(Object obj)
equals in interface Comparatorequals in class ObjectObject.equals(Object)public int hashCode()
public String toString()
toString in class ObjectObject.toString()
Version: 5.3.3-ice35-b63
Copyright © 2017 The University of Dundee & Open Microscopy Environment. All Rights Reserved.