Class HashCodeVisitor

  • All Implemented Interfaces:
    GenericVisitor<java.lang.Integer,​java.lang.Void>

    public class HashCodeVisitor
    extends java.lang.Object
    implements GenericVisitor<java.lang.Integer,​java.lang.Void>
    A visitor that calculates a deep hash code for a node by using the hash codes of all its properties, and the hash codes of all its child nodes (by visiting those too.)