public class NativeSecp256k1Util
extends java.lang.Object
NativeSecp256k1
Modifier and Type | Class and Description |
---|---|
static class |
NativeSecp256k1Util.AssertFailException
Assertion failure exception
|
Constructor and Description |
---|
NativeSecp256k1Util() |
Modifier and Type | Method and Description |
---|---|
static void |
assertEquals(boolean val,
boolean val2,
java.lang.String message)
Compare two booleans and throw
NativeSecp256k1Util.AssertFailException if not equal |
static void |
assertEquals(int val,
int val2,
java.lang.String message)
Compare two integers and throw
NativeSecp256k1Util.AssertFailException if not equal |
static void |
assertEquals(java.lang.String val,
java.lang.String val2,
java.lang.String message)
Compare two Strings and throw
NativeSecp256k1Util.AssertFailException if not equal |
public static void assertEquals(int val, int val2, java.lang.String message) throws NativeSecp256k1Util.AssertFailException
NativeSecp256k1Util.AssertFailException
if not equalval
- first intval2
- second intmessage
- failure error messageNativeSecp256k1Util.AssertFailException
- when ints are not equalpublic static void assertEquals(boolean val, boolean val2, java.lang.String message) throws NativeSecp256k1Util.AssertFailException
NativeSecp256k1Util.AssertFailException
if not equalval
- first booleanval2
- second booleanmessage
- failure error messageNativeSecp256k1Util.AssertFailException
- when booleans are not equalpublic static void assertEquals(java.lang.String val, java.lang.String val2, java.lang.String message) throws NativeSecp256k1Util.AssertFailException
NativeSecp256k1Util.AssertFailException
if not equalval
- first Stringval2
- second Stringmessage
- failure error messageNativeSecp256k1Util.AssertFailException
- when Strings are not equal