boolean (Object o) { if (this == o) return true; if (o == null || getClass() != o.getClass()) return false; RunAnythingHistoryItem item = (RunAnythingHistoryItem)o; if (!pattern.equals(item.pattern)) return false; return true; }