public class ImagePosition extends java.lang.Object implements java.lang.Comparable<ImagePosition>
Constructor and Description |
---|
ImagePosition() |
ImagePosition(int t,
int z) |
Modifier and Type | Method and Description |
---|---|
int |
compareTo(ImagePosition o) |
void |
copyFrom(ImagePosition ip) |
int |
get(char ident) |
char |
getFirstEmptyPos() |
char |
getLastEmptyPos() |
int |
getT() |
int |
getZ() |
boolean |
isSamePos(ImagePosition ip,
char posIdent) |
boolean |
isTUndefined() |
boolean |
isUndefined() |
boolean |
isValidIdent(char ident) |
static boolean |
isValidIdentStatic(char ident) |
boolean |
isZUndefined() |
void |
set(int t,
int z) |
void |
setT(int t) |
void |
setZ(int z) |
void |
switchLeft() |
void |
switchRight() |
public static final char T_ID
public static final char Z_ID
public ImagePosition(int t, int z)
t
- z
- public ImagePosition()
public void copyFrom(ImagePosition ip)
public void switchLeft()
public void switchRight()
public int getT()
public void setT(int t)
t
- the t to setpublic int getZ()
public void setZ(int z)
z
- the z to setpublic void set(int t, int z)
public int get(char ident)
public static boolean isValidIdentStatic(char ident)
public boolean isValidIdent(char ident)
public boolean isTUndefined()
public boolean isZUndefined()
public boolean isUndefined()
public char getFirstEmptyPos()
public char getLastEmptyPos()
public boolean isSamePos(ImagePosition ip, char posIdent)
public int compareTo(ImagePosition o)
compareTo
in interface java.lang.Comparable<ImagePosition>