Modifier and Type | Field and Description |
---|---|
protected GenericVisitor<Boolean,Visitable> |
equalsVisitor |
protected GenericVisitor<Integer,Void> |
hashcodeVisitor |
protected List<com.github.javaparser.utils.VisitorList.EqualsHashcodeOverridingFacade> |
innerList |
Constructor and Description |
---|
VisitorList(GenericVisitor<Integer,Void> hashcodeVisitor,
GenericVisitor<Boolean,Visitable> equalsVisitor)
Pass the visitors to use for equals and hashcode.
|
Modifier and Type | Method and Description |
---|---|
void |
add(int index,
N elem) |
boolean |
add(N elem) |
boolean |
addAll(Collection<? extends N> col) |
boolean |
addAll(int index,
Collection<? extends N> col) |
void |
clear() |
boolean |
contains(Object elem) |
boolean |
containsAll(Collection<?> col) |
N |
get(int index) |
int |
indexOf(Object elem) |
boolean |
isEmpty() |
Iterator<N> |
iterator() |
int |
lastIndexOf(Object elem) |
ListIterator<N> |
listIterator() |
ListIterator<N> |
listIterator(int index) |
N |
remove(int index) |
boolean |
remove(Object elem) |
boolean |
removeAll(Collection<?> col) |
boolean |
retainAll(Collection<?> col) |
N |
set(int index,
N elem) |
int |
size() |
List<N> |
subList(int fromIndex,
int toIndex) |
Object[] |
toArray() |
<T> T[] |
toArray(T[] arr) |
String |
toString() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
equals, hashCode, replaceAll, sort, spliterator
parallelStream, removeIf, stream
protected List<com.github.javaparser.utils.VisitorList.EqualsHashcodeOverridingFacade> innerList
protected final GenericVisitor<Integer,Void> hashcodeVisitor
protected final GenericVisitor<Boolean,Visitable> equalsVisitor
public VisitorList(GenericVisitor<Integer,Void> hashcodeVisitor, GenericVisitor<Boolean,Visitable> equalsVisitor)
public boolean add(N elem)
public boolean addAll(Collection<? extends N> col)
public boolean addAll(int index, Collection<? extends N> col)
public void clear()
public boolean contains(Object elem)
public boolean containsAll(Collection<?> col)
containsAll
in interface Collection<N extends Node>
containsAll
in interface List<N extends Node>
public boolean isEmpty()
public int lastIndexOf(Object elem)
lastIndexOf
in interface List<N extends Node>
public ListIterator<N> listIterator()
listIterator
in interface List<N extends Node>
public ListIterator<N> listIterator(int index)
listIterator
in interface List<N extends Node>
public boolean remove(Object elem)
public boolean removeAll(Collection<?> col)
public boolean retainAll(Collection<?> col)
public int size()
public Object[] toArray()
public <T> T[] toArray(T[] arr)
Copyright © 2007–2018. All rights reserved.