public boolean atLeast(GuacamoleProtocolVersion otherVersion) {
        
        // If major is not the same, return inequality
        if (major != otherVersion.getMajor())
            return this.major > otherVersion.getMajor();
        
        // Major is the same, but minor is not, return minor inequality
        if (minor != otherVersion.getMinor())
            return this.minor > otherVersion.getMinor();
        
        // Major and minor are equal, so return patch inequality
        return patch >= otherVersion.getPatch();
        
    }
Returns whether this GuacamoleProtocolVersion is at least as recent as
(greater than or equal to) the given version.

@param otherVersion
    The version to which this GuacamoleProtocolVersion should be compared.

@return 
    true if this object is at least as recent as the given version,
    false if the given version is newer.
guacamole-common/src/main/java/org/apache/guacamole/protocol/GuacamoleProtocolVersion.java