Class ModuleInfoList
java.lang.Object
- All Implemented Interfaces:
Serializable,Cloneable,Iterable<ModuleInfo>,Collection<ModuleInfo>,List<ModuleInfo>,RandomAccess,SequencedCollection<ModuleInfo>
A list of
ModuleInfo objects.- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interfaceFilter anModuleInfoListusing a predicate mapping anModuleInfoobject to a boolean, producing anotherModuleInfoListfor all items in the list for which the predicate is true. -
Method Summary
Modifier and TypeMethodDescriptionvoidadd(int index, ModuleInfo element) booleanadd(ModuleInfo element) booleanaddAll(int index, Collection<? extends ModuleInfo> c) booleanaddAll(Collection<? extends ModuleInfo> c) voidclear()Find the subset of theModuleInfoobjects in this list for which the given filter predicate is true.iterator()remove(int index) booleanbooleanremoveAll(Collection<?> c) booleanretainAll(Collection<?> c) set(int index, ModuleInfo element) Methods inherited from class io.github.classgraph.MappableInfoList
asMap, containsName, getMethods inherited from class io.github.classgraph.InfoList
equals, getAsStrings, getAsStringsWithSimpleNames, getNames, hashCodeMethods inherited from class java.util.ArrayList
addFirst, addLast, clone, contains, ensureCapacity, forEach, get, getFirst, getLast, indexOf, isEmpty, lastIndexOf, listIterator, removeFirst, removeIf, removeLast, replaceAll, size, sort, spliterator, subList, toArray, toArray, trimToSizeMethods inherited from class java.util.AbstractCollection
containsAll, toStringMethods inherited from interface java.util.Collection
parallelStream, stream, toArrayMethods inherited from interface java.util.List
containsAll, reversed
-
Method Details
-
filter
Find the subset of theModuleInfoobjects in this list for which the given filter predicate is true.- Parameters:
filter- TheModuleInfoList.ModuleInfoFilterto apply.- Returns:
- The subset of the
ModuleInfoobjects in this list for which the given filter predicate is true.
-
add
-
add
-
remove
-
remove
-
addAll
-
addAll
-
removeAll
-
retainAll
-
clear
-
set
-
iterator
-
listIterator
- Specified by:
listIteratorin interfaceList<T>- Overrides:
listIteratorin classArrayList<T>
-