Class ConcurrentRecordSet
java.lang.Object
org.netpreserve.jwarc.ConcurrentRecordSet
A set for testing whether WARC records are concurrent (i.e. part of the same capture event).
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidadd(WarcRecord record) Adds a record to the set.voidclear()Removes all records from the set.booleancontains(WarcRecord record) Tests if the given record is concurrent to any previously added record.
-
Constructor Details
-
ConcurrentRecordSet
public ConcurrentRecordSet()
-
-
Method Details
-
add
Adds a record to the set. -
contains
Tests if the given record is concurrent to any previously added record. -
clear
public void clear()Removes all records from the set.
-