public class ModuleInfoList extends MappableInfoList<ModuleInfo>
ModuleInfo
objects.Modifier and Type | Class and Description |
---|---|
static interface |
ModuleInfoList.ModuleInfoFilter
Filter an
ModuleInfoList using a predicate mapping an ModuleInfo object to a boolean,
producing another ModuleInfoList for all items in the list for which the predicate is true. |
Modifier and Type | Method and Description |
---|---|
void |
add(int index,
T element) |
boolean |
add(T element) |
boolean |
addAll(Collection<? extends T> c) |
boolean |
addAll(int index,
Collection<? extends T> c) |
void |
clear() |
ModuleInfoList |
filter(ModuleInfoList.ModuleInfoFilter filter)
Find the subset of the
ModuleInfo objects in this list for which the given filter predicate is true. |
Iterator<T> |
iterator() |
ListIterator<T> |
listIterator() |
T |
remove(int index) |
boolean |
remove(Object o) |
boolean |
removeAll(Collection<?> c) |
boolean |
retainAll(Collection<?> c) |
T |
set(int index,
T element) |
asMap, containsName, get
equals, getAsStrings, getAsStringsWithSimpleNames, getNames, hashCode
clone, contains, ensureCapacity, forEach, get, indexOf, isEmpty, lastIndexOf, listIterator, removeIf, replaceAll, size, sort, spliterator, subList, toArray, toArray, trimToSize
containsAll, toString
containsAll
parallelStream, stream
public ModuleInfoList filter(ModuleInfoList.ModuleInfoFilter filter)
ModuleInfo
objects in this list for which the given filter predicate is true.filter
- The ModuleInfoList.ModuleInfoFilter
to apply.ModuleInfo
objects in this list for which the given filter predicate is
true.public boolean add(T element)
public void add(int index, T element)
public boolean remove(Object o)
public T remove(int index)
public boolean addAll(Collection<? extends T> c)
public boolean addAll(int index, Collection<? extends T> c)
public boolean removeAll(Collection<?> c)
public boolean retainAll(Collection<?> c)
public void clear()
public T set(int index, T element)
public Iterator<T> iterator()
public ListIterator<T> listIterator()
listIterator
in interface List<T>
listIterator
in class ArrayList<T>
Copyright © 2022. All rights reserved.