Package com.github.javaparser.utils
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 java.lang.Object implements Visitable
-
-
Field Summary
Fields Modifier and Type Field Description private N
overridden
-
Constructor Summary
Constructors Constructor Description EqualsHashcodeOverridingFacade(N overridden)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description <R,A>
Raccept(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()
-
-
-
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 interfaceVisitable
- Type Parameters:
R
- the type of the return value of the visitorA
- the type the user argument passed to the visitor- Parameters:
v
- the visitor implementationarg
- 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.
-
hashCode
public final int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals
in classjava.lang.Object
-
-