nl: compares this protocol version with another one . only protocol versions with the same protocol name can be compared . this method does not define a total ordering , as it would be required for java.lang.comparable . concode_field_sep String protocol concode_elem_sep int major concode_elem_sep int minor concode_elem_sep long serialVersionUID concode_field_sep int getMinor concode_elem_sep boolean lessEquals concode_elem_sep int hashCode concode_elem_sep boolean isComparable concode_elem_sep boolean equals concode_elem_sep boolean greaterEquals concode_elem_sep int getMajor concode_elem_sep Object clone concode_elem_sep String getProtocol concode_elem_sep String toString concode_elem_sep ProtocolVersion forVersion
code: int function ( final ProtocolVersion arg0 ) { Args . notNull ( arg0 , "srini_string" ) ; Args . check ( this . protocol . equals ( arg0 . protocol ) , "srini_string" , this , arg0 ) ; int loc0 = getMajor ( ) - arg0 . getMajor ( ) ; if ( loc0 == 0 ) { loc0 = getMinor ( ) - arg0 . getMinor ( ) ; } return loc0 ; }