Package org.bitcoin
Class NativeSecp256k1Util
- java.lang.Object
-
- org.bitcoin.NativeSecp256k1Util
-
public class NativeSecp256k1Util extends java.lang.ObjectAssertion utilities forNativeSecp256k1
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classNativeSecp256k1Util.AssertFailExceptionAssertion failure exception
-
Constructor Summary
Constructors Constructor Description NativeSecp256k1Util()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static voidassertEquals(boolean val, boolean val2, java.lang.String message)Compare two booleans and throwNativeSecp256k1Util.AssertFailExceptionif not equalstatic voidassertEquals(int val, int val2, java.lang.String message)Compare two integers and throwNativeSecp256k1Util.AssertFailExceptionif not equalstatic voidassertEquals(java.lang.String val, java.lang.String val2, java.lang.String message)Compare two Strings and throwNativeSecp256k1Util.AssertFailExceptionif not equal
-
-
-
Method Detail
-
assertEquals
public static void assertEquals(int val, int val2, java.lang.String message) throws NativeSecp256k1Util.AssertFailExceptionCompare two integers and throwNativeSecp256k1Util.AssertFailExceptionif 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.AssertFailExceptionCompare two booleans and throwNativeSecp256k1Util.AssertFailExceptionif 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.AssertFailExceptionCompare two Strings and throwNativeSecp256k1Util.AssertFailExceptionif not equal- Parameters:
val- first Stringval2- second Stringmessage- failure error message- Throws:
NativeSecp256k1Util.AssertFailException- when Strings are not equal
-
-