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