aboutsummaryrefslogtreecommitdiffstats
path: root/src/libgamma/Partition.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/libgamma/Partition.java')
-rw-r--r--src/libgamma/Partition.java11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/libgamma/Partition.java b/src/libgamma/Partition.java
index e5022a8..740bc11 100644
--- a/src/libgamma/Partition.java
+++ b/src/libgamma/Partition.java
@@ -102,6 +102,17 @@ public class Partition
}
+ /**
+ * {@inheritDoc}
+ */
+ public String toString()
+ {
+ return "<Partition: site = " + this.site.toString() + ", " +
+ "partition = " + Integer.toString(this.partition) + ", " +
+ "crtcs_available = " + Integer.toString(this.crtcs_available) + ">";
+ }
+
+
/**
* Create a partition state.