Class ModuleInfoList
- 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. -
Field Summary
FieldsFields inherited from class PotentiallyUnmodifiableList
modifiableFields inherited from class AbstractList
modCount -
Constructor Summary
ConstructorsConstructorDescriptionConstructor.ModuleInfoList(int sizeHint) Constructor.ModuleInfoList(Collection<ModuleInfo> moduleInfoCollection) Constructor. -
Method Summary
Modifier and TypeMethodDescriptionFind the subset of theModuleInfoobjects in this list for which the given filter predicate is true.Methods inherited from class MappableInfoList
asMap, containsName, getMethods inherited from class InfoList
equals, getAsStrings, getAsStringsWithSimpleNames, getNames, hashCodeMethods inherited from class PotentiallyUnmodifiableList
add, add, addAll, addAll, clear, iterator, listIterator, makeUnmodifiable, remove, remove, removeAll, retainAll, setMethods inherited from class ArrayList
addFirst, addLast, clone, contains, ensureCapacity, forEach, get, getFirst, getLast, indexOf, isEmpty, lastIndexOf, listIterator, removeFirst, removeIf, removeLast, removeRange, replaceAll, size, sort, spliterator, subList, toArray, toArray, trimToSizeMethods inherited from class AbstractCollection
containsAll, toStringMethods inherited from interface Collection
parallelStream, stream, toArrayMethods inherited from interface List
containsAll, reversed
-
Field Details
-
serialVersionUID
private static final long serialVersionUIDserialVersionUID- See Also:
-
-
Constructor Details
-
ModuleInfoList
ModuleInfoList()Constructor. -
ModuleInfoList
ModuleInfoList(int sizeHint) Constructor.- Parameters:
sizeHint- the size hint
-
ModuleInfoList
ModuleInfoList(Collection<ModuleInfo> moduleInfoCollection) Constructor.- Parameters:
moduleInfoCollection- the module info collection
-
-
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.
-