// WARNING: This file was autogenerated by jni-bindgen. Any changes to this file may be lost!!!
#[cfg(any(feature = "all", feature = "java-math-BigDecimal"))]
__jni_bindgen! {
/// public class [BigDecimal](https://developer.android.com/reference/java/math/BigDecimal.html)
///
/// Required feature: "java-math-BigDecimal"
public class BigDecimal ("java/math/BigDecimal") extends crate::java::lang::Number, implements crate::java::lang::Comparable, crate::java::io::Serializable {
/// [BigDecimal](https://developer.android.com/reference/java/math/BigDecimal.html#BigDecimal(char%5B%5D,%20int,%20int))
pub fn new_char_array_int_int<'env>(__jni_env: &'env __jni_bindgen::Env, arg0: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env __jni_bindgen::CharArray>>, arg1: i32, arg2: i32) -> __jni_bindgen::std::result::Result<__jni_bindgen::Local<'env, crate::java::math::BigDecimal>, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "java/math/BigDecimal", java.flags == PUBLIC, .name == "<init>", .descriptor == "([CII)V"
unsafe {
let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0.into()), __jni_bindgen::AsJValue::as_jvalue(&arg1), __jni_bindgen::AsJValue::as_jvalue(&arg2)];
let (__jni_class, __jni_method) = __jni_env.require_class_method("java/math/BigDecimal\0", "<init>\0", "([CII)V\0");
__jni_env.new_object_a(__jni_class, __jni_method, __jni_args.as_ptr())
}
}
/// [BigDecimal](https://developer.android.com/reference/java/math/BigDecimal.html#BigDecimal(char%5B%5D,%20int,%20int,%20java.math.MathContext))
///
/// Required features: "java-math-MathContext"
#[cfg(any(feature = "all", all(feature = "java-math-MathContext")))]
pub fn new_char_array_int_int_MathContext<'env>(__jni_env: &'env __jni_bindgen::Env, arg0: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env __jni_bindgen::CharArray>>, arg1: i32, arg2: i32, arg3: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::java::math::MathContext>>) -> __jni_bindgen::std::result::Result<__jni_bindgen::Local<'env, crate::java::math::BigDecimal>, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "java/math/BigDecimal", java.flags == PUBLIC, .name == "<init>", .descriptor == "([CIILjava/math/MathContext;)V"
unsafe {
let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0.into()), __jni_bindgen::AsJValue::as_jvalue(&arg1), __jni_bindgen::AsJValue::as_jvalue(&arg2), __jni_bindgen::AsJValue::as_jvalue(&arg3.into())];
let (__jni_class, __jni_method) = __jni_env.require_class_method("java/math/BigDecimal\0", "<init>\0", "([CIILjava/math/MathContext;)V\0");
__jni_env.new_object_a(__jni_class, __jni_method, __jni_args.as_ptr())
}
}
/// [BigDecimal](https://developer.android.com/reference/java/math/BigDecimal.html#BigDecimal(char%5B%5D))
pub fn new_char_array<'env>(__jni_env: &'env __jni_bindgen::Env, arg0: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env __jni_bindgen::CharArray>>) -> __jni_bindgen::std::result::Result<__jni_bindgen::Local<'env, crate::java::math::BigDecimal>, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "java/math/BigDecimal", java.flags == PUBLIC, .name == "<init>", .descriptor == "([C)V"
unsafe {
let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0.into())];
let (__jni_class, __jni_method) = __jni_env.require_class_method("java/math/BigDecimal\0", "<init>\0", "([C)V\0");
__jni_env.new_object_a(__jni_class, __jni_method, __jni_args.as_ptr())
}
}
/// [BigDecimal](https://developer.android.com/reference/java/math/BigDecimal.html#BigDecimal(char%5B%5D,%20java.math.MathContext))
///
/// Required features: "java-math-MathContext"
#[cfg(any(feature = "all", all(feature = "java-math-MathContext")))]
pub fn new_char_array_MathContext<'env>(__jni_env: &'env __jni_bindgen::Env, arg0: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env __jni_bindgen::CharArray>>, arg1: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::java::math::MathContext>>) -> __jni_bindgen::std::result::Result<__jni_bindgen::Local<'env, crate::java::math::BigDecimal>, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "java/math/BigDecimal", java.flags == PUBLIC, .name == "<init>", .descriptor == "([CLjava/math/MathContext;)V"
unsafe {
let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0.into()), __jni_bindgen::AsJValue::as_jvalue(&arg1.into())];
let (__jni_class, __jni_method) = __jni_env.require_class_method("java/math/BigDecimal\0", "<init>\0", "([CLjava/math/MathContext;)V\0");
__jni_env.new_object_a(__jni_class, __jni_method, __jni_args.as_ptr())
}
}
/// [BigDecimal](https://developer.android.com/reference/java/math/BigDecimal.html#BigDecimal(java.lang.String))
///
/// Required features: "java-lang-String"
#[cfg(any(feature = "all", all(feature = "java-lang-String")))]
pub fn new_String<'env>(__jni_env: &'env __jni_bindgen::Env, arg0: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::java::lang::String>>) -> __jni_bindgen::std::result::Result<__jni_bindgen::Local<'env, crate::java::math::BigDecimal>, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "java/math/BigDecimal", java.flags == PUBLIC, .name == "<init>", .descriptor == "(Ljava/lang/String;)V"
unsafe {
let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0.into())];
let (__jni_class, __jni_method) = __jni_env.require_class_method("java/math/BigDecimal\0", "<init>\0", "(Ljava/lang/String;)V\0");
__jni_env.new_object_a(__jni_class, __jni_method, __jni_args.as_ptr())
}
}
/// [BigDecimal](https://developer.android.com/reference/java/math/BigDecimal.html#BigDecimal(java.lang.String,%20java.math.MathContext))
///
/// Required features: "java-lang-String", "java-math-MathContext"
#[cfg(any(feature = "all", all(feature = "java-lang-String", feature = "java-math-MathContext")))]
pub fn new_String_MathContext<'env>(__jni_env: &'env __jni_bindgen::Env, arg0: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::java::lang::String>>, arg1: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::java::math::MathContext>>) -> __jni_bindgen::std::result::Result<__jni_bindgen::Local<'env, crate::java::math::BigDecimal>, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "java/math/BigDecimal", java.flags == PUBLIC, .name == "<init>", .descriptor == "(Ljava/lang/String;Ljava/math/MathContext;)V"
unsafe {
let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0.into()), __jni_bindgen::AsJValue::as_jvalue(&arg1.into())];
let (__jni_class, __jni_method) = __jni_env.require_class_method("java/math/BigDecimal\0", "<init>\0", "(Ljava/lang/String;Ljava/math/MathContext;)V\0");
__jni_env.new_object_a(__jni_class, __jni_method, __jni_args.as_ptr())
}
}
/// [BigDecimal](https://developer.android.com/reference/java/math/BigDecimal.html#BigDecimal(double))
pub fn new_double<'env>(__jni_env: &'env __jni_bindgen::Env, arg0: f64) -> __jni_bindgen::std::result::Result<__jni_bindgen::Local<'env, crate::java::math::BigDecimal>, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "java/math/BigDecimal", java.flags == PUBLIC, .name == "<init>", .descriptor == "(D)V"
unsafe {
let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0)];
let (__jni_class, __jni_method) = __jni_env.require_class_method("java/math/BigDecimal\0", "<init>\0", "(D)V\0");
__jni_env.new_object_a(__jni_class, __jni_method, __jni_args.as_ptr())
}
}
/// [BigDecimal](https://developer.android.com/reference/java/math/BigDecimal.html#BigDecimal(double,%20java.math.MathContext))
///
/// Required features: "java-math-MathContext"
#[cfg(any(feature = "all", all(feature = "java-math-MathContext")))]
pub fn new_double_MathContext<'env>(__jni_env: &'env __jni_bindgen::Env, arg0: f64, arg1: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::java::math::MathContext>>) -> __jni_bindgen::std::result::Result<__jni_bindgen::Local<'env, crate::java::math::BigDecimal>, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "java/math/BigDecimal", java.flags == PUBLIC, .name == "<init>", .descriptor == "(DLjava/math/MathContext;)V"
unsafe {
let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0), __jni_bindgen::AsJValue::as_jvalue(&arg1.into())];
let (__jni_class, __jni_method) = __jni_env.require_class_method("java/math/BigDecimal\0", "<init>\0", "(DLjava/math/MathContext;)V\0");
__jni_env.new_object_a(__jni_class, __jni_method, __jni_args.as_ptr())
}
}
/// [BigDecimal](https://developer.android.com/reference/java/math/BigDecimal.html#BigDecimal(java.math.BigInteger))
///
/// Required features: "java-math-BigInteger"
#[cfg(any(feature = "all", all(feature = "java-math-BigInteger")))]
pub fn new_BigInteger<'env>(__jni_env: &'env __jni_bindgen::Env, arg0: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::java::math::BigInteger>>) -> __jni_bindgen::std::result::Result<__jni_bindgen::Local<'env, crate::java::math::BigDecimal>, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "java/math/BigDecimal", java.flags == PUBLIC, .name == "<init>", .descriptor == "(Ljava/math/BigInteger;)V"
unsafe {
let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0.into())];
let (__jni_class, __jni_method) = __jni_env.require_class_method("java/math/BigDecimal\0", "<init>\0", "(Ljava/math/BigInteger;)V\0");
__jni_env.new_object_a(__jni_class, __jni_method, __jni_args.as_ptr())
}
}
/// [BigDecimal](https://developer.android.com/reference/java/math/BigDecimal.html#BigDecimal(java.math.BigInteger,%20java.math.MathContext))
///
/// Required features: "java-math-BigInteger", "java-math-MathContext"
#[cfg(any(feature = "all", all(feature = "java-math-BigInteger", feature = "java-math-MathContext")))]
pub fn new_BigInteger_MathContext<'env>(__jni_env: &'env __jni_bindgen::Env, arg0: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::java::math::BigInteger>>, arg1: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::java::math::MathContext>>) -> __jni_bindgen::std::result::Result<__jni_bindgen::Local<'env, crate::java::math::BigDecimal>, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "java/math/BigDecimal", java.flags == PUBLIC, .name == "<init>", .descriptor == "(Ljava/math/BigInteger;Ljava/math/MathContext;)V"
unsafe {
let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0.into()), __jni_bindgen::AsJValue::as_jvalue(&arg1.into())];
let (__jni_class, __jni_method) = __jni_env.require_class_method("java/math/BigDecimal\0", "<init>\0", "(Ljava/math/BigInteger;Ljava/math/MathContext;)V\0");
__jni_env.new_object_a(__jni_class, __jni_method, __jni_args.as_ptr())
}
}
/// [BigDecimal](https://developer.android.com/reference/java/math/BigDecimal.html#BigDecimal(java.math.BigInteger,%20int))
///
/// Required features: "java-math-BigInteger"
#[cfg(any(feature = "all", all(feature = "java-math-BigInteger")))]
pub fn new_BigInteger_int<'env>(__jni_env: &'env __jni_bindgen::Env, arg0: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::java::math::BigInteger>>, arg1: i32) -> __jni_bindgen::std::result::Result<__jni_bindgen::Local<'env, crate::java::math::BigDecimal>, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "java/math/BigDecimal", java.flags == PUBLIC, .name == "<init>", .descriptor == "(Ljava/math/BigInteger;I)V"
unsafe {
let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0.into()), __jni_bindgen::AsJValue::as_jvalue(&arg1)];
let (__jni_class, __jni_method) = __jni_env.require_class_method("java/math/BigDecimal\0", "<init>\0", "(Ljava/math/BigInteger;I)V\0");
__jni_env.new_object_a(__jni_class, __jni_method, __jni_args.as_ptr())
}
}
/// [BigDecimal](https://developer.android.com/reference/java/math/BigDecimal.html#BigDecimal(java.math.BigInteger,%20int,%20java.math.MathContext))
///
/// Required features: "java-math-BigInteger", "java-math-MathContext"
#[cfg(any(feature = "all", all(feature = "java-math-BigInteger", feature = "java-math-MathContext")))]
pub fn new_BigInteger_int_MathContext<'env>(__jni_env: &'env __jni_bindgen::Env, arg0: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::java::math::BigInteger>>, arg1: i32, arg2: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::java::math::MathContext>>) -> __jni_bindgen::std::result::Result<__jni_bindgen::Local<'env, crate::java::math::BigDecimal>, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "java/math/BigDecimal", java.flags == PUBLIC, .name == "<init>", .descriptor == "(Ljava/math/BigInteger;ILjava/math/MathContext;)V"
unsafe {
let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0.into()), __jni_bindgen::AsJValue::as_jvalue(&arg1), __jni_bindgen::AsJValue::as_jvalue(&arg2.into())];
let (__jni_class, __jni_method) = __jni_env.require_class_method("java/math/BigDecimal\0", "<init>\0", "(Ljava/math/BigInteger;ILjava/math/MathContext;)V\0");
__jni_env.new_object_a(__jni_class, __jni_method, __jni_args.as_ptr())
}
}
/// [BigDecimal](https://developer.android.com/reference/java/math/BigDecimal.html#BigDecimal(int))
pub fn new_int<'env>(__jni_env: &'env __jni_bindgen::Env, arg0: i32) -> __jni_bindgen::std::result::Result<__jni_bindgen::Local<'env, crate::java::math::BigDecimal>, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "java/math/BigDecimal", java.flags == PUBLIC, .name == "<init>", .descriptor == "(I)V"
unsafe {
let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0)];
let (__jni_class, __jni_method) = __jni_env.require_class_method("java/math/BigDecimal\0", "<init>\0", "(I)V\0");
__jni_env.new_object_a(__jni_class, __jni_method, __jni_args.as_ptr())
}
}
/// [BigDecimal](https://developer.android.com/reference/java/math/BigDecimal.html#BigDecimal(int,%20java.math.MathContext))
///
/// Required features: "java-math-MathContext"
#[cfg(any(feature = "all", all(feature = "java-math-MathContext")))]
pub fn new_int_MathContext<'env>(__jni_env: &'env __jni_bindgen::Env, arg0: i32, arg1: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::java::math::MathContext>>) -> __jni_bindgen::std::result::Result<__jni_bindgen::Local<'env, crate::java::math::BigDecimal>, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "java/math/BigDecimal", java.flags == PUBLIC, .name == "<init>", .descriptor == "(ILjava/math/MathContext;)V"
unsafe {
let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0), __jni_bindgen::AsJValue::as_jvalue(&arg1.into())];
let (__jni_class, __jni_method) = __jni_env.require_class_method("java/math/BigDecimal\0", "<init>\0", "(ILjava/math/MathContext;)V\0");
__jni_env.new_object_a(__jni_class, __jni_method, __jni_args.as_ptr())
}
}
/// [BigDecimal](https://developer.android.com/reference/java/math/BigDecimal.html#BigDecimal(long))
pub fn new_long<'env>(__jni_env: &'env __jni_bindgen::Env, arg0: i64) -> __jni_bindgen::std::result::Result<__jni_bindgen::Local<'env, crate::java::math::BigDecimal>, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "java/math/BigDecimal", java.flags == PUBLIC, .name == "<init>", .descriptor == "(J)V"
unsafe {
let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0)];
let (__jni_class, __jni_method) = __jni_env.require_class_method("java/math/BigDecimal\0", "<init>\0", "(J)V\0");
__jni_env.new_object_a(__jni_class, __jni_method, __jni_args.as_ptr())
}
}
/// [BigDecimal](https://developer.android.com/reference/java/math/BigDecimal.html#BigDecimal(long,%20java.math.MathContext))
///
/// Required features: "java-math-MathContext"
#[cfg(any(feature = "all", all(feature = "java-math-MathContext")))]
pub fn new_long_MathContext<'env>(__jni_env: &'env __jni_bindgen::Env, arg0: i64, arg1: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::java::math::MathContext>>) -> __jni_bindgen::std::result::Result<__jni_bindgen::Local<'env, crate::java::math::BigDecimal>, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "java/math/BigDecimal", java.flags == PUBLIC, .name == "<init>", .descriptor == "(JLjava/math/MathContext;)V"
unsafe {
let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0), __jni_bindgen::AsJValue::as_jvalue(&arg1.into())];
let (__jni_class, __jni_method) = __jni_env.require_class_method("java/math/BigDecimal\0", "<init>\0", "(JLjava/math/MathContext;)V\0");
__jni_env.new_object_a(__jni_class, __jni_method, __jni_args.as_ptr())
}
}
/// [valueOf](https://developer.android.com/reference/java/math/BigDecimal.html#valueOf(long,%20int))
///
/// Required features: "java-math-BigDecimal"
#[cfg(any(feature = "all", all(feature = "java-math-BigDecimal")))]
pub fn valueOf_long_int<'env>(__jni_env: &'env __jni_bindgen::Env, arg0: i64, arg1: i32) -> __jni_bindgen::std::result::Result<__jni_bindgen::std::option::Option<__jni_bindgen::Local<'env, crate::java::math::BigDecimal>>, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "java/math/BigDecimal", java.flags == PUBLIC | STATIC, .name == "valueOf", .descriptor == "(JI)Ljava/math/BigDecimal;"
unsafe {
let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0), __jni_bindgen::AsJValue::as_jvalue(&arg1)];
let (__jni_class, __jni_method) = __jni_env.require_class_static_method("java/math/BigDecimal\0", "valueOf\0", "(JI)Ljava/math/BigDecimal;\0");
__jni_env.call_static_object_method_a(__jni_class, __jni_method, __jni_args.as_ptr())
}
}
/// [valueOf](https://developer.android.com/reference/java/math/BigDecimal.html#valueOf(long))
///
/// Required features: "java-math-BigDecimal"
#[cfg(any(feature = "all", all(feature = "java-math-BigDecimal")))]
pub fn valueOf_long<'env>(__jni_env: &'env __jni_bindgen::Env, arg0: i64) -> __jni_bindgen::std::result::Result<__jni_bindgen::std::option::Option<__jni_bindgen::Local<'env, crate::java::math::BigDecimal>>, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "java/math/BigDecimal", java.flags == PUBLIC | STATIC, .name == "valueOf", .descriptor == "(J)Ljava/math/BigDecimal;"
unsafe {
let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0)];
let (__jni_class, __jni_method) = __jni_env.require_class_static_method("java/math/BigDecimal\0", "valueOf\0", "(J)Ljava/math/BigDecimal;\0");
__jni_env.call_static_object_method_a(__jni_class, __jni_method, __jni_args.as_ptr())
}
}
/// [valueOf](https://developer.android.com/reference/java/math/BigDecimal.html#valueOf(double))
///
/// Required features: "java-math-BigDecimal"
#[cfg(any(feature = "all", all(feature = "java-math-BigDecimal")))]
pub fn valueOf_double<'env>(__jni_env: &'env __jni_bindgen::Env, arg0: f64) -> __jni_bindgen::std::result::Result<__jni_bindgen::std::option::Option<__jni_bindgen::Local<'env, crate::java::math::BigDecimal>>, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "java/math/BigDecimal", java.flags == PUBLIC | STATIC, .name == "valueOf", .descriptor == "(D)Ljava/math/BigDecimal;"
unsafe {
let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0)];
let (__jni_class, __jni_method) = __jni_env.require_class_static_method("java/math/BigDecimal\0", "valueOf\0", "(D)Ljava/math/BigDecimal;\0");
__jni_env.call_static_object_method_a(__jni_class, __jni_method, __jni_args.as_ptr())
}
}
/// [add](https://developer.android.com/reference/java/math/BigDecimal.html#add(java.math.BigDecimal))
///
/// Required features: "java-math-BigDecimal"
#[cfg(any(feature = "all", all(feature = "java-math-BigDecimal")))]
pub fn add_BigDecimal<'env>(&'env self, arg0: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::java::math::BigDecimal>>) -> __jni_bindgen::std::result::Result<__jni_bindgen::std::option::Option<__jni_bindgen::Local<'env, crate::java::math::BigDecimal>>, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "java/math/BigDecimal", java.flags == PUBLIC, .name == "add", .descriptor == "(Ljava/math/BigDecimal;)Ljava/math/BigDecimal;"
unsafe {
let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0.into())];
let __jni_env = __jni_bindgen::Env::from_ptr(self.0.env);
let (__jni_class, __jni_method) = __jni_env.require_class_method("java/math/BigDecimal\0", "add\0", "(Ljava/math/BigDecimal;)Ljava/math/BigDecimal;\0");
__jni_env.call_object_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
/// [add](https://developer.android.com/reference/java/math/BigDecimal.html#add(java.math.BigDecimal,%20java.math.MathContext))
///
/// Required features: "java-math-BigDecimal", "java-math-MathContext"
#[cfg(any(feature = "all", all(feature = "java-math-BigDecimal", feature = "java-math-MathContext")))]
pub fn add_BigDecimal_MathContext<'env>(&'env self, arg0: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::java::math::BigDecimal>>, arg1: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::java::math::MathContext>>) -> __jni_bindgen::std::result::Result<__jni_bindgen::std::option::Option<__jni_bindgen::Local<'env, crate::java::math::BigDecimal>>, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "java/math/BigDecimal", java.flags == PUBLIC, .name == "add", .descriptor == "(Ljava/math/BigDecimal;Ljava/math/MathContext;)Ljava/math/BigDecimal;"
unsafe {
let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0.into()), __jni_bindgen::AsJValue::as_jvalue(&arg1.into())];
let __jni_env = __jni_bindgen::Env::from_ptr(self.0.env);
let (__jni_class, __jni_method) = __jni_env.require_class_method("java/math/BigDecimal\0", "add\0", "(Ljava/math/BigDecimal;Ljava/math/MathContext;)Ljava/math/BigDecimal;\0");
__jni_env.call_object_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
/// [subtract](https://developer.android.com/reference/java/math/BigDecimal.html#subtract(java.math.BigDecimal))
///
/// Required features: "java-math-BigDecimal"
#[cfg(any(feature = "all", all(feature = "java-math-BigDecimal")))]
pub fn subtract_BigDecimal<'env>(&'env self, arg0: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::java::math::BigDecimal>>) -> __jni_bindgen::std::result::Result<__jni_bindgen::std::option::Option<__jni_bindgen::Local<'env, crate::java::math::BigDecimal>>, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "java/math/BigDecimal", java.flags == PUBLIC, .name == "subtract", .descriptor == "(Ljava/math/BigDecimal;)Ljava/math/BigDecimal;"
unsafe {
let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0.into())];
let __jni_env = __jni_bindgen::Env::from_ptr(self.0.env);
let (__jni_class, __jni_method) = __jni_env.require_class_method("java/math/BigDecimal\0", "subtract\0", "(Ljava/math/BigDecimal;)Ljava/math/BigDecimal;\0");
__jni_env.call_object_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
/// [subtract](https://developer.android.com/reference/java/math/BigDecimal.html#subtract(java.math.BigDecimal,%20java.math.MathContext))
///
/// Required features: "java-math-BigDecimal", "java-math-MathContext"
#[cfg(any(feature = "all", all(feature = "java-math-BigDecimal", feature = "java-math-MathContext")))]
pub fn subtract_BigDecimal_MathContext<'env>(&'env self, arg0: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::java::math::BigDecimal>>, arg1: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::java::math::MathContext>>) -> __jni_bindgen::std::result::Result<__jni_bindgen::std::option::Option<__jni_bindgen::Local<'env, crate::java::math::BigDecimal>>, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "java/math/BigDecimal", java.flags == PUBLIC, .name == "subtract", .descriptor == "(Ljava/math/BigDecimal;Ljava/math/MathContext;)Ljava/math/BigDecimal;"
unsafe {
let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0.into()), __jni_bindgen::AsJValue::as_jvalue(&arg1.into())];
let __jni_env = __jni_bindgen::Env::from_ptr(self.0.env);
let (__jni_class, __jni_method) = __jni_env.require_class_method("java/math/BigDecimal\0", "subtract\0", "(Ljava/math/BigDecimal;Ljava/math/MathContext;)Ljava/math/BigDecimal;\0");
__jni_env.call_object_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
/// [multiply](https://developer.android.com/reference/java/math/BigDecimal.html#multiply(java.math.BigDecimal))
///
/// Required features: "java-math-BigDecimal"
#[cfg(any(feature = "all", all(feature = "java-math-BigDecimal")))]
pub fn multiply_BigDecimal<'env>(&'env self, arg0: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::java::math::BigDecimal>>) -> __jni_bindgen::std::result::Result<__jni_bindgen::std::option::Option<__jni_bindgen::Local<'env, crate::java::math::BigDecimal>>, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "java/math/BigDecimal", java.flags == PUBLIC, .name == "multiply", .descriptor == "(Ljava/math/BigDecimal;)Ljava/math/BigDecimal;"
unsafe {
let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0.into())];
let __jni_env = __jni_bindgen::Env::from_ptr(self.0.env);
let (__jni_class, __jni_method) = __jni_env.require_class_method("java/math/BigDecimal\0", "multiply\0", "(Ljava/math/BigDecimal;)Ljava/math/BigDecimal;\0");
__jni_env.call_object_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
/// [multiply](https://developer.android.com/reference/java/math/BigDecimal.html#multiply(java.math.BigDecimal,%20java.math.MathContext))
///
/// Required features: "java-math-BigDecimal", "java-math-MathContext"
#[cfg(any(feature = "all", all(feature = "java-math-BigDecimal", feature = "java-math-MathContext")))]
pub fn multiply_BigDecimal_MathContext<'env>(&'env self, arg0: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::java::math::BigDecimal>>, arg1: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::java::math::MathContext>>) -> __jni_bindgen::std::result::Result<__jni_bindgen::std::option::Option<__jni_bindgen::Local<'env, crate::java::math::BigDecimal>>, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "java/math/BigDecimal", java.flags == PUBLIC, .name == "multiply", .descriptor == "(Ljava/math/BigDecimal;Ljava/math/MathContext;)Ljava/math/BigDecimal;"
unsafe {
let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0.into()), __jni_bindgen::AsJValue::as_jvalue(&arg1.into())];
let __jni_env = __jni_bindgen::Env::from_ptr(self.0.env);
let (__jni_class, __jni_method) = __jni_env.require_class_method("java/math/BigDecimal\0", "multiply\0", "(Ljava/math/BigDecimal;Ljava/math/MathContext;)Ljava/math/BigDecimal;\0");
__jni_env.call_object_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
/// [divide](https://developer.android.com/reference/java/math/BigDecimal.html#divide(java.math.BigDecimal,%20int,%20int))
///
/// Required features: "java-math-BigDecimal"
#[cfg(any(feature = "all", all(feature = "java-math-BigDecimal")))]
pub fn divide_BigDecimal_int_int<'env>(&'env self, arg0: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::java::math::BigDecimal>>, arg1: i32, arg2: i32) -> __jni_bindgen::std::result::Result<__jni_bindgen::std::option::Option<__jni_bindgen::Local<'env, crate::java::math::BigDecimal>>, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "java/math/BigDecimal", java.flags == PUBLIC, .name == "divide", .descriptor == "(Ljava/math/BigDecimal;II)Ljava/math/BigDecimal;"
unsafe {
let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0.into()), __jni_bindgen::AsJValue::as_jvalue(&arg1), __jni_bindgen::AsJValue::as_jvalue(&arg2)];
let __jni_env = __jni_bindgen::Env::from_ptr(self.0.env);
let (__jni_class, __jni_method) = __jni_env.require_class_method("java/math/BigDecimal\0", "divide\0", "(Ljava/math/BigDecimal;II)Ljava/math/BigDecimal;\0");
__jni_env.call_object_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
/// [divide](https://developer.android.com/reference/java/math/BigDecimal.html#divide(java.math.BigDecimal,%20int,%20java.math.RoundingMode))
///
/// Required features: "java-math-BigDecimal", "java-math-RoundingMode"
#[cfg(any(feature = "all", all(feature = "java-math-BigDecimal", feature = "java-math-RoundingMode")))]
pub fn divide_BigDecimal_int_RoundingMode<'env>(&'env self, arg0: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::java::math::BigDecimal>>, arg1: i32, arg2: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::java::math::RoundingMode>>) -> __jni_bindgen::std::result::Result<__jni_bindgen::std::option::Option<__jni_bindgen::Local<'env, crate::java::math::BigDecimal>>, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "java/math/BigDecimal", java.flags == PUBLIC, .name == "divide", .descriptor == "(Ljava/math/BigDecimal;ILjava/math/RoundingMode;)Ljava/math/BigDecimal;"
unsafe {
let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0.into()), __jni_bindgen::AsJValue::as_jvalue(&arg1), __jni_bindgen::AsJValue::as_jvalue(&arg2.into())];
let __jni_env = __jni_bindgen::Env::from_ptr(self.0.env);
let (__jni_class, __jni_method) = __jni_env.require_class_method("java/math/BigDecimal\0", "divide\0", "(Ljava/math/BigDecimal;ILjava/math/RoundingMode;)Ljava/math/BigDecimal;\0");
__jni_env.call_object_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
/// [divide](https://developer.android.com/reference/java/math/BigDecimal.html#divide(java.math.BigDecimal,%20int))
///
/// Required features: "java-math-BigDecimal"
#[cfg(any(feature = "all", all(feature = "java-math-BigDecimal")))]
pub fn divide_BigDecimal_int<'env>(&'env self, arg0: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::java::math::BigDecimal>>, arg1: i32) -> __jni_bindgen::std::result::Result<__jni_bindgen::std::option::Option<__jni_bindgen::Local<'env, crate::java::math::BigDecimal>>, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "java/math/BigDecimal", java.flags == PUBLIC, .name == "divide", .descriptor == "(Ljava/math/BigDecimal;I)Ljava/math/BigDecimal;"
unsafe {
let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0.into()), __jni_bindgen::AsJValue::as_jvalue(&arg1)];
let __jni_env = __jni_bindgen::Env::from_ptr(self.0.env);
let (__jni_class, __jni_method) = __jni_env.require_class_method("java/math/BigDecimal\0", "divide\0", "(Ljava/math/BigDecimal;I)Ljava/math/BigDecimal;\0");
__jni_env.call_object_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
/// [divide](https://developer.android.com/reference/java/math/BigDecimal.html#divide(java.math.BigDecimal,%20java.math.RoundingMode))
///
/// Required features: "java-math-BigDecimal", "java-math-RoundingMode"
#[cfg(any(feature = "all", all(feature = "java-math-BigDecimal", feature = "java-math-RoundingMode")))]
pub fn divide_BigDecimal_RoundingMode<'env>(&'env self, arg0: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::java::math::BigDecimal>>, arg1: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::java::math::RoundingMode>>) -> __jni_bindgen::std::result::Result<__jni_bindgen::std::option::Option<__jni_bindgen::Local<'env, crate::java::math::BigDecimal>>, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "java/math/BigDecimal", java.flags == PUBLIC, .name == "divide", .descriptor == "(Ljava/math/BigDecimal;Ljava/math/RoundingMode;)Ljava/math/BigDecimal;"
unsafe {
let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0.into()), __jni_bindgen::AsJValue::as_jvalue(&arg1.into())];
let __jni_env = __jni_bindgen::Env::from_ptr(self.0.env);
let (__jni_class, __jni_method) = __jni_env.require_class_method("java/math/BigDecimal\0", "divide\0", "(Ljava/math/BigDecimal;Ljava/math/RoundingMode;)Ljava/math/BigDecimal;\0");
__jni_env.call_object_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
/// [divide](https://developer.android.com/reference/java/math/BigDecimal.html#divide(java.math.BigDecimal))
///
/// Required features: "java-math-BigDecimal"
#[cfg(any(feature = "all", all(feature = "java-math-BigDecimal")))]
pub fn divide_BigDecimal<'env>(&'env self, arg0: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::java::math::BigDecimal>>) -> __jni_bindgen::std::result::Result<__jni_bindgen::std::option::Option<__jni_bindgen::Local<'env, crate::java::math::BigDecimal>>, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "java/math/BigDecimal", java.flags == PUBLIC, .name == "divide", .descriptor == "(Ljava/math/BigDecimal;)Ljava/math/BigDecimal;"
unsafe {
let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0.into())];
let __jni_env = __jni_bindgen::Env::from_ptr(self.0.env);
let (__jni_class, __jni_method) = __jni_env.require_class_method("java/math/BigDecimal\0", "divide\0", "(Ljava/math/BigDecimal;)Ljava/math/BigDecimal;\0");
__jni_env.call_object_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
/// [divide](https://developer.android.com/reference/java/math/BigDecimal.html#divide(java.math.BigDecimal,%20java.math.MathContext))
///
/// Required features: "java-math-BigDecimal", "java-math-MathContext"
#[cfg(any(feature = "all", all(feature = "java-math-BigDecimal", feature = "java-math-MathContext")))]
pub fn divide_BigDecimal_MathContext<'env>(&'env self, arg0: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::java::math::BigDecimal>>, arg1: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::java::math::MathContext>>) -> __jni_bindgen::std::result::Result<__jni_bindgen::std::option::Option<__jni_bindgen::Local<'env, crate::java::math::BigDecimal>>, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "java/math/BigDecimal", java.flags == PUBLIC, .name == "divide", .descriptor == "(Ljava/math/BigDecimal;Ljava/math/MathContext;)Ljava/math/BigDecimal;"
unsafe {
let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0.into()), __jni_bindgen::AsJValue::as_jvalue(&arg1.into())];
let __jni_env = __jni_bindgen::Env::from_ptr(self.0.env);
let (__jni_class, __jni_method) = __jni_env.require_class_method("java/math/BigDecimal\0", "divide\0", "(Ljava/math/BigDecimal;Ljava/math/MathContext;)Ljava/math/BigDecimal;\0");
__jni_env.call_object_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
/// [divideToIntegralValue](https://developer.android.com/reference/java/math/BigDecimal.html#divideToIntegralValue(java.math.BigDecimal))
///
/// Required features: "java-math-BigDecimal"
#[cfg(any(feature = "all", all(feature = "java-math-BigDecimal")))]
pub fn divideToIntegralValue_BigDecimal<'env>(&'env self, arg0: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::java::math::BigDecimal>>) -> __jni_bindgen::std::result::Result<__jni_bindgen::std::option::Option<__jni_bindgen::Local<'env, crate::java::math::BigDecimal>>, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "java/math/BigDecimal", java.flags == PUBLIC, .name == "divideToIntegralValue", .descriptor == "(Ljava/math/BigDecimal;)Ljava/math/BigDecimal;"
unsafe {
let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0.into())];
let __jni_env = __jni_bindgen::Env::from_ptr(self.0.env);
let (__jni_class, __jni_method) = __jni_env.require_class_method("java/math/BigDecimal\0", "divideToIntegralValue\0", "(Ljava/math/BigDecimal;)Ljava/math/BigDecimal;\0");
__jni_env.call_object_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
/// [divideToIntegralValue](https://developer.android.com/reference/java/math/BigDecimal.html#divideToIntegralValue(java.math.BigDecimal,%20java.math.MathContext))
///
/// Required features: "java-math-BigDecimal", "java-math-MathContext"
#[cfg(any(feature = "all", all(feature = "java-math-BigDecimal", feature = "java-math-MathContext")))]
pub fn divideToIntegralValue_BigDecimal_MathContext<'env>(&'env self, arg0: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::java::math::BigDecimal>>, arg1: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::java::math::MathContext>>) -> __jni_bindgen::std::result::Result<__jni_bindgen::std::option::Option<__jni_bindgen::Local<'env, crate::java::math::BigDecimal>>, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "java/math/BigDecimal", java.flags == PUBLIC, .name == "divideToIntegralValue", .descriptor == "(Ljava/math/BigDecimal;Ljava/math/MathContext;)Ljava/math/BigDecimal;"
unsafe {
let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0.into()), __jni_bindgen::AsJValue::as_jvalue(&arg1.into())];
let __jni_env = __jni_bindgen::Env::from_ptr(self.0.env);
let (__jni_class, __jni_method) = __jni_env.require_class_method("java/math/BigDecimal\0", "divideToIntegralValue\0", "(Ljava/math/BigDecimal;Ljava/math/MathContext;)Ljava/math/BigDecimal;\0");
__jni_env.call_object_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
/// [remainder](https://developer.android.com/reference/java/math/BigDecimal.html#remainder(java.math.BigDecimal))
///
/// Required features: "java-math-BigDecimal"
#[cfg(any(feature = "all", all(feature = "java-math-BigDecimal")))]
pub fn remainder_BigDecimal<'env>(&'env self, arg0: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::java::math::BigDecimal>>) -> __jni_bindgen::std::result::Result<__jni_bindgen::std::option::Option<__jni_bindgen::Local<'env, crate::java::math::BigDecimal>>, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "java/math/BigDecimal", java.flags == PUBLIC, .name == "remainder", .descriptor == "(Ljava/math/BigDecimal;)Ljava/math/BigDecimal;"
unsafe {
let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0.into())];
let __jni_env = __jni_bindgen::Env::from_ptr(self.0.env);
let (__jni_class, __jni_method) = __jni_env.require_class_method("java/math/BigDecimal\0", "remainder\0", "(Ljava/math/BigDecimal;)Ljava/math/BigDecimal;\0");
__jni_env.call_object_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
/// [remainder](https://developer.android.com/reference/java/math/BigDecimal.html#remainder(java.math.BigDecimal,%20java.math.MathContext))
///
/// Required features: "java-math-BigDecimal", "java-math-MathContext"
#[cfg(any(feature = "all", all(feature = "java-math-BigDecimal", feature = "java-math-MathContext")))]
pub fn remainder_BigDecimal_MathContext<'env>(&'env self, arg0: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::java::math::BigDecimal>>, arg1: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::java::math::MathContext>>) -> __jni_bindgen::std::result::Result<__jni_bindgen::std::option::Option<__jni_bindgen::Local<'env, crate::java::math::BigDecimal>>, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "java/math/BigDecimal", java.flags == PUBLIC, .name == "remainder", .descriptor == "(Ljava/math/BigDecimal;Ljava/math/MathContext;)Ljava/math/BigDecimal;"
unsafe {
let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0.into()), __jni_bindgen::AsJValue::as_jvalue(&arg1.into())];
let __jni_env = __jni_bindgen::Env::from_ptr(self.0.env);
let (__jni_class, __jni_method) = __jni_env.require_class_method("java/math/BigDecimal\0", "remainder\0", "(Ljava/math/BigDecimal;Ljava/math/MathContext;)Ljava/math/BigDecimal;\0");
__jni_env.call_object_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
/// [divideAndRemainder](https://developer.android.com/reference/java/math/BigDecimal.html#divideAndRemainder(java.math.BigDecimal))
///
/// Required features: "java-math-BigDecimal"
#[cfg(any(feature = "all", all(feature = "java-math-BigDecimal")))]
pub fn divideAndRemainder_BigDecimal<'env>(&'env self, arg0: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::java::math::BigDecimal>>) -> __jni_bindgen::std::result::Result<__jni_bindgen::std::option::Option<__jni_bindgen::Local<'env, __jni_bindgen::ObjectArray<crate::java::math::BigDecimal, crate::java::lang::Throwable>>>, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "java/math/BigDecimal", java.flags == PUBLIC, .name == "divideAndRemainder", .descriptor == "(Ljava/math/BigDecimal;)[Ljava/math/BigDecimal;"
unsafe {
let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0.into())];
let __jni_env = __jni_bindgen::Env::from_ptr(self.0.env);
let (__jni_class, __jni_method) = __jni_env.require_class_method("java/math/BigDecimal\0", "divideAndRemainder\0", "(Ljava/math/BigDecimal;)[Ljava/math/BigDecimal;\0");
__jni_env.call_object_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
/// [divideAndRemainder](https://developer.android.com/reference/java/math/BigDecimal.html#divideAndRemainder(java.math.BigDecimal,%20java.math.MathContext))
///
/// Required features: "java-math-BigDecimal", "java-math-MathContext"
#[cfg(any(feature = "all", all(feature = "java-math-BigDecimal", feature = "java-math-MathContext")))]
pub fn divideAndRemainder_BigDecimal_MathContext<'env>(&'env self, arg0: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::java::math::BigDecimal>>, arg1: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::java::math::MathContext>>) -> __jni_bindgen::std::result::Result<__jni_bindgen::std::option::Option<__jni_bindgen::Local<'env, __jni_bindgen::ObjectArray<crate::java::math::BigDecimal, crate::java::lang::Throwable>>>, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "java/math/BigDecimal", java.flags == PUBLIC, .name == "divideAndRemainder", .descriptor == "(Ljava/math/BigDecimal;Ljava/math/MathContext;)[Ljava/math/BigDecimal;"
unsafe {
let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0.into()), __jni_bindgen::AsJValue::as_jvalue(&arg1.into())];
let __jni_env = __jni_bindgen::Env::from_ptr(self.0.env);
let (__jni_class, __jni_method) = __jni_env.require_class_method("java/math/BigDecimal\0", "divideAndRemainder\0", "(Ljava/math/BigDecimal;Ljava/math/MathContext;)[Ljava/math/BigDecimal;\0");
__jni_env.call_object_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
/// [pow](https://developer.android.com/reference/java/math/BigDecimal.html#pow(int))
///
/// Required features: "java-math-BigDecimal"
#[cfg(any(feature = "all", all(feature = "java-math-BigDecimal")))]
pub fn pow_int<'env>(&'env self, arg0: i32) -> __jni_bindgen::std::result::Result<__jni_bindgen::std::option::Option<__jni_bindgen::Local<'env, crate::java::math::BigDecimal>>, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "java/math/BigDecimal", java.flags == PUBLIC, .name == "pow", .descriptor == "(I)Ljava/math/BigDecimal;"
unsafe {
let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0)];
let __jni_env = __jni_bindgen::Env::from_ptr(self.0.env);
let (__jni_class, __jni_method) = __jni_env.require_class_method("java/math/BigDecimal\0", "pow\0", "(I)Ljava/math/BigDecimal;\0");
__jni_env.call_object_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
/// [pow](https://developer.android.com/reference/java/math/BigDecimal.html#pow(int,%20java.math.MathContext))
///
/// Required features: "java-math-BigDecimal", "java-math-MathContext"
#[cfg(any(feature = "all", all(feature = "java-math-BigDecimal", feature = "java-math-MathContext")))]
pub fn pow_int_MathContext<'env>(&'env self, arg0: i32, arg1: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::java::math::MathContext>>) -> __jni_bindgen::std::result::Result<__jni_bindgen::std::option::Option<__jni_bindgen::Local<'env, crate::java::math::BigDecimal>>, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "java/math/BigDecimal", java.flags == PUBLIC, .name == "pow", .descriptor == "(ILjava/math/MathContext;)Ljava/math/BigDecimal;"
unsafe {
let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0), __jni_bindgen::AsJValue::as_jvalue(&arg1.into())];
let __jni_env = __jni_bindgen::Env::from_ptr(self.0.env);
let (__jni_class, __jni_method) = __jni_env.require_class_method("java/math/BigDecimal\0", "pow\0", "(ILjava/math/MathContext;)Ljava/math/BigDecimal;\0");
__jni_env.call_object_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
/// [abs](https://developer.android.com/reference/java/math/BigDecimal.html#abs())
///
/// Required features: "java-math-BigDecimal"
#[cfg(any(feature = "all", all(feature = "java-math-BigDecimal")))]
pub fn abs<'env>(&'env self) -> __jni_bindgen::std::result::Result<__jni_bindgen::std::option::Option<__jni_bindgen::Local<'env, crate::java::math::BigDecimal>>, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "java/math/BigDecimal", java.flags == PUBLIC, .name == "abs", .descriptor == "()Ljava/math/BigDecimal;"
unsafe {
let __jni_args = [];
let __jni_env = __jni_bindgen::Env::from_ptr(self.0.env);
let (__jni_class, __jni_method) = __jni_env.require_class_method("java/math/BigDecimal\0", "abs\0", "()Ljava/math/BigDecimal;\0");
__jni_env.call_object_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
/// [abs](https://developer.android.com/reference/java/math/BigDecimal.html#abs(java.math.MathContext))
///
/// Required features: "java-math-BigDecimal", "java-math-MathContext"
#[cfg(any(feature = "all", all(feature = "java-math-BigDecimal", feature = "java-math-MathContext")))]
pub fn abs_MathContext<'env>(&'env self, arg0: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::java::math::MathContext>>) -> __jni_bindgen::std::result::Result<__jni_bindgen::std::option::Option<__jni_bindgen::Local<'env, crate::java::math::BigDecimal>>, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "java/math/BigDecimal", java.flags == PUBLIC, .name == "abs", .descriptor == "(Ljava/math/MathContext;)Ljava/math/BigDecimal;"
unsafe {
let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0.into())];
let __jni_env = __jni_bindgen::Env::from_ptr(self.0.env);
let (__jni_class, __jni_method) = __jni_env.require_class_method("java/math/BigDecimal\0", "abs\0", "(Ljava/math/MathContext;)Ljava/math/BigDecimal;\0");
__jni_env.call_object_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
/// [negate](https://developer.android.com/reference/java/math/BigDecimal.html#negate())
///
/// Required features: "java-math-BigDecimal"
#[cfg(any(feature = "all", all(feature = "java-math-BigDecimal")))]
pub fn negate<'env>(&'env self) -> __jni_bindgen::std::result::Result<__jni_bindgen::std::option::Option<__jni_bindgen::Local<'env, crate::java::math::BigDecimal>>, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "java/math/BigDecimal", java.flags == PUBLIC, .name == "negate", .descriptor == "()Ljava/math/BigDecimal;"
unsafe {
let __jni_args = [];
let __jni_env = __jni_bindgen::Env::from_ptr(self.0.env);
let (__jni_class, __jni_method) = __jni_env.require_class_method("java/math/BigDecimal\0", "negate\0", "()Ljava/math/BigDecimal;\0");
__jni_env.call_object_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
/// [negate](https://developer.android.com/reference/java/math/BigDecimal.html#negate(java.math.MathContext))
///
/// Required features: "java-math-BigDecimal", "java-math-MathContext"
#[cfg(any(feature = "all", all(feature = "java-math-BigDecimal", feature = "java-math-MathContext")))]
pub fn negate_MathContext<'env>(&'env self, arg0: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::java::math::MathContext>>) -> __jni_bindgen::std::result::Result<__jni_bindgen::std::option::Option<__jni_bindgen::Local<'env, crate::java::math::BigDecimal>>, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "java/math/BigDecimal", java.flags == PUBLIC, .name == "negate", .descriptor == "(Ljava/math/MathContext;)Ljava/math/BigDecimal;"
unsafe {
let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0.into())];
let __jni_env = __jni_bindgen::Env::from_ptr(self.0.env);
let (__jni_class, __jni_method) = __jni_env.require_class_method("java/math/BigDecimal\0", "negate\0", "(Ljava/math/MathContext;)Ljava/math/BigDecimal;\0");
__jni_env.call_object_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
/// [plus](https://developer.android.com/reference/java/math/BigDecimal.html#plus())
///
/// Required features: "java-math-BigDecimal"
#[cfg(any(feature = "all", all(feature = "java-math-BigDecimal")))]
pub fn plus<'env>(&'env self) -> __jni_bindgen::std::result::Result<__jni_bindgen::std::option::Option<__jni_bindgen::Local<'env, crate::java::math::BigDecimal>>, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "java/math/BigDecimal", java.flags == PUBLIC, .name == "plus", .descriptor == "()Ljava/math/BigDecimal;"
unsafe {
let __jni_args = [];
let __jni_env = __jni_bindgen::Env::from_ptr(self.0.env);
let (__jni_class, __jni_method) = __jni_env.require_class_method("java/math/BigDecimal\0", "plus\0", "()Ljava/math/BigDecimal;\0");
__jni_env.call_object_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
/// [plus](https://developer.android.com/reference/java/math/BigDecimal.html#plus(java.math.MathContext))
///
/// Required features: "java-math-BigDecimal", "java-math-MathContext"
#[cfg(any(feature = "all", all(feature = "java-math-BigDecimal", feature = "java-math-MathContext")))]
pub fn plus_MathContext<'env>(&'env self, arg0: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::java::math::MathContext>>) -> __jni_bindgen::std::result::Result<__jni_bindgen::std::option::Option<__jni_bindgen::Local<'env, crate::java::math::BigDecimal>>, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "java/math/BigDecimal", java.flags == PUBLIC, .name == "plus", .descriptor == "(Ljava/math/MathContext;)Ljava/math/BigDecimal;"
unsafe {
let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0.into())];
let __jni_env = __jni_bindgen::Env::from_ptr(self.0.env);
let (__jni_class, __jni_method) = __jni_env.require_class_method("java/math/BigDecimal\0", "plus\0", "(Ljava/math/MathContext;)Ljava/math/BigDecimal;\0");
__jni_env.call_object_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
/// [signum](https://developer.android.com/reference/java/math/BigDecimal.html#signum())
pub fn signum<'env>(&'env self) -> __jni_bindgen::std::result::Result<i32, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "java/math/BigDecimal", java.flags == PUBLIC, .name == "signum", .descriptor == "()I"
unsafe {
let __jni_args = [];
let __jni_env = __jni_bindgen::Env::from_ptr(self.0.env);
let (__jni_class, __jni_method) = __jni_env.require_class_method("java/math/BigDecimal\0", "signum\0", "()I\0");
__jni_env.call_int_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
/// [scale](https://developer.android.com/reference/java/math/BigDecimal.html#scale())
pub fn scale<'env>(&'env self) -> __jni_bindgen::std::result::Result<i32, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "java/math/BigDecimal", java.flags == PUBLIC, .name == "scale", .descriptor == "()I"
unsafe {
let __jni_args = [];
let __jni_env = __jni_bindgen::Env::from_ptr(self.0.env);
let (__jni_class, __jni_method) = __jni_env.require_class_method("java/math/BigDecimal\0", "scale\0", "()I\0");
__jni_env.call_int_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
/// [precision](https://developer.android.com/reference/java/math/BigDecimal.html#precision())
pub fn precision<'env>(&'env self) -> __jni_bindgen::std::result::Result<i32, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "java/math/BigDecimal", java.flags == PUBLIC, .name == "precision", .descriptor == "()I"
unsafe {
let __jni_args = [];
let __jni_env = __jni_bindgen::Env::from_ptr(self.0.env);
let (__jni_class, __jni_method) = __jni_env.require_class_method("java/math/BigDecimal\0", "precision\0", "()I\0");
__jni_env.call_int_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
/// [unscaledValue](https://developer.android.com/reference/java/math/BigDecimal.html#unscaledValue())
///
/// Required features: "java-math-BigInteger"
#[cfg(any(feature = "all", all(feature = "java-math-BigInteger")))]
pub fn unscaledValue<'env>(&'env self) -> __jni_bindgen::std::result::Result<__jni_bindgen::std::option::Option<__jni_bindgen::Local<'env, crate::java::math::BigInteger>>, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "java/math/BigDecimal", java.flags == PUBLIC, .name == "unscaledValue", .descriptor == "()Ljava/math/BigInteger;"
unsafe {
let __jni_args = [];
let __jni_env = __jni_bindgen::Env::from_ptr(self.0.env);
let (__jni_class, __jni_method) = __jni_env.require_class_method("java/math/BigDecimal\0", "unscaledValue\0", "()Ljava/math/BigInteger;\0");
__jni_env.call_object_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
/// [round](https://developer.android.com/reference/java/math/BigDecimal.html#round(java.math.MathContext))
///
/// Required features: "java-math-BigDecimal", "java-math-MathContext"
#[cfg(any(feature = "all", all(feature = "java-math-BigDecimal", feature = "java-math-MathContext")))]
pub fn round<'env>(&'env self, arg0: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::java::math::MathContext>>) -> __jni_bindgen::std::result::Result<__jni_bindgen::std::option::Option<__jni_bindgen::Local<'env, crate::java::math::BigDecimal>>, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "java/math/BigDecimal", java.flags == PUBLIC, .name == "round", .descriptor == "(Ljava/math/MathContext;)Ljava/math/BigDecimal;"
unsafe {
let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0.into())];
let __jni_env = __jni_bindgen::Env::from_ptr(self.0.env);
let (__jni_class, __jni_method) = __jni_env.require_class_method("java/math/BigDecimal\0", "round\0", "(Ljava/math/MathContext;)Ljava/math/BigDecimal;\0");
__jni_env.call_object_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
/// [setScale](https://developer.android.com/reference/java/math/BigDecimal.html#setScale(int,%20java.math.RoundingMode))
///
/// Required features: "java-math-BigDecimal", "java-math-RoundingMode"
#[cfg(any(feature = "all", all(feature = "java-math-BigDecimal", feature = "java-math-RoundingMode")))]
pub fn setScale_int_RoundingMode<'env>(&'env self, arg0: i32, arg1: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::java::math::RoundingMode>>) -> __jni_bindgen::std::result::Result<__jni_bindgen::std::option::Option<__jni_bindgen::Local<'env, crate::java::math::BigDecimal>>, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "java/math/BigDecimal", java.flags == PUBLIC, .name == "setScale", .descriptor == "(ILjava/math/RoundingMode;)Ljava/math/BigDecimal;"
unsafe {
let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0), __jni_bindgen::AsJValue::as_jvalue(&arg1.into())];
let __jni_env = __jni_bindgen::Env::from_ptr(self.0.env);
let (__jni_class, __jni_method) = __jni_env.require_class_method("java/math/BigDecimal\0", "setScale\0", "(ILjava/math/RoundingMode;)Ljava/math/BigDecimal;\0");
__jni_env.call_object_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
/// [setScale](https://developer.android.com/reference/java/math/BigDecimal.html#setScale(int,%20int))
///
/// Required features: "java-math-BigDecimal"
#[cfg(any(feature = "all", all(feature = "java-math-BigDecimal")))]
pub fn setScale_int_int<'env>(&'env self, arg0: i32, arg1: i32) -> __jni_bindgen::std::result::Result<__jni_bindgen::std::option::Option<__jni_bindgen::Local<'env, crate::java::math::BigDecimal>>, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "java/math/BigDecimal", java.flags == PUBLIC, .name == "setScale", .descriptor == "(II)Ljava/math/BigDecimal;"
unsafe {
let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0), __jni_bindgen::AsJValue::as_jvalue(&arg1)];
let __jni_env = __jni_bindgen::Env::from_ptr(self.0.env);
let (__jni_class, __jni_method) = __jni_env.require_class_method("java/math/BigDecimal\0", "setScale\0", "(II)Ljava/math/BigDecimal;\0");
__jni_env.call_object_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
/// [setScale](https://developer.android.com/reference/java/math/BigDecimal.html#setScale(int))
///
/// Required features: "java-math-BigDecimal"
#[cfg(any(feature = "all", all(feature = "java-math-BigDecimal")))]
pub fn setScale_int<'env>(&'env self, arg0: i32) -> __jni_bindgen::std::result::Result<__jni_bindgen::std::option::Option<__jni_bindgen::Local<'env, crate::java::math::BigDecimal>>, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "java/math/BigDecimal", java.flags == PUBLIC, .name == "setScale", .descriptor == "(I)Ljava/math/BigDecimal;"
unsafe {
let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0)];
let __jni_env = __jni_bindgen::Env::from_ptr(self.0.env);
let (__jni_class, __jni_method) = __jni_env.require_class_method("java/math/BigDecimal\0", "setScale\0", "(I)Ljava/math/BigDecimal;\0");
__jni_env.call_object_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
/// [movePointLeft](https://developer.android.com/reference/java/math/BigDecimal.html#movePointLeft(int))
///
/// Required features: "java-math-BigDecimal"
#[cfg(any(feature = "all", all(feature = "java-math-BigDecimal")))]
pub fn movePointLeft<'env>(&'env self, arg0: i32) -> __jni_bindgen::std::result::Result<__jni_bindgen::std::option::Option<__jni_bindgen::Local<'env, crate::java::math::BigDecimal>>, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "java/math/BigDecimal", java.flags == PUBLIC, .name == "movePointLeft", .descriptor == "(I)Ljava/math/BigDecimal;"
unsafe {
let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0)];
let __jni_env = __jni_bindgen::Env::from_ptr(self.0.env);
let (__jni_class, __jni_method) = __jni_env.require_class_method("java/math/BigDecimal\0", "movePointLeft\0", "(I)Ljava/math/BigDecimal;\0");
__jni_env.call_object_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
/// [movePointRight](https://developer.android.com/reference/java/math/BigDecimal.html#movePointRight(int))
///
/// Required features: "java-math-BigDecimal"
#[cfg(any(feature = "all", all(feature = "java-math-BigDecimal")))]
pub fn movePointRight<'env>(&'env self, arg0: i32) -> __jni_bindgen::std::result::Result<__jni_bindgen::std::option::Option<__jni_bindgen::Local<'env, crate::java::math::BigDecimal>>, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "java/math/BigDecimal", java.flags == PUBLIC, .name == "movePointRight", .descriptor == "(I)Ljava/math/BigDecimal;"
unsafe {
let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0)];
let __jni_env = __jni_bindgen::Env::from_ptr(self.0.env);
let (__jni_class, __jni_method) = __jni_env.require_class_method("java/math/BigDecimal\0", "movePointRight\0", "(I)Ljava/math/BigDecimal;\0");
__jni_env.call_object_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
/// [scaleByPowerOfTen](https://developer.android.com/reference/java/math/BigDecimal.html#scaleByPowerOfTen(int))
///
/// Required features: "java-math-BigDecimal"
#[cfg(any(feature = "all", all(feature = "java-math-BigDecimal")))]
pub fn scaleByPowerOfTen<'env>(&'env self, arg0: i32) -> __jni_bindgen::std::result::Result<__jni_bindgen::std::option::Option<__jni_bindgen::Local<'env, crate::java::math::BigDecimal>>, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "java/math/BigDecimal", java.flags == PUBLIC, .name == "scaleByPowerOfTen", .descriptor == "(I)Ljava/math/BigDecimal;"
unsafe {
let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0)];
let __jni_env = __jni_bindgen::Env::from_ptr(self.0.env);
let (__jni_class, __jni_method) = __jni_env.require_class_method("java/math/BigDecimal\0", "scaleByPowerOfTen\0", "(I)Ljava/math/BigDecimal;\0");
__jni_env.call_object_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
/// [stripTrailingZeros](https://developer.android.com/reference/java/math/BigDecimal.html#stripTrailingZeros())
///
/// Required features: "java-math-BigDecimal"
#[cfg(any(feature = "all", all(feature = "java-math-BigDecimal")))]
pub fn stripTrailingZeros<'env>(&'env self) -> __jni_bindgen::std::result::Result<__jni_bindgen::std::option::Option<__jni_bindgen::Local<'env, crate::java::math::BigDecimal>>, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "java/math/BigDecimal", java.flags == PUBLIC, .name == "stripTrailingZeros", .descriptor == "()Ljava/math/BigDecimal;"
unsafe {
let __jni_args = [];
let __jni_env = __jni_bindgen::Env::from_ptr(self.0.env);
let (__jni_class, __jni_method) = __jni_env.require_class_method("java/math/BigDecimal\0", "stripTrailingZeros\0", "()Ljava/math/BigDecimal;\0");
__jni_env.call_object_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
/// [compareTo](https://developer.android.com/reference/java/math/BigDecimal.html#compareTo(java.math.BigDecimal))
///
/// Required features: "java-math-BigDecimal"
#[cfg(any(feature = "all", all(feature = "java-math-BigDecimal")))]
pub fn compareTo_BigDecimal<'env>(&'env self, arg0: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::java::math::BigDecimal>>) -> __jni_bindgen::std::result::Result<i32, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "java/math/BigDecimal", java.flags == PUBLIC, .name == "compareTo", .descriptor == "(Ljava/math/BigDecimal;)I"
unsafe {
let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0.into())];
let __jni_env = __jni_bindgen::Env::from_ptr(self.0.env);
let (__jni_class, __jni_method) = __jni_env.require_class_method("java/math/BigDecimal\0", "compareTo\0", "(Ljava/math/BigDecimal;)I\0");
__jni_env.call_int_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
/// [equals](https://developer.android.com/reference/java/math/BigDecimal.html#equals(java.lang.Object))
///
/// Required features: "java-lang-Object"
#[cfg(any(feature = "all", all(feature = "java-lang-Object")))]
pub fn equals<'env>(&'env self, arg0: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::java::lang::Object>>) -> __jni_bindgen::std::result::Result<bool, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "java/math/BigDecimal", java.flags == PUBLIC, .name == "equals", .descriptor == "(Ljava/lang/Object;)Z"
unsafe {
let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0.into())];
let __jni_env = __jni_bindgen::Env::from_ptr(self.0.env);
let (__jni_class, __jni_method) = __jni_env.require_class_method("java/math/BigDecimal\0", "equals\0", "(Ljava/lang/Object;)Z\0");
__jni_env.call_boolean_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
/// [min](https://developer.android.com/reference/java/math/BigDecimal.html#min(java.math.BigDecimal))
///
/// Required features: "java-math-BigDecimal"
#[cfg(any(feature = "all", all(feature = "java-math-BigDecimal")))]
pub fn min<'env>(&'env self, arg0: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::java::math::BigDecimal>>) -> __jni_bindgen::std::result::Result<__jni_bindgen::std::option::Option<__jni_bindgen::Local<'env, crate::java::math::BigDecimal>>, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "java/math/BigDecimal", java.flags == PUBLIC, .name == "min", .descriptor == "(Ljava/math/BigDecimal;)Ljava/math/BigDecimal;"
unsafe {
let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0.into())];
let __jni_env = __jni_bindgen::Env::from_ptr(self.0.env);
let (__jni_class, __jni_method) = __jni_env.require_class_method("java/math/BigDecimal\0", "min\0", "(Ljava/math/BigDecimal;)Ljava/math/BigDecimal;\0");
__jni_env.call_object_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
/// [max](https://developer.android.com/reference/java/math/BigDecimal.html#max(java.math.BigDecimal))
///
/// Required features: "java-math-BigDecimal"
#[cfg(any(feature = "all", all(feature = "java-math-BigDecimal")))]
pub fn max<'env>(&'env self, arg0: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::java::math::BigDecimal>>) -> __jni_bindgen::std::result::Result<__jni_bindgen::std::option::Option<__jni_bindgen::Local<'env, crate::java::math::BigDecimal>>, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "java/math/BigDecimal", java.flags == PUBLIC, .name == "max", .descriptor == "(Ljava/math/BigDecimal;)Ljava/math/BigDecimal;"
unsafe {
let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0.into())];
let __jni_env = __jni_bindgen::Env::from_ptr(self.0.env);
let (__jni_class, __jni_method) = __jni_env.require_class_method("java/math/BigDecimal\0", "max\0", "(Ljava/math/BigDecimal;)Ljava/math/BigDecimal;\0");
__jni_env.call_object_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
/// [hashCode](https://developer.android.com/reference/java/math/BigDecimal.html#hashCode())
pub fn hashCode<'env>(&'env self) -> __jni_bindgen::std::result::Result<i32, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "java/math/BigDecimal", java.flags == PUBLIC, .name == "hashCode", .descriptor == "()I"
unsafe {
let __jni_args = [];
let __jni_env = __jni_bindgen::Env::from_ptr(self.0.env);
let (__jni_class, __jni_method) = __jni_env.require_class_method("java/math/BigDecimal\0", "hashCode\0", "()I\0");
__jni_env.call_int_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
/// [toString](https://developer.android.com/reference/java/math/BigDecimal.html#toString())
///
/// Required features: "java-lang-String"
#[cfg(any(feature = "all", all(feature = "java-lang-String")))]
pub fn toString<'env>(&'env self) -> __jni_bindgen::std::result::Result<__jni_bindgen::std::option::Option<__jni_bindgen::Local<'env, crate::java::lang::String>>, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "java/math/BigDecimal", java.flags == PUBLIC, .name == "toString", .descriptor == "()Ljava/lang/String;"
unsafe {
let __jni_args = [];
let __jni_env = __jni_bindgen::Env::from_ptr(self.0.env);
let (__jni_class, __jni_method) = __jni_env.require_class_method("java/math/BigDecimal\0", "toString\0", "()Ljava/lang/String;\0");
__jni_env.call_object_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
/// [toEngineeringString](https://developer.android.com/reference/java/math/BigDecimal.html#toEngineeringString())
///
/// Required features: "java-lang-String"
#[cfg(any(feature = "all", all(feature = "java-lang-String")))]
pub fn toEngineeringString<'env>(&'env self) -> __jni_bindgen::std::result::Result<__jni_bindgen::std::option::Option<__jni_bindgen::Local<'env, crate::java::lang::String>>, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "java/math/BigDecimal", java.flags == PUBLIC, .name == "toEngineeringString", .descriptor == "()Ljava/lang/String;"
unsafe {
let __jni_args = [];
let __jni_env = __jni_bindgen::Env::from_ptr(self.0.env);
let (__jni_class, __jni_method) = __jni_env.require_class_method("java/math/BigDecimal\0", "toEngineeringString\0", "()Ljava/lang/String;\0");
__jni_env.call_object_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
/// [toPlainString](https://developer.android.com/reference/java/math/BigDecimal.html#toPlainString())
///
/// Required features: "java-lang-String"
#[cfg(any(feature = "all", all(feature = "java-lang-String")))]
pub fn toPlainString<'env>(&'env self) -> __jni_bindgen::std::result::Result<__jni_bindgen::std::option::Option<__jni_bindgen::Local<'env, crate::java::lang::String>>, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "java/math/BigDecimal", java.flags == PUBLIC, .name == "toPlainString", .descriptor == "()Ljava/lang/String;"
unsafe {
let __jni_args = [];
let __jni_env = __jni_bindgen::Env::from_ptr(self.0.env);
let (__jni_class, __jni_method) = __jni_env.require_class_method("java/math/BigDecimal\0", "toPlainString\0", "()Ljava/lang/String;\0");
__jni_env.call_object_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
/// [toBigInteger](https://developer.android.com/reference/java/math/BigDecimal.html#toBigInteger())
///
/// Required features: "java-math-BigInteger"
#[cfg(any(feature = "all", all(feature = "java-math-BigInteger")))]
pub fn toBigInteger<'env>(&'env self) -> __jni_bindgen::std::result::Result<__jni_bindgen::std::option::Option<__jni_bindgen::Local<'env, crate::java::math::BigInteger>>, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "java/math/BigDecimal", java.flags == PUBLIC, .name == "toBigInteger", .descriptor == "()Ljava/math/BigInteger;"
unsafe {
let __jni_args = [];
let __jni_env = __jni_bindgen::Env::from_ptr(self.0.env);
let (__jni_class, __jni_method) = __jni_env.require_class_method("java/math/BigDecimal\0", "toBigInteger\0", "()Ljava/math/BigInteger;\0");
__jni_env.call_object_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
/// [toBigIntegerExact](https://developer.android.com/reference/java/math/BigDecimal.html#toBigIntegerExact())
///
/// Required features: "java-math-BigInteger"
#[cfg(any(feature = "all", all(feature = "java-math-BigInteger")))]
pub fn toBigIntegerExact<'env>(&'env self) -> __jni_bindgen::std::result::Result<__jni_bindgen::std::option::Option<__jni_bindgen::Local<'env, crate::java::math::BigInteger>>, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "java/math/BigDecimal", java.flags == PUBLIC, .name == "toBigIntegerExact", .descriptor == "()Ljava/math/BigInteger;"
unsafe {
let __jni_args = [];
let __jni_env = __jni_bindgen::Env::from_ptr(self.0.env);
let (__jni_class, __jni_method) = __jni_env.require_class_method("java/math/BigDecimal\0", "toBigIntegerExact\0", "()Ljava/math/BigInteger;\0");
__jni_env.call_object_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
/// [longValue](https://developer.android.com/reference/java/math/BigDecimal.html#longValue())
pub fn longValue<'env>(&'env self) -> __jni_bindgen::std::result::Result<i64, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "java/math/BigDecimal", java.flags == PUBLIC, .name == "longValue", .descriptor == "()J"
unsafe {
let __jni_args = [];
let __jni_env = __jni_bindgen::Env::from_ptr(self.0.env);
let (__jni_class, __jni_method) = __jni_env.require_class_method("java/math/BigDecimal\0", "longValue\0", "()J\0");
__jni_env.call_long_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
/// [longValueExact](https://developer.android.com/reference/java/math/BigDecimal.html#longValueExact())
pub fn longValueExact<'env>(&'env self) -> __jni_bindgen::std::result::Result<i64, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "java/math/BigDecimal", java.flags == PUBLIC, .name == "longValueExact", .descriptor == "()J"
unsafe {
let __jni_args = [];
let __jni_env = __jni_bindgen::Env::from_ptr(self.0.env);
let (__jni_class, __jni_method) = __jni_env.require_class_method("java/math/BigDecimal\0", "longValueExact\0", "()J\0");
__jni_env.call_long_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
/// [intValue](https://developer.android.com/reference/java/math/BigDecimal.html#intValue())
pub fn intValue<'env>(&'env self) -> __jni_bindgen::std::result::Result<i32, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "java/math/BigDecimal", java.flags == PUBLIC, .name == "intValue", .descriptor == "()I"
unsafe {
let __jni_args = [];
let __jni_env = __jni_bindgen::Env::from_ptr(self.0.env);
let (__jni_class, __jni_method) = __jni_env.require_class_method("java/math/BigDecimal\0", "intValue\0", "()I\0");
__jni_env.call_int_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
/// [intValueExact](https://developer.android.com/reference/java/math/BigDecimal.html#intValueExact())
pub fn intValueExact<'env>(&'env self) -> __jni_bindgen::std::result::Result<i32, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "java/math/BigDecimal", java.flags == PUBLIC, .name == "intValueExact", .descriptor == "()I"
unsafe {
let __jni_args = [];
let __jni_env = __jni_bindgen::Env::from_ptr(self.0.env);
let (__jni_class, __jni_method) = __jni_env.require_class_method("java/math/BigDecimal\0", "intValueExact\0", "()I\0");
__jni_env.call_int_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
/// [shortValueExact](https://developer.android.com/reference/java/math/BigDecimal.html#shortValueExact())
pub fn shortValueExact<'env>(&'env self) -> __jni_bindgen::std::result::Result<i16, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "java/math/BigDecimal", java.flags == PUBLIC, .name == "shortValueExact", .descriptor == "()S"
unsafe {
let __jni_args = [];
let __jni_env = __jni_bindgen::Env::from_ptr(self.0.env);
let (__jni_class, __jni_method) = __jni_env.require_class_method("java/math/BigDecimal\0", "shortValueExact\0", "()S\0");
__jni_env.call_short_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
/// [byteValueExact](https://developer.android.com/reference/java/math/BigDecimal.html#byteValueExact())
pub fn byteValueExact<'env>(&'env self) -> __jni_bindgen::std::result::Result<i8, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "java/math/BigDecimal", java.flags == PUBLIC, .name == "byteValueExact", .descriptor == "()B"
unsafe {
let __jni_args = [];
let __jni_env = __jni_bindgen::Env::from_ptr(self.0.env);
let (__jni_class, __jni_method) = __jni_env.require_class_method("java/math/BigDecimal\0", "byteValueExact\0", "()B\0");
__jni_env.call_byte_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
/// [floatValue](https://developer.android.com/reference/java/math/BigDecimal.html#floatValue())
pub fn floatValue<'env>(&'env self) -> __jni_bindgen::std::result::Result<f32, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "java/math/BigDecimal", java.flags == PUBLIC, .name == "floatValue", .descriptor == "()F"
unsafe {
let __jni_args = [];
let __jni_env = __jni_bindgen::Env::from_ptr(self.0.env);
let (__jni_class, __jni_method) = __jni_env.require_class_method("java/math/BigDecimal\0", "floatValue\0", "()F\0");
__jni_env.call_float_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
/// [doubleValue](https://developer.android.com/reference/java/math/BigDecimal.html#doubleValue())
pub fn doubleValue<'env>(&'env self) -> __jni_bindgen::std::result::Result<f64, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "java/math/BigDecimal", java.flags == PUBLIC, .name == "doubleValue", .descriptor == "()D"
unsafe {
let __jni_args = [];
let __jni_env = __jni_bindgen::Env::from_ptr(self.0.env);
let (__jni_class, __jni_method) = __jni_env.require_class_method("java/math/BigDecimal\0", "doubleValue\0", "()D\0");
__jni_env.call_double_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
/// [ulp](https://developer.android.com/reference/java/math/BigDecimal.html#ulp())
///
/// Required features: "java-math-BigDecimal"
#[cfg(any(feature = "all", all(feature = "java-math-BigDecimal")))]
pub fn ulp<'env>(&'env self) -> __jni_bindgen::std::result::Result<__jni_bindgen::std::option::Option<__jni_bindgen::Local<'env, crate::java::math::BigDecimal>>, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "java/math/BigDecimal", java.flags == PUBLIC, .name == "ulp", .descriptor == "()Ljava/math/BigDecimal;"
unsafe {
let __jni_args = [];
let __jni_env = __jni_bindgen::Env::from_ptr(self.0.env);
let (__jni_class, __jni_method) = __jni_env.require_class_method("java/math/BigDecimal\0", "ulp\0", "()Ljava/math/BigDecimal;\0");
__jni_env.call_object_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
/// **get** public static final [ZERO](https://developer.android.com/reference/java/math/BigDecimal.html#ZERO)
///
/// Required feature: "java-math-BigDecimal"
#[cfg(any(feature = "all", feature = "java-math-BigDecimal"))]
pub fn ZERO<'env>(env: &'env __jni_bindgen::Env) -> __jni_bindgen::std::option::Option<__jni_bindgen::Local<'env, crate::java::math::BigDecimal>> {
unsafe {
let (__jni_class, __jni_field) = env.require_class_static_field("java/math/BigDecimal\0", "ZERO\0", "Ljava/math/BigDecimal;\0");
env.get_static_object_field(__jni_class, __jni_field)
}
}
/// **get** public static final [ONE](https://developer.android.com/reference/java/math/BigDecimal.html#ONE)
///
/// Required feature: "java-math-BigDecimal"
#[cfg(any(feature = "all", feature = "java-math-BigDecimal"))]
pub fn ONE<'env>(env: &'env __jni_bindgen::Env) -> __jni_bindgen::std::option::Option<__jni_bindgen::Local<'env, crate::java::math::BigDecimal>> {
unsafe {
let (__jni_class, __jni_field) = env.require_class_static_field("java/math/BigDecimal\0", "ONE\0", "Ljava/math/BigDecimal;\0");
env.get_static_object_field(__jni_class, __jni_field)
}
}
/// **get** public static final [TEN](https://developer.android.com/reference/java/math/BigDecimal.html#TEN)
///
/// Required feature: "java-math-BigDecimal"
#[cfg(any(feature = "all", feature = "java-math-BigDecimal"))]
pub fn TEN<'env>(env: &'env __jni_bindgen::Env) -> __jni_bindgen::std::option::Option<__jni_bindgen::Local<'env, crate::java::math::BigDecimal>> {
unsafe {
let (__jni_class, __jni_field) = env.require_class_static_field("java/math/BigDecimal\0", "TEN\0", "Ljava/math/BigDecimal;\0");
env.get_static_object_field(__jni_class, __jni_field)
}
}
/// public static final [ROUND_UP](https://developer.android.com/reference/java/math/BigDecimal.html#ROUND_UP)
pub const ROUND_UP : i32 = 0;
/// public static final [ROUND_DOWN](https://developer.android.com/reference/java/math/BigDecimal.html#ROUND_DOWN)
pub const ROUND_DOWN : i32 = 1;
/// public static final [ROUND_CEILING](https://developer.android.com/reference/java/math/BigDecimal.html#ROUND_CEILING)
pub const ROUND_CEILING : i32 = 2;
/// public static final [ROUND_FLOOR](https://developer.android.com/reference/java/math/BigDecimal.html#ROUND_FLOOR)
pub const ROUND_FLOOR : i32 = 3;
/// public static final [ROUND_HALF_UP](https://developer.android.com/reference/java/math/BigDecimal.html#ROUND_HALF_UP)
pub const ROUND_HALF_UP : i32 = 4;
/// public static final [ROUND_HALF_DOWN](https://developer.android.com/reference/java/math/BigDecimal.html#ROUND_HALF_DOWN)
pub const ROUND_HALF_DOWN : i32 = 5;
/// public static final [ROUND_HALF_EVEN](https://developer.android.com/reference/java/math/BigDecimal.html#ROUND_HALF_EVEN)
pub const ROUND_HALF_EVEN : i32 = 6;
/// public static final [ROUND_UNNECESSARY](https://developer.android.com/reference/java/math/BigDecimal.html#ROUND_UNNECESSARY)
pub const ROUND_UNNECESSARY : i32 = 7;
}
}