Class Crc16.Builder
java.lang.Object
org.apache.commons.codec.digest.Crc16.Builder
- Enclosing class:
Crc16
Builds
Crc16 instances.- Since:
- 1.20.0
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
Builder
public Builder()Constructs a new instance.
-
-
Method Details
-
get
-
setInit
Sets the initial value.- Parameters:
init- the initial value.- Returns:
thisinstance.
-
setTable
Sets the lookup table.- Parameters:
table- the lookup table, making a clone of the input array, must not be null.- Returns:
thisinstance.
-
setXorOut
Sets the XorOut value to XOR to the current checksum returned byCrc16.getValue().- Parameters:
xorOut- the XorOut value.- Returns:
thisinstance.
-