-
public final class ExpiredLoggableCollection
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public classExpiredLoggableCollection.Companion
-
Field Summary
Fields Modifier and Type Field Description private final Integersizeprivate final BooleanfromScratch
-
Constructor Summary
Constructors Constructor Description ExpiredLoggableCollection(ExpiredLoggableCollection parent, LongArrayList addresses, IntArrayList lengths, Boolean calcUtilizationFromScratch)
-
Method Summary
Modifier and Type Method Description final IntegergetSize()final BooleangetFromScratch()final Unitadd(Loggable loggable)final Unitadd(Long address, Integer length)final ExpiredLoggableCollectiontrimToSize()final ExpiredLoggableCollectionmergeWith(ExpiredLoggableCollection parent)final ExpiredLoggableCollectionforEach(Function2<Long, Integer, Unit> action)StringtoString()-
-
Constructor Detail
-
ExpiredLoggableCollection
ExpiredLoggableCollection(ExpiredLoggableCollection parent, LongArrayList addresses, IntArrayList lengths, Boolean calcUtilizationFromScratch)
-
-
Method Detail
-
getFromScratch
final Boolean getFromScratch()
-
trimToSize
final ExpiredLoggableCollection trimToSize()
-
mergeWith
final ExpiredLoggableCollection mergeWith(ExpiredLoggableCollection parent)
-
forEach
final ExpiredLoggableCollection forEach(Function2<Long, Integer, Unit> action)
-
-
-
-