35 |
35 |
36 @param other reference to the object to check against (HistoryData) |
36 @param other reference to the object to check against (HistoryData) |
37 @return flag indicating equality (boolean) |
37 @return flag indicating equality (boolean) |
38 """ |
38 """ |
39 return self.tailOffset == other.tailOffset and \ |
39 return self.tailOffset == other.tailOffset and \ |
40 (self.frequency == -1 or other.frequency == -1 or \ |
40 (self.frequency == -1 or other.frequency == -1 or |
41 self.frequency == other.frequency) |
41 self.frequency == other.frequency) |
42 |
42 |
43 def __lt__(self, other): |
43 def __lt__(self, other): |
44 """ |
44 """ |
45 Special method determining less relation. |
45 Special method determining less relation. |