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(java.util.Collection<? extends T> c) |
boolean |
addAll(int index,
java.util.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. |
java.util.Iterator<T> |
iterator() |
java.util.ListIterator<T> |
listIterator() |
T |
remove(int index) |
boolean |
remove(java.lang.Object o) |
boolean |
removeAll(java.util.Collection<?> c) |
boolean |
retainAll(java.util.Collection<?> c) |
T |
set(int index,
T element) |
asMap, containsName, getequals, getAsStrings, getAsStringsWithSimpleNames, getNames, hashCodeclone, contains, ensureCapacity, forEach, get, indexOf, isEmpty, lastIndexOf, listIterator, removeIf, removeRange, replaceAll, size, sort, spliterator, subList, toArray, toArray, trimToSizepublic 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)
add in interface java.util.Collection<T>add in interface java.util.List<T>add in class java.util.ArrayList<T>public void add(int index,
T element)
add in interface java.util.List<T>add in class java.util.ArrayList<T>public boolean remove(java.lang.Object o)
remove in interface java.util.Collection<T>remove in interface java.util.List<T>remove in class java.util.ArrayList<T>public T remove(int index)
remove in interface java.util.List<T>remove in class java.util.ArrayList<T>public boolean addAll(java.util.Collection<? extends T> c)
addAll in interface java.util.Collection<T>addAll in interface java.util.List<T>addAll in class java.util.ArrayList<T>public boolean addAll(int index,
java.util.Collection<? extends T> c)
addAll in interface java.util.List<T>addAll in class java.util.ArrayList<T>public boolean removeAll(java.util.Collection<?> c)
removeAll in interface java.util.Collection<T>removeAll in interface java.util.List<T>removeAll in class java.util.ArrayList<T>public boolean retainAll(java.util.Collection<?> c)
retainAll in interface java.util.Collection<T>retainAll in interface java.util.List<T>retainAll in class java.util.ArrayList<T>public void clear()
clear in interface java.util.Collection<T>clear in interface java.util.List<T>clear in class java.util.ArrayList<T>public T set(int index,
T element)
set in interface java.util.List<T>set in class java.util.ArrayList<T>public java.util.Iterator<T> iterator()
iterator in interface java.lang.Iterable<T>iterator in interface java.util.Collection<T>iterator in interface java.util.List<T>iterator in class java.util.ArrayList<T>public java.util.ListIterator<T> listIterator()
listIterator in interface java.util.List<T>listIterator in class java.util.ArrayList<T>