/** @return a new IllegalIpV6NeighborDiscoveryOption object. */ public IllegalIpV6NeighborDiscoveryOption build() { return new IllegalIpV6NeighborDiscoveryOption(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 IllegalIpV6NeighborDiscoveryOption object. */ public static IllegalIpV6NeighborDiscoveryOption newInstance( byte[] rawData, int offset, int length) { ByteArrays.validateBounds(rawData, offset, length); return new IllegalIpV6NeighborDiscoveryOption(rawData, offset, length); }
/** @return a new IllegalIpV6NeighborDiscoveryOption object. */ public IllegalIpV6NeighborDiscoveryOption build() { return new IllegalIpV6NeighborDiscoveryOption(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 IllegalIpV6NeighborDiscoveryOption object. */ public static IllegalIpV6NeighborDiscoveryOption newInstance( byte[] rawData, int offset, int length) { ByteArrays.validateBounds(rawData, offset, length); return new IllegalIpV6NeighborDiscoveryOption(rawData, offset, length); }