public boolean isNewerThan ( VersionComparator comparator ) { if ( this . major > comparator . getMajor ( ) ) { return true ; } else if ( this . major == comparator . getMajor ( ) && this . minor > comparator . getMinor ( ) ) { return true ; } else if ( this . major == comparator . getMajor ( ) && this . minor == comparator . getMinor ( ) && this . revision > comparator . getRevision ( ) ) { return true ; } else if ( this . major == comparator . getMajor ( ) && this . minor == comparator . getMinor ( ) && this . revision == comparator . getRevision ( ) && this . prereleaseNumber > comparator . getPrereleaseNumber ( ) ) { return true ; } return false ; }
Determines if the specified VersionComparator is newer than this instance .