Class VisitorList.EqualsHashcodeOverridingFacade

java.lang.Object
com.github.javaparser.utils.VisitorList.EqualsHashcodeOverridingFacade
All Implemented Interfaces:
Visitable
Enclosing class:
VisitorList<N extends Node>

private class VisitorList.EqualsHashcodeOverridingFacade extends Object implements Visitable
  • Field Details

    • overridden

      private final N extends Node overridden
  • Constructor Details

    • EqualsHashcodeOverridingFacade

      EqualsHashcodeOverridingFacade(N overridden)
  • Method Details

    • 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 Object
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object