public class AnnotationList extends ArrayList<AnnotationInfo<?>>
modCount
Constructor and Description |
---|
AnnotationList()
Constructor.
|
AnnotationList(Predicate<AnnotationInfo<?>> filter)
Constructor with optional filter.
|
Modifier and Type | Method and Description |
---|---|
boolean |
add(AnnotationInfo<?> ai) |
AnnotationList |
sort()
Sort the annotations in this list based on rank.
|
add, addAll, addAll, clear, clone, contains, ensureCapacity, forEach, get, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, removeIf, removeRange, replaceAll, retainAll, set, size, sort, spliterator, subList, toArray, toArray, trimToSize
equals, hashCode
containsAll, toString
finalize, getClass, notify, notifyAll, wait, wait, wait
containsAll, equals, hashCode
parallelStream, stream
public AnnotationList()
public AnnotationList(Predicate<AnnotationInfo<?>> filter)
filter
- The filter to use to filter entries added to this list.public boolean add(AnnotationInfo<?> ai)
add
in interface Collection<AnnotationInfo<?>>
add
in interface List<AnnotationInfo<?>>
add
in class ArrayList<AnnotationInfo<?>>
public AnnotationList sort()
Copyright © 2016–2019 The Apache Software Foundation. All rights reserved.