Package com.helger.commons.error.list
Class ErrorList
java.lang.Object
- All Implemented Interfaces:
ICommonsCollection<IError>,ICommonsIterable<IError>,ICommonsList<IError>,IHasErrorLevels<IError>,IErrorList,ICloneable<ICommonsList<IError>>,IHasSize,Serializable,Cloneable,Iterable<IError>,Collection<IError>,List<IError>,RandomAccess,SequencedCollection<IError>
Default implementation of
IErrorList.- Since:
- 8.5.0
- Author:
- Philip Helger
- See Also:
-
Field Summary
Fields inherited from class java.util.AbstractList
modCount -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class com.helger.commons.collection.impl.CommonsArrayList
createFiltered, createFiltered, createFiltered, createFiltered, createFiltered, createFiltered, createInstanceMethods inherited from class java.util.ArrayList
add, add, addAll, addAll, addFirst, addLast, clear, clone, contains, ensureCapacity, equals, forEach, get, getFirst, getLast, hashCode, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, removeFirst, removeIf, removeLast, removeRange, replaceAll, retainAll, set, size, sort, spliterator, subList, toArray, toArray, trimToSizeMethods inherited from class java.util.AbstractCollection
containsAll, toStringMethods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface java.util.Collection
parallelStream, removeIf, stream, toArrayMethods inherited from interface com.helger.commons.collection.impl.ICommonsCollection
addAll, addAll, addAll, addAll, addAll, addAll, addAll, addAll, addAllMapped, addAllMapped, addAllMapped, addAllMapped, addAllMapped, addAllMapped, addIf, addIfNotNull, addObject, getAtIndex, getAtIndex, getAtIndex, getAtIndexMapped, getAtIndexMapped, getAtIndexMapped, getAtIndexMapped, getCopyAsList, getCount, getSorted, iterator2, removeAll, removeObject, set, setAll, setAll, setAllMapped, setAllMappedMethods inherited from interface com.helger.commons.collection.impl.ICommonsIterable
containsAny, containsNone, containsOnly, findAll, findAllInstanceOf, findAllMapped, findAllMapped, findAllMapped, findFirst, findFirst, findFirstIndex, findFirstMapped, findFirstMapped, findLastIndex, forEachBreakable, forEachByIndex, forEachThrowing, getCountMethods inherited from interface com.helger.commons.collection.impl.ICommonsList
createInstance, getAll, getAllInstanceOf, getAllMapped, getAllMapped, getAsUnmodifiable, getAtIndex, getFirst, getFirst, getFirstOrNull, getLast, getLast, getLastOrNull, getSortedInline, removeAndReturnElementAtIndex, removeAtIndex, removeFirst, removeFirstOrNull, removeLast, removeLastOrNull, reverse, setFirst, setLast, swapItemsMethods inherited from interface com.helger.commons.error.list.IErrorList
getAllDataItems, getAllErrors, getAllFailures, getAllTexts, getGrouped, getGroupedByFieldName, getGroupedByID, getListOfField, getListOfFields, getListOfFields, getListOfFieldsRegExp, getListOfFieldsStartingWith, getListWithoutField, hasEntryForField, hasEntryForField, hasEntryForFields, hasErrorForField, hasNoEntryForField, hasNoEntryForFieldsMethods inherited from interface com.helger.commons.error.level.IHasErrorLevels
containsAtLeastOneError, containsAtLeastOneFailure, containsAtLeastOneSuccess, containsAtLeastOneWarningOrError, containsNoError, containsNoFailure, containsNoSuccess, containsOnlyError, containsOnlyFailure, containsOnlySuccess, getErrorCount, getFailureCount, getMostSevereErrorLevel, getSuccessCountMethods inherited from interface com.helger.commons.lang.IHasSize
isEmpty, isNotEmpty, sizeMethods inherited from interface java.util.List
add, add, addAll, addAll, addFirst, addLast, clear, contains, containsAll, equals, get, hashCode, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, replaceAll, retainAll, reversed, set, size, sort, spliterator, subList, toArray, toArray
-
Constructor Details
-
ErrorList
public ErrorList()Default constructor. -
ErrorList
Constructor taking a list of iterable objects.- Parameters:
aList- The list to be added. May benull.
-
ErrorList
Constructor taking a list of iterable objects.- Parameters:
aList- The array to be added. May benull.
-
ErrorList
Copy constructor.- Parameters:
aErrorList- The error list to copy from. May benull.
-
-
Method Details
-
getSubList
Description copied from interface:IErrorListGet a sub-list with all entries that match the provided predicate.- Specified by:
getSubListin interfaceIErrorList- Parameters:
aFilter- The filter to be used. May benullin which a copy is returned.- Returns:
- Never
null.
-
getClone
- Specified by:
getClonein interfaceICloneable<ICommonsList<IError>>- Overrides:
getClonein classCommonsArrayList<IError>- Returns:
- A 100% deep-copy of the implementing class.
-