Class Builder.HashCodeBuilder

java.lang.Object
com.landawn.abacus.util.Builder.HashCodeBuilder
Enclosing class:
Builder<T>

public static final class Builder.HashCodeBuilder extends Object
The Class HashCodeChain.
  • Method Details

    • hash

      public Builder.HashCodeBuilder hash(Object value)
      Add the hash code of the specified value to result.
      Parameters:
      value -
      Returns:
      this
    • hash

      public <T> Builder.HashCodeBuilder hash(T value, ToIntFunction<? super T> func)
      Type Parameters:
      T -
      Parameters:
      value -
      func -
      Returns:
    • hash

      public Builder.HashCodeBuilder hash(boolean value)
      Add the hash code of the specified value to result.
      Parameters:
      value -
      Returns:
      this
    • hash

      public Builder.HashCodeBuilder hash(char value)
      Add the hash code of the specified value to result.
      Parameters:
      value -
      Returns:
      this
    • hash

      public Builder.HashCodeBuilder hash(byte value)
      Add the hash code of the specified value to result.
      Parameters:
      value -
      Returns:
      this
    • hash

      public Builder.HashCodeBuilder hash(short value)
      Add the hash code of the specified value to result.
      Parameters:
      value -
      Returns:
      this
    • hash

      public Builder.HashCodeBuilder hash(int value)
      Add the hash code of the specified value to result.
      Parameters:
      value -
      Returns:
      this
    • hash

      public Builder.HashCodeBuilder hash(long value)
      Add the hash code of the specified value to result.
      Parameters:
      value -
      Returns:
      this
    • hash

      public Builder.HashCodeBuilder hash(float value)
      Add the hash code of the specified value to result.
      Parameters:
      value -
      Returns:
      this
    • hash

      public Builder.HashCodeBuilder hash(double value)
      Add the hash code of the specified value to result.
      Parameters:
      value -
      Returns:
      this
    • result

      public int result()
      Returns: