public class PackageInfoList extends MappableInfoList<PackageInfo>
PackageInfo
objects.Modifier and Type | Class and Description |
---|---|
static interface |
PackageInfoList.PackageInfoFilter
Filter an
PackageInfoList using a predicate mapping an PackageInfo object to a boolean,
producing another PackageInfoList 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() |
PackageInfoList |
filter(PackageInfoList.PackageInfoFilter filter)
Find the subset of the
PackageInfo 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 PackageInfoList filter(PackageInfoList.PackageInfoFilter filter)
PackageInfo
objects in this list for which the given filter predicate is true.filter
- The PackageInfoList.PackageInfoFilter
to apply.PackageInfo
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 © 2021. All rights reserved.