[]Struct jni_android_sys::java::lang::Integer

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

public final class Integer

Required feature: "java-lang-Integer"

Methods

impl Integer

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

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

Integer

Required features: "java-lang-String"

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

toString

Required features: "java-lang-String"

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

toUnsignedString

Required features: "java-lang-String"

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

toHexString

Required features: "java-lang-String"

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

toOctalString

Required features: "java-lang-String"

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

toBinaryString

Required features: "java-lang-String"

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

toString

Required features: "java-lang-String"

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

toUnsignedString

Required features: "java-lang-String"

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

parseInt

Required features: "java-lang-String"

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

parseInt

Required features: "java-lang-String"

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

parseUnsignedInt

Required features: "java-lang-String"

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

parseUnsignedInt

Required features: "java-lang-String"

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

valueOf

Required features: "java-lang-Integer", "java-lang-String"

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

valueOf

Required features: "java-lang-Integer", "java-lang-String"

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

valueOf

Required features: "java-lang-Integer"

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

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

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 toString<'env>(
    &'env self
) -> Result<Option<Local<'env, String>>, Local<'env, Throwable>>
[src]

toString

Required features: "java-lang-String"

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

pub fn hashCode_int<'env>(
    __jni_env: &'env Env,
    arg0: i32
) -> Result<i32, 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 getInteger_String<'env>(
    __jni_env: &'env Env,
    arg0: impl Into<Option<&'env String>>
) -> Result<Option<Local<'env, Integer>>, Local<'env, Throwable>>
[src]

getInteger

Required features: "java-lang-Integer", "java-lang-String"

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

getInteger

Required features: "java-lang-Integer", "java-lang-String"

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

getInteger

Required features: "java-lang-Integer", "java-lang-String"

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

decode

Required features: "java-lang-Integer", "java-lang-String"

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

compareTo

Required features: "java-lang-Integer"

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

pub const BYTES: i32[src]

public static final BYTES

pub const MAX_VALUE: i32[src]

public static final MAX_VALUE

pub const MIN_VALUE: i32[src]

public static final MIN_VALUE

pub const SIZE: i32[src]

public static final SIZE

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

get public static final TYPE

Required feature: "java-lang-Class"

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 Integer

impl AsRef<Comparable> for Integer

impl AsValidJObjectAndEnv for Integer

impl Deref for Integer

type Target = Number

The resulting type after dereferencing.

impl JniType for Integer

Auto Trait Implementations

impl RefUnwindSafe for Integer

impl !Send for Integer

impl !Sync for Integer

impl Unpin for Integer

impl UnwindSafe for Integer

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.