[−]Struct jni_android_sys::java::lang::Long
public final class Long
Required feature: "java-lang-Long"
Methods
impl Long
pub fn new_long<'env>(
__jni_env: &'env Env,
arg0: i64
) -> Result<Local<'env, Long>, Local<'env, Throwable>>
[src]
__jni_env: &'env Env,
arg0: i64
) -> Result<Local<'env, Long>, Local<'env, Throwable>>
pub fn new_String<'env>(
__jni_env: &'env Env,
arg0: impl Into<Option<&'env String>>
) -> Result<Local<'env, Long>, Local<'env, Throwable>>
[src]
__jni_env: &'env Env,
arg0: impl Into<Option<&'env String>>
) -> Result<Local<'env, Long>, Local<'env, Throwable>>
Required features: "java-lang-String"
pub fn toString_long_int<'env>(
__jni_env: &'env Env,
arg0: i64,
arg1: i32
) -> Result<Option<Local<'env, String>>, Local<'env, Throwable>>
[src]
__jni_env: &'env Env,
arg0: i64,
arg1: i32
) -> Result<Option<Local<'env, String>>, Local<'env, Throwable>>
Required features: "java-lang-String"
pub fn toUnsignedString_long_int<'env>(
__jni_env: &'env Env,
arg0: i64,
arg1: i32
) -> Result<Option<Local<'env, String>>, Local<'env, Throwable>>
[src]
__jni_env: &'env Env,
arg0: i64,
arg1: i32
) -> Result<Option<Local<'env, String>>, Local<'env, Throwable>>
Required features: "java-lang-String"
pub fn toHexString<'env>(
__jni_env: &'env Env,
arg0: i64
) -> Result<Option<Local<'env, String>>, Local<'env, Throwable>>
[src]
__jni_env: &'env Env,
arg0: i64
) -> Result<Option<Local<'env, String>>, Local<'env, Throwable>>
Required features: "java-lang-String"
pub fn toOctalString<'env>(
__jni_env: &'env Env,
arg0: i64
) -> Result<Option<Local<'env, String>>, Local<'env, Throwable>>
[src]
__jni_env: &'env Env,
arg0: i64
) -> Result<Option<Local<'env, String>>, Local<'env, Throwable>>
Required features: "java-lang-String"
pub fn toBinaryString<'env>(
__jni_env: &'env Env,
arg0: i64
) -> Result<Option<Local<'env, String>>, Local<'env, Throwable>>
[src]
__jni_env: &'env Env,
arg0: i64
) -> Result<Option<Local<'env, String>>, Local<'env, Throwable>>
Required features: "java-lang-String"
pub fn toString_long<'env>(
__jni_env: &'env Env,
arg0: i64
) -> Result<Option<Local<'env, String>>, Local<'env, Throwable>>
[src]
__jni_env: &'env Env,
arg0: i64
) -> Result<Option<Local<'env, String>>, Local<'env, Throwable>>
Required features: "java-lang-String"
pub fn toUnsignedString_long<'env>(
__jni_env: &'env Env,
arg0: i64
) -> Result<Option<Local<'env, String>>, Local<'env, Throwable>>
[src]
__jni_env: &'env Env,
arg0: i64
) -> Result<Option<Local<'env, String>>, Local<'env, Throwable>>
Required features: "java-lang-String"
pub fn parseLong_String_int<'env>(
__jni_env: &'env Env,
arg0: impl Into<Option<&'env String>>,
arg1: i32
) -> Result<i64, Local<'env, Throwable>>
[src]
__jni_env: &'env Env,
arg0: impl Into<Option<&'env String>>,
arg1: i32
) -> Result<i64, Local<'env, Throwable>>
Required features: "java-lang-String"
pub fn parseLong_String<'env>(
__jni_env: &'env Env,
arg0: impl Into<Option<&'env String>>
) -> Result<i64, Local<'env, Throwable>>
[src]
__jni_env: &'env Env,
arg0: impl Into<Option<&'env String>>
) -> Result<i64, Local<'env, Throwable>>
Required features: "java-lang-String"
pub fn parseUnsignedLong_String_int<'env>(
__jni_env: &'env Env,
arg0: impl Into<Option<&'env String>>,
arg1: i32
) -> Result<i64, Local<'env, Throwable>>
[src]
__jni_env: &'env Env,
arg0: impl Into<Option<&'env String>>,
arg1: i32
) -> Result<i64, Local<'env, Throwable>>
Required features: "java-lang-String"
pub fn parseUnsignedLong_String<'env>(
__jni_env: &'env Env,
arg0: impl Into<Option<&'env String>>
) -> Result<i64, Local<'env, Throwable>>
[src]
__jni_env: &'env Env,
arg0: impl Into<Option<&'env String>>
) -> Result<i64, Local<'env, Throwable>>
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, Long>>, Local<'env, Throwable>>
[src]
__jni_env: &'env Env,
arg0: impl Into<Option<&'env String>>,
arg1: i32
) -> Result<Option<Local<'env, Long>>, Local<'env, Throwable>>
Required features: "java-lang-Long", "java-lang-String"
pub fn valueOf_String<'env>(
__jni_env: &'env Env,
arg0: impl Into<Option<&'env String>>
) -> Result<Option<Local<'env, Long>>, Local<'env, Throwable>>
[src]
__jni_env: &'env Env,
arg0: impl Into<Option<&'env String>>
) -> Result<Option<Local<'env, Long>>, Local<'env, Throwable>>
Required features: "java-lang-Long", "java-lang-String"
pub fn valueOf_long<'env>(
__jni_env: &'env Env,
arg0: i64
) -> Result<Option<Local<'env, Long>>, Local<'env, Throwable>>
[src]
__jni_env: &'env Env,
arg0: i64
) -> Result<Option<Local<'env, Long>>, Local<'env, Throwable>>
Required features: "java-lang-Long"
pub fn decode<'env>(
__jni_env: &'env Env,
arg0: impl Into<Option<&'env String>>
) -> Result<Option<Local<'env, Long>>, Local<'env, Throwable>>
[src]
__jni_env: &'env Env,
arg0: impl Into<Option<&'env String>>
) -> Result<Option<Local<'env, Long>>, Local<'env, Throwable>>
Required features: "java-lang-Long", "java-lang-String"
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]
&'env self
) -> Result<Option<Local<'env, String>>, Local<'env, Throwable>>
Required features: "java-lang-String"
pub fn hashCode<'env>(&'env self) -> Result<i32, Local<'env, Throwable>>
[src]
pub fn hashCode_long<'env>(
__jni_env: &'env Env,
arg0: i64
) -> Result<i32, Local<'env, Throwable>>
[src]
__jni_env: &'env Env,
arg0: i64
) -> Result<i32, Local<'env, Throwable>>
pub fn equals<'env>(
&'env self,
arg0: impl Into<Option<&'env Object>>
) -> Result<bool, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env Object>>
) -> Result<bool, Local<'env, Throwable>>
Required features: "java-lang-Object"
pub fn getLong_String<'env>(
__jni_env: &'env Env,
arg0: impl Into<Option<&'env String>>
) -> Result<Option<Local<'env, Long>>, Local<'env, Throwable>>
[src]
__jni_env: &'env Env,
arg0: impl Into<Option<&'env String>>
) -> Result<Option<Local<'env, Long>>, Local<'env, Throwable>>
Required features: "java-lang-Long", "java-lang-String"
pub fn getLong_String_long<'env>(
__jni_env: &'env Env,
arg0: impl Into<Option<&'env String>>,
arg1: i64
) -> Result<Option<Local<'env, Long>>, Local<'env, Throwable>>
[src]
__jni_env: &'env Env,
arg0: impl Into<Option<&'env String>>,
arg1: i64
) -> Result<Option<Local<'env, Long>>, Local<'env, Throwable>>
Required features: "java-lang-Long", "java-lang-String"
pub fn getLong_String_Long<'env>(
__jni_env: &'env Env,
arg0: impl Into<Option<&'env String>>,
arg1: impl Into<Option<&'env Long>>
) -> Result<Option<Local<'env, Long>>, Local<'env, Throwable>>
[src]
__jni_env: &'env Env,
arg0: impl Into<Option<&'env String>>,
arg1: impl Into<Option<&'env Long>>
) -> Result<Option<Local<'env, Long>>, Local<'env, Throwable>>
Required features: "java-lang-Long", "java-lang-String"
pub fn compareTo_Long<'env>(
&'env self,
arg0: impl Into<Option<&'env Long>>
) -> Result<i32, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env Long>>
) -> Result<i32, Local<'env, Throwable>>
Required features: "java-lang-Long"
pub fn compare<'env>(
__jni_env: &'env Env,
arg0: i64,
arg1: i64
) -> Result<i32, Local<'env, Throwable>>
[src]
__jni_env: &'env Env,
arg0: i64,
arg1: i64
) -> Result<i32, Local<'env, Throwable>>
pub fn compareUnsigned<'env>(
__jni_env: &'env Env,
arg0: i64,
arg1: i64
) -> Result<i32, Local<'env, Throwable>>
[src]
__jni_env: &'env Env,
arg0: i64,
arg1: i64
) -> Result<i32, Local<'env, Throwable>>
pub fn divideUnsigned<'env>(
__jni_env: &'env Env,
arg0: i64,
arg1: i64
) -> Result<i64, Local<'env, Throwable>>
[src]
__jni_env: &'env Env,
arg0: i64,
arg1: i64
) -> Result<i64, Local<'env, Throwable>>
pub fn remainderUnsigned<'env>(
__jni_env: &'env Env,
arg0: i64,
arg1: i64
) -> Result<i64, Local<'env, Throwable>>
[src]
__jni_env: &'env Env,
arg0: i64,
arg1: i64
) -> Result<i64, Local<'env, Throwable>>
pub fn highestOneBit<'env>(
__jni_env: &'env Env,
arg0: i64
) -> Result<i64, Local<'env, Throwable>>
[src]
__jni_env: &'env Env,
arg0: i64
) -> Result<i64, Local<'env, Throwable>>
pub fn lowestOneBit<'env>(
__jni_env: &'env Env,
arg0: i64
) -> Result<i64, Local<'env, Throwable>>
[src]
__jni_env: &'env Env,
arg0: i64
) -> Result<i64, Local<'env, Throwable>>
pub fn numberOfLeadingZeros<'env>(
__jni_env: &'env Env,
arg0: i64
) -> Result<i32, Local<'env, Throwable>>
[src]
__jni_env: &'env Env,
arg0: i64
) -> Result<i32, Local<'env, Throwable>>
pub fn numberOfTrailingZeros<'env>(
__jni_env: &'env Env,
arg0: i64
) -> Result<i32, Local<'env, Throwable>>
[src]
__jni_env: &'env Env,
arg0: i64
) -> Result<i32, Local<'env, Throwable>>
pub fn bitCount<'env>(
__jni_env: &'env Env,
arg0: i64
) -> Result<i32, Local<'env, Throwable>>
[src]
__jni_env: &'env Env,
arg0: i64
) -> Result<i32, Local<'env, Throwable>>
pub fn rotateLeft<'env>(
__jni_env: &'env Env,
arg0: i64,
arg1: i32
) -> Result<i64, Local<'env, Throwable>>
[src]
__jni_env: &'env Env,
arg0: i64,
arg1: i32
) -> Result<i64, Local<'env, Throwable>>
pub fn rotateRight<'env>(
__jni_env: &'env Env,
arg0: i64,
arg1: i32
) -> Result<i64, Local<'env, Throwable>>
[src]
__jni_env: &'env Env,
arg0: i64,
arg1: i32
) -> Result<i64, Local<'env, Throwable>>
pub fn reverse<'env>(
__jni_env: &'env Env,
arg0: i64
) -> Result<i64, Local<'env, Throwable>>
[src]
__jni_env: &'env Env,
arg0: i64
) -> Result<i64, Local<'env, Throwable>>
pub fn signum<'env>(
__jni_env: &'env Env,
arg0: i64
) -> Result<i32, Local<'env, Throwable>>
[src]
__jni_env: &'env Env,
arg0: i64
) -> Result<i32, Local<'env, Throwable>>
pub fn reverseBytes<'env>(
__jni_env: &'env Env,
arg0: i64
) -> Result<i64, Local<'env, Throwable>>
[src]
__jni_env: &'env Env,
arg0: i64
) -> Result<i64, Local<'env, Throwable>>
pub fn sum<'env>(
__jni_env: &'env Env,
arg0: i64,
arg1: i64
) -> Result<i64, Local<'env, Throwable>>
[src]
__jni_env: &'env Env,
arg0: i64,
arg1: i64
) -> Result<i64, Local<'env, Throwable>>
pub fn max<'env>(
__jni_env: &'env Env,
arg0: i64,
arg1: i64
) -> Result<i64, Local<'env, Throwable>>
[src]
__jni_env: &'env Env,
arg0: i64,
arg1: i64
) -> Result<i64, Local<'env, Throwable>>
pub fn min<'env>(
__jni_env: &'env Env,
arg0: i64,
arg1: i64
) -> Result<i64, Local<'env, Throwable>>
[src]
__jni_env: &'env Env,
arg0: i64,
arg1: i64
) -> Result<i64, Local<'env, Throwable>>
pub const BYTES: i32
[src]
public static final BYTES
pub const MAX_VALUE: i64
[src]
public static final MAX_VALUE
pub const MIN_VALUE: i64
[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 Long
impl AsRef<Comparable> for Long
fn as_ref(&self) -> &Comparable
impl AsValidJObjectAndEnv for Long
impl Deref for Long
impl JniType for Long
fn static_with_jni_type<R>(callback: impl FnOnce(&str) -> R) -> R
Auto Trait Implementations
impl RefUnwindSafe for Long
impl !Send for Long
impl !Sync for Long
impl Unpin for Long
impl UnwindSafe for Long
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
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>,