public class Period
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected int |
currentTick |
protected int |
fixingMechanism |
protected int |
totalTicks |
Constructor and Description |
---|
Period(int fixingMechanism,
int totalTicks) |
Modifier and Type | Method and Description |
---|---|
int |
currentTick() |
int |
getFixing() |
boolean |
isContinuous() |
boolean |
isFix() |
void |
setCurrentTick(int t) |
java.lang.String |
toString() |
int |
totalTicks() |
protected final int fixingMechanism
protected final int totalTicks
protected int currentTick
public boolean isFix()
public boolean isContinuous()
public int getFixing()
public int currentTick()
public void setCurrentTick(int t)
public int totalTicks()
public java.lang.String toString()
toString
in class java.lang.Object