Class CompareEvent
java.lang.Object
edu.stanford.slac.archiverappliance.plain.CompareEvent
- All Implemented Interfaces:
CompareEventLine
A comparator for PB events that is used in searching.
- Author:
- mshankar
-
Nested Class Summary
Nested classes/interfaces inherited from interface edu.stanford.slac.archiverappliance.PB.search.CompareEventLine
CompareEventLine.NextStep -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncompare(byte[] line1, byte[] line2) This is the actual comparison function.
-
Constructor Details
-
CompareEvent
-
-
Method Details
-
compare
Description copied from interface:CompareEventLineThis is the actual comparison function.- Specified by:
comparein interfaceCompareEventLine- Parameters:
line1- - A full PB lineline2- - A full PB line- Returns:
- NextStep one of the eumuration of NextStep
- Throws:
IOException-
-