[]Struct jni_android_sys::android::icu::math::BigDecimal

#[repr(transparent)]
pub struct BigDecimal(_);

public class BigDecimal

Required feature: "android-icu-math-BigDecimal"

Methods

impl BigDecimal

pub fn new_BigDecimal<'env>(
    __jni_env: &'env Env,
    arg0: impl Into<Option<&'env BigDecimal>>
) -> Result<Local<'env, BigDecimal>, Local<'env, Throwable>>
[src]

BigDecimal

Required features: "java-math-BigDecimal"

pub fn new_BigInteger<'env>(
    __jni_env: &'env Env,
    arg0: impl Into<Option<&'env BigInteger>>
) -> Result<Local<'env, BigDecimal>, Local<'env, Throwable>>
[src]

BigDecimal

Required features: "java-math-BigInteger"

pub fn new_BigInteger_int<'env>(
    __jni_env: &'env Env,
    arg0: impl Into<Option<&'env BigInteger>>,
    arg1: i32
) -> Result<Local<'env, BigDecimal>, Local<'env, Throwable>>
[src]

BigDecimal

Required features: "java-math-BigInteger"

pub fn new_char_array<'env>(
    __jni_env: &'env Env,
    arg0: impl Into<Option<&'env CharArray>>
) -> Result<Local<'env, BigDecimal>, Local<'env, Throwable>>
[src]

pub fn new_char_array_int_int<'env>(
    __jni_env: &'env Env,
    arg0: impl Into<Option<&'env CharArray>>,
    arg1: i32,
    arg2: i32
) -> Result<Local<'env, BigDecimal>, Local<'env, Throwable>>
[src]

pub fn new_double<'env>(
    __jni_env: &'env Env,
    arg0: f64
) -> Result<Local<'env, BigDecimal>, Local<'env, Throwable>>
[src]

pub fn new_int<'env>(
    __jni_env: &'env Env,
    arg0: i32
) -> Result<Local<'env, BigDecimal>, Local<'env, Throwable>>
[src]

pub fn new_long<'env>(
    __jni_env: &'env Env,
    arg0: i64
) -> Result<Local<'env, BigDecimal>, Local<'env, Throwable>>
[src]

pub fn new_String<'env>(
    __jni_env: &'env Env,
    arg0: impl Into<Option<&'env String>>
) -> Result<Local<'env, BigDecimal>, Local<'env, Throwable>>
[src]

BigDecimal

Required features: "java-lang-String"

pub fn abs<'env>(
    &'env self
) -> Result<Option<Local<'env, BigDecimal>>, Local<'env, Throwable>>
[src]

abs

Required features: "android-icu-math-BigDecimal"

pub fn abs_MathContext<'env>(
    &'env self,
    arg0: impl Into<Option<&'env MathContext>>
) -> Result<Option<Local<'env, BigDecimal>>, Local<'env, Throwable>>
[src]

abs

Required features: "android-icu-math-BigDecimal", "android-icu-math-MathContext"

pub fn add_BigDecimal<'env>(
    &'env self,
    arg0: impl Into<Option<&'env BigDecimal>>
) -> Result<Option<Local<'env, BigDecimal>>, Local<'env, Throwable>>
[src]

add

Required features: "android-icu-math-BigDecimal"

pub fn add_BigDecimal_MathContext<'env>(
    &'env self,
    arg0: impl Into<Option<&'env BigDecimal>>,
    arg1: impl Into<Option<&'env MathContext>>
) -> Result<Option<Local<'env, BigDecimal>>, Local<'env, Throwable>>
[src]

add

Required features: "android-icu-math-BigDecimal", "android-icu-math-MathContext"

pub fn compareTo_BigDecimal<'env>(
    &'env self,
    arg0: impl Into<Option<&'env BigDecimal>>
) -> Result<i32, Local<'env, Throwable>>
[src]

compareTo

Required features: "android-icu-math-BigDecimal"

pub fn compareTo_BigDecimal_MathContext<'env>(
    &'env self,
    arg0: impl Into<Option<&'env BigDecimal>>,
    arg1: impl Into<Option<&'env MathContext>>
) -> Result<i32, Local<'env, Throwable>>
[src]

compareTo

Required features: "android-icu-math-BigDecimal", "android-icu-math-MathContext"

pub fn divide_BigDecimal<'env>(
    &'env self,
    arg0: impl Into<Option<&'env BigDecimal>>
) -> Result<Option<Local<'env, BigDecimal>>, Local<'env, Throwable>>
[src]

divide

Required features: "android-icu-math-BigDecimal"

pub fn divide_BigDecimal_int<'env>(
    &'env self,
    arg0: impl Into<Option<&'env BigDecimal>>,
    arg1: i32
) -> Result<Option<Local<'env, BigDecimal>>, Local<'env, Throwable>>
[src]

divide

Required features: "android-icu-math-BigDecimal"

pub fn divide_BigDecimal_int_int<'env>(
    &'env self,
    arg0: impl Into<Option<&'env BigDecimal>>,
    arg1: i32,
    arg2: i32
) -> Result<Option<Local<'env, BigDecimal>>, Local<'env, Throwable>>
[src]

divide

Required features: "android-icu-math-BigDecimal"

pub fn divide_BigDecimal_MathContext<'env>(
    &'env self,
    arg0: impl Into<Option<&'env BigDecimal>>,
    arg1: impl Into<Option<&'env MathContext>>
) -> Result<Option<Local<'env, BigDecimal>>, Local<'env, Throwable>>
[src]

divide

Required features: "android-icu-math-BigDecimal", "android-icu-math-MathContext"

pub fn divideInteger_BigDecimal<'env>(
    &'env self,
    arg0: impl Into<Option<&'env BigDecimal>>
) -> Result<Option<Local<'env, BigDecimal>>, Local<'env, Throwable>>
[src]

divideInteger

Required features: "android-icu-math-BigDecimal"

pub fn divideInteger_BigDecimal_MathContext<'env>(
    &'env self,
    arg0: impl Into<Option<&'env BigDecimal>>,
    arg1: impl Into<Option<&'env MathContext>>
) -> Result<Option<Local<'env, BigDecimal>>, Local<'env, Throwable>>
[src]

divideInteger

Required features: "android-icu-math-BigDecimal", "android-icu-math-MathContext"

pub fn max_BigDecimal<'env>(
    &'env self,
    arg0: impl Into<Option<&'env BigDecimal>>
) -> Result<Option<Local<'env, BigDecimal>>, Local<'env, Throwable>>
[src]

max

Required features: "android-icu-math-BigDecimal"

pub fn max_BigDecimal_MathContext<'env>(
    &'env self,
    arg0: impl Into<Option<&'env BigDecimal>>,
    arg1: impl Into<Option<&'env MathContext>>
) -> Result<Option<Local<'env, BigDecimal>>, Local<'env, Throwable>>
[src]

max

Required features: "android-icu-math-BigDecimal", "android-icu-math-MathContext"

pub fn min_BigDecimal<'env>(
    &'env self,
    arg0: impl Into<Option<&'env BigDecimal>>
) -> Result<Option<Local<'env, BigDecimal>>, Local<'env, Throwable>>
[src]

min

Required features: "android-icu-math-BigDecimal"

pub fn min_BigDecimal_MathContext<'env>(
    &'env self,
    arg0: impl Into<Option<&'env BigDecimal>>,
    arg1: impl Into<Option<&'env MathContext>>
) -> Result<Option<Local<'env, BigDecimal>>, Local<'env, Throwable>>
[src]

min

Required features: "android-icu-math-BigDecimal", "android-icu-math-MathContext"

pub fn multiply_BigDecimal<'env>(
    &'env self,
    arg0: impl Into<Option<&'env BigDecimal>>
) -> Result<Option<Local<'env, BigDecimal>>, Local<'env, Throwable>>
[src]

multiply

Required features: "android-icu-math-BigDecimal"

pub fn multiply_BigDecimal_MathContext<'env>(
    &'env self,
    arg0: impl Into<Option<&'env BigDecimal>>,
    arg1: impl Into<Option<&'env MathContext>>
) -> Result<Option<Local<'env, BigDecimal>>, Local<'env, Throwable>>
[src]

multiply

Required features: "android-icu-math-BigDecimal", "android-icu-math-MathContext"

pub fn negate<'env>(
    &'env self
) -> Result<Option<Local<'env, BigDecimal>>, Local<'env, Throwable>>
[src]

negate

Required features: "android-icu-math-BigDecimal"

pub fn negate_MathContext<'env>(
    &'env self,
    arg0: impl Into<Option<&'env MathContext>>
) -> Result<Option<Local<'env, BigDecimal>>, Local<'env, Throwable>>
[src]

negate

Required features: "android-icu-math-BigDecimal", "android-icu-math-MathContext"

pub fn plus<'env>(
    &'env self
) -> Result<Option<Local<'env, BigDecimal>>, Local<'env, Throwable>>
[src]

plus

Required features: "android-icu-math-BigDecimal"

pub fn plus_MathContext<'env>(
    &'env self,
    arg0: impl Into<Option<&'env MathContext>>
) -> Result<Option<Local<'env, BigDecimal>>, Local<'env, Throwable>>
[src]

plus

Required features: "android-icu-math-BigDecimal", "android-icu-math-MathContext"

pub fn pow_BigDecimal<'env>(
    &'env self,
    arg0: impl Into<Option<&'env BigDecimal>>
) -> Result<Option<Local<'env, BigDecimal>>, Local<'env, Throwable>>
[src]

pow

Required features: "android-icu-math-BigDecimal"

pub fn pow_BigDecimal_MathContext<'env>(
    &'env self,
    arg0: impl Into<Option<&'env BigDecimal>>,
    arg1: impl Into<Option<&'env MathContext>>
) -> Result<Option<Local<'env, BigDecimal>>, Local<'env, Throwable>>
[src]

pow

Required features: "android-icu-math-BigDecimal", "android-icu-math-MathContext"

pub fn remainder_BigDecimal<'env>(
    &'env self,
    arg0: impl Into<Option<&'env BigDecimal>>
) -> Result<Option<Local<'env, BigDecimal>>, Local<'env, Throwable>>
[src]

remainder

Required features: "android-icu-math-BigDecimal"

pub fn remainder_BigDecimal_MathContext<'env>(
    &'env self,
    arg0: impl Into<Option<&'env BigDecimal>>,
    arg1: impl Into<Option<&'env MathContext>>
) -> Result<Option<Local<'env, BigDecimal>>, Local<'env, Throwable>>
[src]

remainder

Required features: "android-icu-math-BigDecimal", "android-icu-math-MathContext"

pub fn subtract_BigDecimal<'env>(
    &'env self,
    arg0: impl Into<Option<&'env BigDecimal>>
) -> Result<Option<Local<'env, BigDecimal>>, Local<'env, Throwable>>
[src]

subtract

Required features: "android-icu-math-BigDecimal"

pub fn subtract_BigDecimal_MathContext<'env>(
    &'env self,
    arg0: impl Into<Option<&'env BigDecimal>>,
    arg1: impl Into<Option<&'env MathContext>>
) -> Result<Option<Local<'env, BigDecimal>>, Local<'env, Throwable>>
[src]

subtract

Required features: "android-icu-math-BigDecimal", "android-icu-math-MathContext"

pub fn byteValueExact<'env>(&'env self) -> Result<i8, Local<'env, Throwable>>[src]

pub fn doubleValue<'env>(&'env self) -> Result<f64, Local<'env, Throwable>>[src]

pub fn equals<'env>(
    &'env self,
    arg0: impl Into<Option<&'env Object>>
) -> Result<bool, Local<'env, Throwable>>
[src]

equals

Required features: "java-lang-Object"

pub fn floatValue<'env>(&'env self) -> Result<f32, Local<'env, Throwable>>[src]

pub fn format_int_int<'env>(
    &'env self,
    arg0: i32,
    arg1: i32
) -> Result<Option<Local<'env, String>>, Local<'env, Throwable>>
[src]

format

Required features: "java-lang-String"

pub fn format_int_int_int_int_int_int<'env>(
    &'env self,
    arg0: i32,
    arg1: i32,
    arg2: i32,
    arg3: i32,
    arg4: i32,
    arg5: i32
) -> Result<Option<Local<'env, String>>, Local<'env, Throwable>>
[src]

format

Required features: "java-lang-String"

pub fn hashCode<'env>(&'env self) -> Result<i32, Local<'env, Throwable>>[src]

pub fn intValue<'env>(&'env self) -> Result<i32, Local<'env, Throwable>>[src]

pub fn intValueExact<'env>(&'env self) -> Result<i32, Local<'env, Throwable>>[src]

pub fn longValue<'env>(&'env self) -> Result<i64, Local<'env, Throwable>>[src]

pub fn longValueExact<'env>(&'env self) -> Result<i64, Local<'env, Throwable>>[src]

pub fn movePointLeft<'env>(
    &'env self,
    arg0: i32
) -> Result<Option<Local<'env, BigDecimal>>, Local<'env, Throwable>>
[src]

movePointLeft

Required features: "android-icu-math-BigDecimal"

pub fn movePointRight<'env>(
    &'env self,
    arg0: i32
) -> Result<Option<Local<'env, BigDecimal>>, Local<'env, Throwable>>
[src]

movePointRight

Required features: "android-icu-math-BigDecimal"

pub fn scale<'env>(&'env self) -> Result<i32, Local<'env, Throwable>>[src]

pub fn setScale_int<'env>(
    &'env self,
    arg0: i32
) -> Result<Option<Local<'env, BigDecimal>>, Local<'env, Throwable>>
[src]

setScale

Required features: "android-icu-math-BigDecimal"

pub fn setScale_int_int<'env>(
    &'env self,
    arg0: i32,
    arg1: i32
) -> Result<Option<Local<'env, BigDecimal>>, Local<'env, Throwable>>
[src]

setScale

Required features: "android-icu-math-BigDecimal"

pub fn shortValueExact<'env>(&'env self) -> Result<i16, Local<'env, Throwable>>[src]

pub fn signum<'env>(&'env self) -> Result<i32, Local<'env, Throwable>>[src]

pub fn toBigDecimal<'env>(
    &'env self
) -> Result<Option<Local<'env, BigDecimal>>, Local<'env, Throwable>>
[src]

toBigDecimal

Required features: "java-math-BigDecimal"

pub fn toBigInteger<'env>(
    &'env self
) -> Result<Option<Local<'env, BigInteger>>, Local<'env, Throwable>>
[src]

toBigInteger

Required features: "java-math-BigInteger"

pub fn toBigIntegerExact<'env>(
    &'env self
) -> Result<Option<Local<'env, BigInteger>>, Local<'env, Throwable>>
[src]

toBigIntegerExact

Required features: "java-math-BigInteger"

pub fn toCharArray<'env>(
    &'env self
) -> Result<Option<Local<'env, CharArray>>, Local<'env, Throwable>>
[src]

pub fn toString<'env>(
    &'env self
) -> Result<Option<Local<'env, String>>, Local<'env, Throwable>>
[src]

toString

Required features: "java-lang-String"

pub fn unscaledValue<'env>(
    &'env self
) -> Result<Option<Local<'env, BigInteger>>, Local<'env, Throwable>>
[src]

unscaledValue

Required features: "java-math-BigInteger"

pub fn valueOf_double<'env>(
    __jni_env: &'env Env,
    arg0: f64
) -> Result<Option<Local<'env, BigDecimal>>, Local<'env, Throwable>>
[src]

valueOf

Required features: "android-icu-math-BigDecimal"

pub fn valueOf_long<'env>(
    __jni_env: &'env Env,
    arg0: i64
) -> Result<Option<Local<'env, BigDecimal>>, Local<'env, Throwable>>
[src]

valueOf

Required features: "android-icu-math-BigDecimal"

pub fn valueOf_long_int<'env>(
    __jni_env: &'env Env,
    arg0: i64,
    arg1: i32
) -> Result<Option<Local<'env, BigDecimal>>, Local<'env, Throwable>>
[src]

valueOf

Required features: "android-icu-math-BigDecimal"

pub fn ONE<'env>(env: &'env Env) -> Option<Local<'env, BigDecimal>>[src]

get public static final ONE

Required feature: "android-icu-math-BigDecimal"

pub const ROUND_CEILING: i32[src]

public static final ROUND_CEILING

pub const ROUND_DOWN: i32[src]

public static final ROUND_DOWN

pub const ROUND_FLOOR: i32[src]

public static final ROUND_FLOOR

pub const ROUND_HALF_DOWN: i32[src]

public static final ROUND_HALF_DOWN

pub const ROUND_HALF_EVEN: i32[src]

public static final ROUND_HALF_EVEN

pub const ROUND_HALF_UP: i32[src]

public static final ROUND_HALF_UP

pub const ROUND_UNNECESSARY: i32[src]

public static final ROUND_UNNECESSARY

pub const ROUND_UP: i32[src]

public static final ROUND_UP

pub fn TEN<'env>(env: &'env Env) -> Option<Local<'env, BigDecimal>>[src]

get public static final TEN

Required feature: "android-icu-math-BigDecimal"

pub fn ZERO<'env>(env: &'env Env) -> Option<Local<'env, BigDecimal>>[src]

get public static final ZERO

Required feature: "android-icu-math-BigDecimal"

Methods from Deref<Target = Number>

pub fn intValue<'env>(&'env self) -> Result<i32, Local<'env, Throwable>>[src]

pub fn longValue<'env>(&'env self) -> Result<i64, Local<'env, Throwable>>[src]

pub fn floatValue<'env>(&'env self) -> Result<f32, Local<'env, Throwable>>[src]

pub fn doubleValue<'env>(&'env self) -> Result<f64, Local<'env, Throwable>>[src]

pub fn byteValue<'env>(&'env self) -> Result<i8, Local<'env, Throwable>>[src]

pub fn shortValue<'env>(&'env self) -> Result<i16, Local<'env, Throwable>>[src]

Trait Implementations

impl AsJValue for BigDecimal

impl AsRef<Comparable> for BigDecimal

impl AsRef<Serializable> for BigDecimal

impl AsValidJObjectAndEnv for BigDecimal

impl Deref for BigDecimal

type Target = Number

The resulting type after dereferencing.

impl JniType for BigDecimal

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.