(@Nullable Object other)
| 100 | } |
| 101 | |
| 102 | @Override |
| 103 | public boolean equals(@Nullable Object other) { |
| 104 | if (other == null) { |
| 105 | return false; |
| 106 | } |
| 107 | |
| 108 | if (!(other instanceof Color)) { |
| 109 | return false; |
| 110 | } |
| 111 | |
| 112 | return asRgba().equals(((Color) other).asRgba()); |
| 113 | } |
| 114 | |
| 115 | @Override |
| 116 | public int hashCode() { |
no test coverage detected