/** @return a new IllegalTcpOption object. */ public IllegalTcpOption build() { return new IllegalTcpOption(this); } }
/** * A static factory method. This method validates the arguments by {@link * ByteArrays#validateBounds(byte[], int, int)}, which may throw exceptions undocumented here. * * @param rawData rawData * @param offset offset * @param length length * @return a new IllegalTcpOption object. */ public static IllegalTcpOption newInstance(byte[] rawData, int offset, int length) { ByteArrays.validateBounds(rawData, offset, length); return new IllegalTcpOption(rawData, offset, length); }
/** @return a new IllegalTcpOption object. */ public IllegalTcpOption build() { return new IllegalTcpOption(this); } }
/** * A static factory method. This method validates the arguments by {@link * ByteArrays#validateBounds(byte[], int, int)}, which may throw exceptions undocumented here. * * @param rawData rawData * @param offset offset * @param length length * @return a new IllegalTcpOption object. */ public static IllegalTcpOption newInstance(byte[] rawData, int offset, int length) { ByteArrays.validateBounds(rawData, offset, length); return new IllegalTcpOption(rawData, offset, length); }