aboutsummaryrefslogtreecommitdiffstats
path: root/src/libgamma/CRTC.java
diff options
context:
space:
mode:
authorMattias Andrée <maandree@operamail.com>2014-09-05 04:25:24 +0200
committerMattias Andrée <maandree@operamail.com>2014-09-05 04:25:24 +0200
commit972dc59b6fb1af69c79fd7c0d1ed1342e2f0c9b3 (patch)
tree775ba644ddd4fc980ce49e1243c658ea74e78a1f /src/libgamma/CRTC.java
parentderp (diff)
downloadjlibgamma-972dc59b6fb1af69c79fd7c0d1ed1342e2f0c9b3.tar.gz
jlibgamma-972dc59b6fb1af69c79fd7c0d1ed1342e2f0c9b3.tar.bz2
jlibgamma-972dc59b6fb1af69c79fd7c0d1ed1342e2f0c9b3.tar.xz
m + add toString for classes
Signed-off-by: Mattias Andrée <maandree@operamail.com>
Diffstat (limited to 'src/libgamma/CRTC.java')
-rw-r--r--src/libgamma/CRTC.java10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/libgamma/CRTC.java b/src/libgamma/CRTC.java
index 8fc1ec9..15a0672 100644
--- a/src/libgamma/CRTC.java
+++ b/src/libgamma/CRTC.java
@@ -141,6 +141,16 @@ public class CRTC
}
+ /**
+ * {@inheritDoc}
+ */
+ public String toString()
+ {
+ return "<Site: partition = " + this.partition.toString() + ", " +
+ "crtc = " + Integer.toString(this.crtc) + ">";
+ }
+
+
/**
* Create a CRTC state.