public class ROICoordinate
extends java.lang.Object
implements java.util.Comparator
コンストラクタと説明 |
---|
ROICoordinate()
Creates a default instance.
|
ROICoordinate(int z,
int t)
Creates a new instance.
|
修飾子とタイプ | メソッドと説明 |
---|---|
int |
compare(java.lang.Object o1,
java.lang.Object o2)
Implemented as specified by the
Comparator I/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.t
- The timepoint.public int getTimePoint()
public int getZSection()
public int compare(java.lang.Object o1, java.lang.Object o2)
Comparator
I/F.compare
インタフェース内 java.util.Comparator
If any attribute == -1 it is not included in comparison.
public boolean equals(java.lang.Object obj)
equals
インタフェース内 java.util.Comparator
equals
クラス内 java.lang.Object
Object.equals(Object)
public int hashCode()
hashCode
クラス内 java.lang.Object
public java.lang.String toString()
toString
クラス内 java.lang.Object
Object.toString()