func (self *connSet) Less(than llrb.Item) bool { if self == nil { return true } if than == nil { return false } thanCs := than.(*connSet) if thanCs == nil { return false } selfKey := llrb.String(self.key()) thanKey := llrb.String(than.(*connSet).key()) return selfKey.Less(thanKey) }
func (self *connListItem) Less(than llrb.Item) bool { selfKey := llrb.String(self.key()) thanKey := llrb.String(than.(*connListItem).key()) return selfKey.Less(thanKey) }