AddressParser: add JavaDoc to interface Strict

This commit is contained in:
Sean Gilligan 2023-06-09 11:50:46 +02:00 committed by Andreas Schildbach
parent 4a45c3b4f4
commit 3429737f81

View File

@ -39,6 +39,12 @@ public interface AddressParser {
*/
Address parseAddress(String addressString, Network network) throws AddressFormatException;
/**
* Functional interface for strict parsing. It takes a single parameter, like {@link AddressParser#parseAddressAnyNetwork(String)}
* but is used in a context where a specific {@link Network} has been specified. This interface may be
* implemented by creating a partial application of ({@link AddressParser#parseAddress(String, Network)} providing
* a fixed value for {@link Network}.
*/
@FunctionalInterface
interface Strict {
/**