boolean (Object o) { if (this == o) return true; if (o == null || getClass() != o.getClass()) return false; EventLogBucketRange range = (EventLogBucketRange)o; return from == range.from && to == range.to; }