Package org.bitcoin
Class NativeSecp256k1Util
- java.lang.Object
-
- org.bitcoin.NativeSecp256k1Util
-
@Deprecated public class NativeSecp256k1Util extends java.lang.Object
Deprecated.See https://github.com/bitcoinj/bitcoinj/issues/2267Assertion utilities forNativeSecp256k1
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
NativeSecp256k1Util.AssertFailException
Deprecated.Assertion failure exception
-
Constructor Summary
Constructors Constructor Description NativeSecp256k1Util()
Deprecated.
-
Method Summary
All Methods Static Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static void
assertEquals(boolean val, boolean val2, java.lang.String message)
Deprecated.Compare two booleans and throwNativeSecp256k1Util.AssertFailException
if not equalstatic void
assertEquals(int val, int val2, java.lang.String message)
Deprecated.Compare two integers and throwNativeSecp256k1Util.AssertFailException
if not equalstatic void
assertEquals(java.lang.String val, java.lang.String val2, java.lang.String message)
Deprecated.Compare two Strings and throwNativeSecp256k1Util.AssertFailException
if not equal
-
-
-
Method Detail
-
assertEquals
public static void assertEquals(int val, int val2, java.lang.String message) throws NativeSecp256k1Util.AssertFailException
Deprecated.Compare two integers and throwNativeSecp256k1Util.AssertFailException
if not equal- Parameters:
val
- first intval2
- second intmessage
- failure error message- Throws:
NativeSecp256k1Util.AssertFailException
- when ints are not equal
-
assertEquals
public static void assertEquals(boolean val, boolean val2, java.lang.String message) throws NativeSecp256k1Util.AssertFailException
Deprecated.Compare two booleans and throwNativeSecp256k1Util.AssertFailException
if not equal- Parameters:
val
- first booleanval2
- second booleanmessage
- failure error message- Throws:
NativeSecp256k1Util.AssertFailException
- when booleans are not equal
-
assertEquals
public static void assertEquals(java.lang.String val, java.lang.String val2, java.lang.String message) throws NativeSecp256k1Util.AssertFailException
Deprecated.Compare two Strings and throwNativeSecp256k1Util.AssertFailException
if not equal- Parameters:
val
- first Stringval2
- second Stringmessage
- failure error message- Throws:
NativeSecp256k1Util.AssertFailException
- when Strings are not equal
-
-