Package PamguardMVC
Class BinaryFileMatcher
java.lang.Object
PamguardMVC.BinaryFileMatcher
- All Implemented Interfaces:
DataUnitMatcher
Match data based on binary file information.
Must supply two parameters. First is binary file name second is click number in file.
- Author:
- Doug Gillespie
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionint
match
(PamDataUnit dataUnit, Object... criteria) Return an int, so we can see if we should move forwrard of back.
-
Constructor Details
-
BinaryFileMatcher
public BinaryFileMatcher()
-
-
Method Details
-
match
Description copied from interface:DataUnitMatcher
Return an int, so we can see if we should move forwrard of back. Similar behaviour to a Java Comparator, where >0 means that the criteria are greater than the dataUnit, probably meaning we're too far into the list, so should back up, invalid input: '<'= meaning we're not far enough, and 0 meaning a match.- Specified by:
match
in interfaceDataUnitMatcher
- Returns:
-