method

cmp

cmp(p1)
public

Compares this Name with other and returns 0 if they are the same and -1 or +1 if they are greater or less than each other respectively.