ulkb.Object.compare# Object.compare(other)[source]# Compares object to other. Parameters: other – Object. Returns: -1 if object is less than other; 0 if object and other are equal; 1 if object is greater than other. See also Object.equal().