diff options
author | Mattias Andrée <maandree@operamail.com> | 2014-09-05 04:25:24 +0200 |
---|---|---|
committer | Mattias Andrée <maandree@operamail.com> | 2014-09-05 04:25:24 +0200 |
commit | 972dc59b6fb1af69c79fd7c0d1ed1342e2f0c9b3 (patch) | |
tree | 775ba644ddd4fc980ce49e1243c658ea74e78a1f /src/libgamma/Ramp.java | |
parent | derp (diff) | |
download | jlibgamma-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 '')
-rw-r--r-- | src/libgamma/Ramp.java | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/libgamma/Ramp.java b/src/libgamma/Ramp.java index e3e7ec3..ef55f9d 100644 --- a/src/libgamma/Ramp.java +++ b/src/libgamma/Ramp.java @@ -58,6 +58,15 @@ public abstract class Ramp /** + * {@inheritDoc} + */ + public String toString() + { + return "<Ramp: size = " + Integer.toString(size) + ">"; + } + + + /** * Read the value of a stop in an 8-bit ramp. * * @param address The address of the ramp. |