Example #1
0
func (x *Imp) Less(X Object) bool {
	//
	x1, ok := X.(*Imp)
	if !ok {
		return false
	}
	return str.Less(x.text, x1.text)
}
Example #2
0
func (x *Imp) Less(Y Object) bool {
	//
	return str.Less(x.att.name, x.imp(Y).att.name)
}
Example #3
0
func (x *Imp) Less(Y Object) bool {
	//
	y := imp(Y)
	return str.Less(x.String(), y.String())
}
Example #4
0
func (x *Imp) Less(Y Object) bool {
	//
	return str.Less(x.content, x.imp(Y).content)
}