Lines Matching refs:major
65 protected final int major; field in ProtocolVersion
78 public ProtocolVersion(String protocol, int major, int minor) { in ProtocolVersion() argument
83 if (major < 0) { in ProtocolVersion()
92 this.major = major; in ProtocolVersion()
111 return major; in getMajor()
139 public ProtocolVersion forVersion(int major, int minor) { in forVersion() argument
141 if ((major == this.major) && (minor == this.minor)) { in forVersion()
146 return new ProtocolVersion(this.protocol, major, minor); in forVersion()
156 return this.protocol.hashCode() ^ (this.major * 100000) ^ this.minor; in hashCode()
183 (this.major == that.major) && in equals()
277 buffer.append(Integer.toString(this.major)); in toString()