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.
|
public 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 Comparator
If any attribute == -1 it is not included in comparison.
public boolean equals(Object obj)
equals
in interface Comparator
equals
in class Object
Object.equals(Object)
public int hashCode()
public String toString()
toString
in class Object
Object.toString()
Version: 5.1.3-ice35-b52
Copyright © 2015 The University of Dundee & Open Microscopy Environment. All Rights Reserved.