@Test public void comparisonBytesVsString() throws Exception { Address a = Address.fromBase58(mainParams, "1Dorian4RoXcnBv9hnQ4Y2C1an6NJ4UrjX"); Address b = Address.fromBase58(mainParams, "1EXoDusjGwvnjZUyKkxZ4UHEf77z6A5S4P"); int resultBytes = a.compareTo(b); int resultsString = a.toString().compareTo(b.toString()); assertTrue( resultBytes < 0 ); assertTrue( resultsString < 0 ); }
public static Address fromBase58(@Nullable NetworkParameters params, String base58) throws AddressFormatException { return new Address(params, base58); }
Address extends VersionedChecksummedBytes { public static Address fromBase58(@Nullable NetworkParameters params, String base58) throws AddressFormatException { return new Address(params, base58); } }
Address extends VersionedChecksummedBytes { public static Address fromBase58(@Nullable NetworkParameters params, String base58) throws AddressFormatException { return new Address(params, base58); } Address(NetworkParameters params, int version, byte[] hash);  Address(NetworkParameters params, byte[] hash160); @Deprecated  Address(@Nullable NetworkParameters params, String address); }
Address extends VersionedChecksummedBytes { public static Address fromBase58(@Nullable NetworkParameters params, String base58) throws AddressFormatException { return new Address(params, base58); } Address(NetworkParameters params, int version, byte[] hash);  Address(NetworkParameters params, byte[] hash160); @Deprecated  Address(@Nullable NetworkParameters params, String address); static Address fromP2SHHash(NetworkParameters params, byte[] hash160); static Address fromP2SHScript(NetworkParameters params, Script scriptPubKey); static Address fromP2WSHHash(NetworkParameters params, byte[] hash); static Address fromP2WPKHHash(NetworkParameters params, byte[] hash); static Address fromBase58(@Nullable NetworkParameters params, String base58); byte[] getHash160(); byte[] getHash(); boolean isP2SHAddress(); boolean isP2WPKHAddress(); boolean isP2WSHAddress(); NetworkParameters getParameters(); static NetworkParameters getParametersFromAddress(String address); @Override Address clone(); }
Address extends VersionedChecksummedBytes { public static Address fromBase58(@Nullable NetworkParameters params, String base58) throws AddressFormatException { return new Address(params, base58); } Address(NetworkParameters params, int version, byte[] hash);  Address(NetworkParameters params, byte[] hash160); @Deprecated  Address(@Nullable NetworkParameters params, String address); static Address fromP2SHHash(NetworkParameters params, byte[] hash160); static Address fromP2SHScript(NetworkParameters params, Script scriptPubKey); static Address fromP2WSHHash(NetworkParameters params, byte[] hash); static Address fromP2WPKHHash(NetworkParameters params, byte[] hash); static Address fromBase58(@Nullable NetworkParameters params, String base58); byte[] getHash160(); byte[] getHash(); boolean isP2SHAddress(); boolean isP2WPKHAddress(); boolean isP2WSHAddress(); NetworkParameters getParameters(); static NetworkParameters getParametersFromAddress(String address); @Override Address clone(); @Deprecated
    static final int LENGTH; }