ProtocolVersion function ( int arg0 , int arg1 ) { if ( ( arg0 == this . major ) && ( arg1 == this . minor ) ) { return this ; } return new ProtocolVersion ( this . protocol , arg0 , arg1 ) ; }
obtains a specific version of this protocol . this can be used by derived classes to instantiate themselves instead of the base class , and to define constants for commonly used versions . the default implementation in this class returns this if the version matches , and creates a new protocolversion otherwise . 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 int compareToVersion