T
- the data signature type
V
- the data type
public class EventDataCacheComparatorBasedEventData extends Object implements IEventDataCache>
IEventDataCache
. Merges data with the same signature by increasing its count. Retrieve the smallest element based on comparator. Not thread safe.
Constructor and Description |
---|
EventDataCacheComparatorBased(Comparator<V> comparator) |
public EventDataCacheComparatorBased(Comparator<V> comparator)
public void put(V data)
public V retrieveNext()
retrieveNext
in interface IEventDataCache<T,V extends EventData<T>>
Copyright © 1998–2023 iText Group NV. All rights reserved.