public class Time extends java.lang.Object implements java.lang.Comparable<Time>, PrettyPrint
Contains a set of clusters, contained in a block and has a unique identifier
| Constructor and Description |
|---|
Time(int id)
|
| Modifier and Type | Method and Description |
|---|---|
int |
compareTo(Time time)
|
java.util.Set<java.lang.Integer> |
getClusterIds()
|
java.util.HashMap<java.lang.Integer,Cluster> |
getClusters()
|
int |
getId()
|
java.lang.String |
toPrettyString()
Displays a prettified version of
Object.toString()
It's used as display by Debug if
it's implemented.
|
java.lang.String |
toString()
|
public int getId()
public java.util.HashMap<java.lang.Integer,Cluster> getClusters()
public java.util.Set<java.lang.Integer> getClusterIds()
public int compareTo(Time time)
compareTo in interface java.lang.Comparable<Time>public java.lang.String toPrettyString()
PrettyPrint
Object.toString()
It's used as display by Debug if it's
implemented.
toPrettyString in
interface PrettyPrint
Object.toString()public java.lang.String toString()
toString in class java.lang.Object