Class PackageInfoList
java.lang.Object
- All Implemented Interfaces:
Serializable, Cloneable, Iterable<PackageInfo>, Collection<PackageInfo>, List<PackageInfo>, RandomAccess, SequencedCollection<PackageInfo>
A list of
PackageInfo objects.- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interfaceFilter anPackageInfoListusing a predicate mapping anPackageInfoobject to a boolean, producing anotherPackageInfoListfor all items in the list for which the predicate is true. -
Field Summary
Fields inherited from class AbstractList
modCount -
Method Summary
Modifier and TypeMethodDescriptionvoidadd(int index, PackageInfo element) booleanadd(PackageInfo element) booleanaddAll(int index, Collection<? extends PackageInfo> c) booleanaddAll(Collection<? extends PackageInfo> c) voidclear()Find the subset of thePackageInfoobjects in this list for which the given filter predicate is true.iterator()remove(int index) booleanbooleanremoveAll(Collection<?> c) booleanretainAll(Collection<?> c) set(int index, PackageInfo element) Methods inherited from class MappableInfoList
asMap, containsName, getMethods inherited from class InfoList
equals, getAsStrings, getAsStringsWithSimpleNames, getNames, hashCodeMethods 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
-
Method Details
-
filter
Find the subset of thePackageInfoobjects in this list for which the given filter predicate is true.- Parameters:
filter- ThePackageInfoList.PackageInfoFilterto apply.- Returns:
- The subset of the
PackageInfoobjects 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>
-