Package io.github.classgraph
Class FieldInfoList
- java.lang.Object
-
- java.util.AbstractCollection<E>
-
- java.util.AbstractList<E>
-
- java.util.ArrayList<T>
-
- io.github.classgraph.InfoList<T>
-
- io.github.classgraph.MappableInfoList<FieldInfo>
-
- io.github.classgraph.FieldInfoList
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Cloneable
,java.lang.Iterable<FieldInfo>
,java.util.Collection<FieldInfo>
,java.util.List<FieldInfo>
,java.util.RandomAccess
public class FieldInfoList extends MappableInfoList<FieldInfo>
A list ofFieldInfo
objects.- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interface
FieldInfoList.FieldInfoFilter
Filter anFieldInfoList
using a predicate mapping anFieldInfo
object to a boolean, producing anotherFieldInfoList
for all items in the list for which the predicate is true.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description FieldInfoList
filter(FieldInfoList.FieldInfoFilter filter)
Find the subset of theFieldInfo
objects in this list for which the given filter predicate is true.-
Methods inherited from class io.github.classgraph.MappableInfoList
asMap, containsName, get
-
Methods inherited from class io.github.classgraph.InfoList
getAsStrings, getNames
-
Methods inherited from class java.util.ArrayList
add, add, addAll, addAll, clear, clone, contains, ensureCapacity, equals, forEach, get, hashCode, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, removeIf, removeRange, replaceAll, retainAll, set, size, sort, spliterator, subList, toArray, toArray, trimToSize
-
-
-
-
Method Detail
-
filter
public FieldInfoList filter(FieldInfoList.FieldInfoFilter filter)
Find the subset of theFieldInfo
objects in this list for which the given filter predicate is true.- Parameters:
filter
- TheFieldInfoList.FieldInfoFilter
to apply.- Returns:
- The subset of the
FieldInfo
objects in this list for which the given filter predicate is true.
-
-