Class VisitorSet.EqualsHashcodeOverridingFacade

  • All Implemented Interfaces:
    Visitable
    Enclosing class:
    VisitorSet<N extends Node>

    private class VisitorSet.EqualsHashcodeOverridingFacade
    extends java.lang.Object
    implements Visitable
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private N overridden  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      <R,​A>
      R
      accept​(GenericVisitor<R,​A> v, A arg)
      Accept method for visitor support.
      <A> void accept​(VoidVisitor<A> v, A arg)
      Accept method for visitor support.
      boolean equals​(java.lang.Object obj)  
      int hashCode()  
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • overridden

        private final N extends Node overridden
    • Constructor Detail

      • EqualsHashcodeOverridingFacade

        EqualsHashcodeOverridingFacade​(N overridden)
    • Method Detail

      • accept

        public <R,​A> R accept​(GenericVisitor<R,​A> v,
                                    A arg)
        Description copied from interface: Visitable
        Accept method for visitor support.
        Specified by:
        accept in interface Visitable
        Type Parameters:
        R - the type of the return value of the visitor
        A - the type the user argument passed to the visitor
        Parameters:
        v - the visitor implementation
        arg - the argument passed to the visitor (of type A)
        Returns:
        the result of the visit (of type R)
      • accept

        public <A> void accept​(VoidVisitor<A> v,
                               A arg)
        Description copied from interface: Visitable
        Accept method for visitor support.
        Specified by:
        accept in interface Visitable
        Type Parameters:
        A - the type the argument passed for the visitor
        Parameters:
        v - the visitor implementation
        arg - any value relevant for the visitor (of type A)
      • hashCode

        public final int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • equals

        public boolean equals​(java.lang.Object obj)
        Overrides:
        equals in class java.lang.Object