mirror of
https://github.com/bitcoinj/bitcoinj.git
synced 2024-11-19 09:50:32 +01:00
AddressParser: add JavaDoc to interface Strict
This commit is contained in:
parent
4a45c3b4f4
commit
3429737f81
@ -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 {
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user