@FunctionalInterface public interface HeadNumberChecker
This interface provides a contract for checking a given header number and its position. Typically, implementations of this interface will contain logic to determine whether the provided header number, in the context of its position are a valid combination.
| Modifier and Type | Method and Description |
|---|---|
boolean |
checkHeaderNumber(long headerNumber,
long position)
Checks whether the provided header number meets a certain condition in the context of its position.
|
boolean checkHeaderNumber(long headerNumber,
long position)
headerNumber - The header number to be checked.position - The position or context associated with the header number.true if the header number is valid; false otherwise.Copyright © 2024. All rights reserved.