public class CorrelationTester<RecordType>
extends java.lang.Object
Constructor and Description |
---|
CorrelationTester(int fullCount,
CorrelationFilter<RecordType> aFilter)
Creates a new instance of CorrelationTester
|
Modifier and Type | Method and Description |
---|---|
boolean |
accept(Correlation<RecordType> correlation)
Determine whether the specified correlation passes the filter's test.
|
CorrelationFilter<RecordType> |
getFilter()
Get the correlation filter.
|
void |
setFilter(CorrelationFilter<RecordType> newFilter)
Set the correlation filter.
|
void |
setFullCount(int newCount)
Set the full count.
|
public CorrelationTester(int fullCount, CorrelationFilter<RecordType> aFilter)
public void setFullCount(int newCount)
newCount
- The number of channels to monitor and correlate.public CorrelationFilter<RecordType> getFilter()
public void setFilter(CorrelationFilter<RecordType> newFilter)
newFilter
- The new filter to apply to correlations.public boolean accept(Correlation<RecordType> correlation)
correlation
- The correlation to test.