boolean (Object o) { if (this == o) return true; if (o == null || getClass() != o.getClass()) return false; Version version = (Version)o; if (bugfix != version.bugfix) return false; if (major != version.major) return false; if (minor != version.minor) return false; return true; }