Package com.landawn.abacus.util
Class Builder.HashCodeBuilder
java.lang.Object
com.landawn.abacus.util.Builder.HashCodeBuilder
The Class HashCodeChain.
-
Method Summary
Modifier and TypeMethodDescriptionhash
(boolean value) Add the hash code of the specifiedvalue
to result.hash
(byte value) Add the hash code of the specifiedvalue
to result.hash
(char value) Add the hash code of the specifiedvalue
to result.hash
(double value) Add the hash code of the specifiedvalue
to result.hash
(float value) Add the hash code of the specifiedvalue
to result.hash
(int value) Add the hash code of the specifiedvalue
to result.hash
(long value) Add the hash code of the specifiedvalue
to result.hash
(short value) Add the hash code of the specifiedvalue
to result.Add the hash code of the specifiedvalue
to result.hash
(T value, ToIntFunction<? super T> func) int
result()
-
Method Details
-
hash
Add the hash code of the specifiedvalue
to result.- Parameters:
value
-- Returns:
- this
-
hash
- Type Parameters:
T
-- Parameters:
value
-func
-- Returns:
-
hash
Add the hash code of the specifiedvalue
to result.- Parameters:
value
-- Returns:
- this
-
hash
Add the hash code of the specifiedvalue
to result.- Parameters:
value
-- Returns:
- this
-
hash
Add the hash code of the specifiedvalue
to result.- Parameters:
value
-- Returns:
- this
-
hash
Add the hash code of the specifiedvalue
to result.- Parameters:
value
-- Returns:
- this
-
hash
Add the hash code of the specifiedvalue
to result.- Parameters:
value
-- Returns:
- this
-
hash
Add the hash code of the specifiedvalue
to result.- Parameters:
value
-- Returns:
- this
-
hash
Add the hash code of the specifiedvalue
to result.- Parameters:
value
-- Returns:
- this
-
hash
Add the hash code of the specifiedvalue
to result.- Parameters:
value
-- Returns:
- this
-
result
public int result()- Returns:
-