Package com.landawn.abacus.util
Class Chain.HashCodeChain
java.lang.Object
com.landawn.abacus.util.Chain.HashCodeChain
- Enclosing class:
Chain
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.<T,
E extends Exception>
Chain.HashCodeChainhash
(T value, Throwables.ToIntFunction<? super T, E> func) int
result()
-
Method Details
-
hash
Add the hash code of the specifiedvalue
to result.- Parameters:
value
-- Returns:
- this
-
hash
public <T,E extends Exception> Chain.HashCodeChain hash(T value, Throwables.ToIntFunction<? super T, E> func) throws E- Type Parameters:
T
-E
-- Parameters:
value
-func
-- Returns:
- Throws:
E
- the e
-
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:
-