Package org.nuxeo.audit.api
Class LogEntryList
- All Implemented Interfaces:
Serializable
,Iterable<LogEntry>
,Collection<LogEntry>
,List<LogEntry>
,SequencedCollection<LogEntry>
public class LogEntryList
extends org.apache.commons.collections4.list.AbstractSerializableListDecorator<LogEntry>
implements List<LogEntry>, Serializable
- Since:
- 2025.0
- See Also:
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionLogEntryList
(List<LogEntry> list, long totalSize) Constructor that wraps (not copies). -
Method Summary
Modifier and TypeMethodDescriptionlong
Returns the total size of the bigger list this is a part of.Methods inherited from class org.apache.commons.collections4.list.AbstractListDecorator
add, addAll, decorated, equals, get, hashCode, indexOf, lastIndexOf, listIterator, listIterator, remove, set, subList
Methods inherited from class org.apache.commons.collections4.collection.AbstractCollectionDecorator
add, addAll, clear, contains, containsAll, isEmpty, iterator, remove, removeAll, removeIf, retainAll, setCollection, size, toArray, toArray, toString
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface java.util.Collection
parallelStream, removeIf, stream, toArray
Methods inherited from interface java.util.List
add, add, addAll, addAll, addFirst, addLast, clear, contains, containsAll, equals, get, getFirst, getLast, hashCode, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, removeFirst, removeLast, replaceAll, retainAll, reversed, set, size, sort, spliterator, subList, toArray, toArray
-
Field Details
-
totalSize
protected final long totalSize
-
-
Constructor Details
-
LogEntryList
Constructor that wraps (not copies).- Parameters:
list
- the list to decorate, must not be null- Throws:
NullPointerException
- if list is null
-
-
Method Details
-
getTotalSize
public long getTotalSize()Returns the total size of the bigger list this is a part of.- Returns:
- the total size
-