boolean (Object o) { if (this == o) return true; if (o == null || getClass() != o.getClass()) return false; IndexedAnsiTerminalColor color = (IndexedAnsiTerminalColor)o; if (myColorIndex != color.myColorIndex) return false; return true; }