Class HashCodeVisitor

java.lang.Object
com.querydsl.core.types.HashCodeVisitor
All Implemented Interfaces:
Visitor<Integer,Void>

public final class HashCodeVisitor extends Object implements Visitor<Integer,Void>
HashCodeVisitor is used for hashCode generation in Expression implementations.
Author:
tiwe
  • Field Details

  • Method Details

    • visit

      public Integer visit(Constant<?> expr, Void context)
      Description copied from interface: Visitor
      Visit a Constant instance with the given context
      Specified by:
      visit in interface Visitor<Integer,Void>
      Parameters:
      expr - expression to visit
      context - context of the visit or null, if not used
      Returns:
      visit result
    • visit

      public Integer visit(FactoryExpression<?> expr, Void context)
      Description copied from interface: Visitor
      Visit a FactoryExpression instance with the given context
      Specified by:
      visit in interface Visitor<Integer,Void>
      Parameters:
      expr - expression to visit
      context - context of the visit or null, if not used
      Returns:
      visit result
    • visit

      public Integer visit(Operation<?> expr, Void context)
      Description copied from interface: Visitor
      Visit an Operation instance with the given context
      Specified by:
      visit in interface Visitor<Integer,Void>
      Parameters:
      expr - expression to visit
      context - context of the visit or null, if not used
      Returns:
      visit result
    • visit

      public Integer visit(ParamExpression<?> expr, Void context)
      Description copied from interface: Visitor
      Visit a ParamExpression instance with the given context
      Specified by:
      visit in interface Visitor<Integer,Void>
      Parameters:
      expr - expression to visit
      context - context of the visit or null, if not used
      Returns:
      visit result
    • visit

      public Integer visit(Path<?> expr, Void context)
      Description copied from interface: Visitor
      Visit a Path instance with the given context
      Specified by:
      visit in interface Visitor<Integer,Void>
      Parameters:
      expr - expression to visit
      context - context of the visit or null, if not used
      Returns:
      visit result
    • visit

      public Integer visit(SubQueryExpression<?> expr, Void context)
      Description copied from interface: Visitor
      Visit a SubQueryExpression instance with the given context
      Specified by:
      visit in interface Visitor<Integer,Void>
      Parameters:
      expr - expression to visit
      context - context of the visit or null, if not used
      Returns:
      visit result
    • visit

      public Integer visit(TemplateExpression<?> expr, Void context)
      Description copied from interface: Visitor
      Visit a TemplateExpression instance with the given context
      Specified by:
      visit in interface Visitor<Integer,Void>
      Parameters:
      expr - expression to visit
      context - context of the visit or null, if not used
      Returns:
      visit result