[−]Struct jni_android_sys::java::math::BigInteger
public class BigInteger
Required feature: java-math-BigInteger
Methods
impl BigInteger
pub fn new_int_random<'env>(
__jni_env: &'env Env,
arg0: i32,
arg1: impl Into<Option<&'env Random>>
) -> Result<Local<'env, BigInteger>>
[src]
__jni_env: &'env Env,
arg0: i32,
arg1: impl Into<Option<&'env Random>>
) -> Result<Local<'env, BigInteger>>
Required features: "java-util-Random"
pub fn new_int_int_random<'env>(
__jni_env: &'env Env,
arg0: i32,
arg1: i32,
arg2: impl Into<Option<&'env Random>>
) -> Result<Local<'env, BigInteger>>
[src]
__jni_env: &'env Env,
arg0: i32,
arg1: i32,
arg2: impl Into<Option<&'env Random>>
) -> Result<Local<'env, BigInteger>>
Required features: "java-util-Random"
pub fn new_string<'env>(
__jni_env: &'env Env,
arg0: impl Into<Option<&'env String>>
) -> Result<Local<'env, BigInteger>>
[src]
__jni_env: &'env Env,
arg0: impl Into<Option<&'env String>>
) -> Result<Local<'env, BigInteger>>
Required features: "java-lang-String"
pub fn new_string_int<'env>(
__jni_env: &'env Env,
arg0: impl Into<Option<&'env String>>,
arg1: i32
) -> Result<Local<'env, BigInteger>>
[src]
__jni_env: &'env Env,
arg0: impl Into<Option<&'env String>>,
arg1: i32
) -> Result<Local<'env, BigInteger>>
Required features: "java-lang-String"
pub fn new_int_byte_array<'env>(
__jni_env: &'env Env,
arg0: i32,
arg1: impl Into<Option<&'env ByteArray>>
) -> Result<Local<'env, BigInteger>>
[src]
__jni_env: &'env Env,
arg0: i32,
arg1: impl Into<Option<&'env ByteArray>>
) -> Result<Local<'env, BigInteger>>
pub fn new_byte_array<'env>(
__jni_env: &'env Env,
arg0: impl Into<Option<&'env ByteArray>>
) -> Result<Local<'env, BigInteger>>
[src]
__jni_env: &'env Env,
arg0: impl Into<Option<&'env ByteArray>>
) -> Result<Local<'env, BigInteger>>
pub fn value_of<'env>(
__jni_env: &'env Env,
arg0: i64
) -> Result<Option<Local<'env, BigInteger>>>
[src]
__jni_env: &'env Env,
arg0: i64
) -> Result<Option<Local<'env, BigInteger>>>
Required features: "java-math-BigInteger"
pub fn to_byte_array<'env>(&'env self) -> Result<Option<Local<'env, ByteArray>>>
[src]
pub fn abs<'env>(&'env self) -> Result<Option<Local<'env, BigInteger>>>
[src]
Required features: "java-math-BigInteger"
pub fn negate<'env>(&'env self) -> Result<Option<Local<'env, BigInteger>>>
[src]
Required features: "java-math-BigInteger"
pub fn add<'env>(
&'env self,
arg0: impl Into<Option<&'env BigInteger>>
) -> Result<Option<Local<'env, BigInteger>>>
[src]
&'env self,
arg0: impl Into<Option<&'env BigInteger>>
) -> Result<Option<Local<'env, BigInteger>>>
Required features: "java-math-BigInteger"
pub fn subtract<'env>(
&'env self,
arg0: impl Into<Option<&'env BigInteger>>
) -> Result<Option<Local<'env, BigInteger>>>
[src]
&'env self,
arg0: impl Into<Option<&'env BigInteger>>
) -> Result<Option<Local<'env, BigInteger>>>
Required features: "java-math-BigInteger"
pub fn signum<'env>(&'env self) -> Result<i32>
[src]
pub fn shift_right<'env>(
&'env self,
arg0: i32
) -> Result<Option<Local<'env, BigInteger>>>
[src]
&'env self,
arg0: i32
) -> Result<Option<Local<'env, BigInteger>>>
Required features: "java-math-BigInteger"
pub fn shift_left<'env>(
&'env self,
arg0: i32
) -> Result<Option<Local<'env, BigInteger>>>
[src]
&'env self,
arg0: i32
) -> Result<Option<Local<'env, BigInteger>>>
Required features: "java-math-BigInteger"
pub fn bit_length<'env>(&'env self) -> Result<i32>
[src]
pub fn test_bit<'env>(&'env self, arg0: i32) -> Result<bool>
[src]
pub fn set_bit<'env>(
&'env self,
arg0: i32
) -> Result<Option<Local<'env, BigInteger>>>
[src]
&'env self,
arg0: i32
) -> Result<Option<Local<'env, BigInteger>>>
Required features: "java-math-BigInteger"
pub fn clear_bit<'env>(
&'env self,
arg0: i32
) -> Result<Option<Local<'env, BigInteger>>>
[src]
&'env self,
arg0: i32
) -> Result<Option<Local<'env, BigInteger>>>
Required features: "java-math-BigInteger"
pub fn flip_bit<'env>(
&'env self,
arg0: i32
) -> Result<Option<Local<'env, BigInteger>>>
[src]
&'env self,
arg0: i32
) -> Result<Option<Local<'env, BigInteger>>>
Required features: "java-math-BigInteger"
pub fn get_lowest_set_bit<'env>(&'env self) -> Result<i32>
[src]
pub fn bit_count<'env>(&'env self) -> Result<i32>
[src]
pub fn not<'env>(&'env self) -> Result<Option<Local<'env, BigInteger>>>
[src]
Required features: "java-math-BigInteger"
pub fn and<'env>(
&'env self,
arg0: impl Into<Option<&'env BigInteger>>
) -> Result<Option<Local<'env, BigInteger>>>
[src]
&'env self,
arg0: impl Into<Option<&'env BigInteger>>
) -> Result<Option<Local<'env, BigInteger>>>
Required features: "java-math-BigInteger"
pub fn or<'env>(
&'env self,
arg0: impl Into<Option<&'env BigInteger>>
) -> Result<Option<Local<'env, BigInteger>>>
[src]
&'env self,
arg0: impl Into<Option<&'env BigInteger>>
) -> Result<Option<Local<'env, BigInteger>>>
Required features: "java-math-BigInteger"
pub fn xor<'env>(
&'env self,
arg0: impl Into<Option<&'env BigInteger>>
) -> Result<Option<Local<'env, BigInteger>>>
[src]
&'env self,
arg0: impl Into<Option<&'env BigInteger>>
) -> Result<Option<Local<'env, BigInteger>>>
Required features: "java-math-BigInteger"
pub fn and_not<'env>(
&'env self,
arg0: impl Into<Option<&'env BigInteger>>
) -> Result<Option<Local<'env, BigInteger>>>
[src]
&'env self,
arg0: impl Into<Option<&'env BigInteger>>
) -> Result<Option<Local<'env, BigInteger>>>
Required features: "java-math-BigInteger"
pub fn int_value<'env>(&'env self) -> Result<i32>
[src]
pub fn long_value<'env>(&'env self) -> Result<i64>
[src]
pub fn float_value<'env>(&'env self) -> Result<f32>
[src]
pub fn double_value<'env>(&'env self) -> Result<f64>
[src]
pub fn compare_to_big_integer<'env>(
&'env self,
arg0: impl Into<Option<&'env BigInteger>>
) -> Result<i32>
[src]
&'env self,
arg0: impl Into<Option<&'env BigInteger>>
) -> Result<i32>
Required features: "java-math-BigInteger"
pub fn min<'env>(
&'env self,
arg0: impl Into<Option<&'env BigInteger>>
) -> Result<Option<Local<'env, BigInteger>>>
[src]
&'env self,
arg0: impl Into<Option<&'env BigInteger>>
) -> Result<Option<Local<'env, BigInteger>>>
Required features: "java-math-BigInteger"
pub fn max<'env>(
&'env self,
arg0: impl Into<Option<&'env BigInteger>>
) -> Result<Option<Local<'env, BigInteger>>>
[src]
&'env self,
arg0: impl Into<Option<&'env BigInteger>>
) -> Result<Option<Local<'env, BigInteger>>>
Required features: "java-math-BigInteger"
pub fn hash_code<'env>(&'env self) -> Result<i32>
[src]
pub fn equals<'env>(
&'env self,
arg0: impl Into<Option<&'env Object>>
) -> Result<bool>
[src]
&'env self,
arg0: impl Into<Option<&'env Object>>
) -> Result<bool>
Required features: "java-lang-Object"
pub fn to_string<'env>(&'env self) -> Result<Option<Local<'env, String>>>
[src]
Required features: "java-lang-String"
pub fn to_string_int<'env>(
&'env self,
arg0: i32
) -> Result<Option<Local<'env, String>>>
[src]
&'env self,
arg0: i32
) -> Result<Option<Local<'env, String>>>
Required features: "java-lang-String"
pub fn gcd<'env>(
&'env self,
arg0: impl Into<Option<&'env BigInteger>>
) -> Result<Option<Local<'env, BigInteger>>>
[src]
&'env self,
arg0: impl Into<Option<&'env BigInteger>>
) -> Result<Option<Local<'env, BigInteger>>>
Required features: "java-math-BigInteger"
pub fn multiply<'env>(
&'env self,
arg0: impl Into<Option<&'env BigInteger>>
) -> Result<Option<Local<'env, BigInteger>>>
[src]
&'env self,
arg0: impl Into<Option<&'env BigInteger>>
) -> Result<Option<Local<'env, BigInteger>>>
Required features: "java-math-BigInteger"
pub fn pow<'env>(
&'env self,
arg0: i32
) -> Result<Option<Local<'env, BigInteger>>>
[src]
&'env self,
arg0: i32
) -> Result<Option<Local<'env, BigInteger>>>
Required features: "java-math-BigInteger"
pub fn divide<'env>(
&'env self,
arg0: impl Into<Option<&'env BigInteger>>
) -> Result<Option<Local<'env, BigInteger>>>
[src]
&'env self,
arg0: impl Into<Option<&'env BigInteger>>
) -> Result<Option<Local<'env, BigInteger>>>
Required features: "java-math-BigInteger"
pub fn remainder<'env>(
&'env self,
arg0: impl Into<Option<&'env BigInteger>>
) -> Result<Option<Local<'env, BigInteger>>>
[src]
&'env self,
arg0: impl Into<Option<&'env BigInteger>>
) -> Result<Option<Local<'env, BigInteger>>>
Required features: "java-math-BigInteger"
pub fn mod_inverse<'env>(
&'env self,
arg0: impl Into<Option<&'env BigInteger>>
) -> Result<Option<Local<'env, BigInteger>>>
[src]
&'env self,
arg0: impl Into<Option<&'env BigInteger>>
) -> Result<Option<Local<'env, BigInteger>>>
Required features: "java-math-BigInteger"
pub fn mod_pow<'env>(
&'env self,
arg0: impl Into<Option<&'env BigInteger>>,
arg1: impl Into<Option<&'env BigInteger>>
) -> Result<Option<Local<'env, BigInteger>>>
[src]
&'env self,
arg0: impl Into<Option<&'env BigInteger>>,
arg1: impl Into<Option<&'env BigInteger>>
) -> Result<Option<Local<'env, BigInteger>>>
Required features: "java-math-BigInteger"
pub fn mod<'env>(
&'env self,
arg0: impl Into<Option<&'env BigInteger>>
) -> Result<Option<Local<'env, BigInteger>>>
[src]
&'env self,
arg0: impl Into<Option<&'env BigInteger>>
) -> Result<Option<Local<'env, BigInteger>>>
Required features: "java-math-BigInteger"
pub fn is_probable_prime<'env>(&'env self, arg0: i32) -> Result<bool>
[src]
pub fn next_probable_prime<'env>(
&'env self
) -> Result<Option<Local<'env, BigInteger>>>
[src]
&'env self
) -> Result<Option<Local<'env, BigInteger>>>
Required features: "java-math-BigInteger"
pub fn probable_prime<'env>(
__jni_env: &'env Env,
arg0: i32,
arg1: impl Into<Option<&'env Random>>
) -> Result<Option<Local<'env, BigInteger>>>
[src]
__jni_env: &'env Env,
arg0: i32,
arg1: impl Into<Option<&'env Random>>
) -> Result<Option<Local<'env, BigInteger>>>
Required features: "java-math-BigInteger", "java-util-Random"
Methods from Deref<Target = Number>
pub fn int_value<'env>(&'env self) -> Result<i32>
[src]
pub fn long_value<'env>(&'env self) -> Result<i64>
[src]
pub fn float_value<'env>(&'env self) -> Result<f32>
[src]
pub fn double_value<'env>(&'env self) -> Result<f64>
[src]
pub fn byte_value<'env>(&'env self) -> Result<i8>
[src]
pub fn short_value<'env>(&'env self) -> Result<i16>
[src]
Trait Implementations
impl AsRef<Comparable> for BigInteger
fn as_ref(&self) -> &Comparable
impl AsRef<Serializable> for BigInteger
fn as_ref(&self) -> &Serializable
impl Deref for BigInteger
impl AsValidJObjectAndEnv for BigInteger
impl AsJValue for BigInteger
Auto Trait Implementations
impl !Sync for BigInteger
impl !Send for BigInteger
impl Unpin for BigInteger
impl RefUnwindSafe for BigInteger
impl UnwindSafe for BigInteger
Blanket Implementations
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,