Skip to content

Commit 7776c8e

Browse files
committed
Implement toString() for Color class
1 parent 40140f8 commit 7776c8e

File tree

1 file changed

+9
-0
lines changed
  • src/main/java/de/bluecolored/bluemap/api/math

1 file changed

+9
-0
lines changed

src/main/java/de/bluecolored/bluemap/api/math/Color.java

+9
Original file line numberDiff line numberDiff line change
@@ -167,4 +167,13 @@ public int hashCode() {
167167
return result;
168168
}
169169

170+
@Override
171+
public String toString() {
172+
return "Color{" +
173+
"r=" + r +
174+
", g=" + g +
175+
", b=" + b +
176+
", a=" + a +
177+
'}';
178+
}
170179
}

0 commit comments

Comments
 (0)