[−]Struct jni_android_sys::java::lang::Double
public final class Double
Required feature: "java-lang-Double"
Methods
impl Double
pub fn new_double<'env>(
__jni_env: &'env Env,
arg0: f64
) -> Result<Local<'env, Double>, Local<'env, Throwable>>
[src]
__jni_env: &'env Env,
arg0: f64
) -> Result<Local<'env, Double>, Local<'env, Throwable>>
pub fn new_String<'env>(
__jni_env: &'env Env,
arg0: impl Into<Option<&'env String>>
) -> Result<Local<'env, Double>, Local<'env, Throwable>>
[src]
__jni_env: &'env Env,
arg0: impl Into<Option<&'env String>>
) -> Result<Local<'env, Double>, Local<'env, Throwable>>
Required features: "java-lang-String"
pub fn toString_double<'env>(
__jni_env: &'env Env,
arg0: f64
) -> Result<Option<Local<'env, String>>, Local<'env, Throwable>>
[src]
__jni_env: &'env Env,
arg0: f64
) -> Result<Option<Local<'env, String>>, Local<'env, Throwable>>
Required features: "java-lang-String"
pub fn toHexString<'env>(
__jni_env: &'env Env,
arg0: f64
) -> Result<Option<Local<'env, String>>, Local<'env, Throwable>>
[src]
__jni_env: &'env Env,
arg0: f64
) -> Result<Option<Local<'env, String>>, Local<'env, Throwable>>
Required features: "java-lang-String"
pub fn valueOf_String<'env>(
__jni_env: &'env Env,
arg0: impl Into<Option<&'env String>>
) -> Result<Option<Local<'env, Double>>, Local<'env, Throwable>>
[src]
__jni_env: &'env Env,
arg0: impl Into<Option<&'env String>>
) -> Result<Option<Local<'env, Double>>, Local<'env, Throwable>>
Required features: "java-lang-Double", "java-lang-String"
pub fn valueOf_double<'env>(
__jni_env: &'env Env,
arg0: f64
) -> Result<Option<Local<'env, Double>>, Local<'env, Throwable>>
[src]
__jni_env: &'env Env,
arg0: f64
) -> Result<Option<Local<'env, Double>>, Local<'env, Throwable>>
Required features: "java-lang-Double"
pub fn parseDouble<'env>(
__jni_env: &'env Env,
arg0: impl Into<Option<&'env String>>
) -> Result<f64, Local<'env, Throwable>>
[src]
__jni_env: &'env Env,
arg0: impl Into<Option<&'env String>>
) -> Result<f64, Local<'env, Throwable>>
Required features: "java-lang-String"
pub fn isNaN_double<'env>(
__jni_env: &'env Env,
arg0: f64
) -> Result<bool, Local<'env, Throwable>>
[src]
__jni_env: &'env Env,
arg0: f64
) -> Result<bool, Local<'env, Throwable>>
pub fn isInfinite_double<'env>(
__jni_env: &'env Env,
arg0: f64
) -> Result<bool, Local<'env, Throwable>>
[src]
__jni_env: &'env Env,
arg0: f64
) -> Result<bool, Local<'env, Throwable>>
pub fn isFinite<'env>(
__jni_env: &'env Env,
arg0: f64
) -> Result<bool, Local<'env, Throwable>>
[src]
__jni_env: &'env Env,
arg0: f64
) -> Result<bool, Local<'env, Throwable>>
pub fn isNaN<'env>(&'env self) -> Result<bool, Local<'env, Throwable>>
[src]
pub fn isInfinite<'env>(&'env self) -> Result<bool, 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 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 hashCode<'env>(&'env self) -> Result<i32, Local<'env, Throwable>>
[src]
pub fn hashCode_double<'env>(
__jni_env: &'env Env,
arg0: f64
) -> Result<i32, Local<'env, Throwable>>
[src]
__jni_env: &'env Env,
arg0: f64
) -> 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 doubleToLongBits<'env>(
__jni_env: &'env Env,
arg0: f64
) -> Result<i64, Local<'env, Throwable>>
[src]
__jni_env: &'env Env,
arg0: f64
) -> Result<i64, Local<'env, Throwable>>
pub fn doubleToRawLongBits<'env>(
__jni_env: &'env Env,
arg0: f64
) -> Result<i64, Local<'env, Throwable>>
[src]
__jni_env: &'env Env,
arg0: f64
) -> Result<i64, Local<'env, Throwable>>
pub fn longBitsToDouble<'env>(
__jni_env: &'env Env,
arg0: i64
) -> Result<f64, Local<'env, Throwable>>
[src]
__jni_env: &'env Env,
arg0: i64
) -> Result<f64, Local<'env, Throwable>>
pub fn compareTo_Double<'env>(
&'env self,
arg0: impl Into<Option<&'env Double>>
) -> Result<i32, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env Double>>
) -> Result<i32, Local<'env, Throwable>>
Required features: "java-lang-Double"
pub fn compare<'env>(
__jni_env: &'env Env,
arg0: f64,
arg1: f64
) -> Result<i32, Local<'env, Throwable>>
[src]
__jni_env: &'env Env,
arg0: f64,
arg1: f64
) -> Result<i32, Local<'env, Throwable>>
pub fn sum<'env>(
__jni_env: &'env Env,
arg0: f64,
arg1: f64
) -> Result<f64, Local<'env, Throwable>>
[src]
__jni_env: &'env Env,
arg0: f64,
arg1: f64
) -> Result<f64, Local<'env, Throwable>>
pub fn max<'env>(
__jni_env: &'env Env,
arg0: f64,
arg1: f64
) -> Result<f64, Local<'env, Throwable>>
[src]
__jni_env: &'env Env,
arg0: f64,
arg1: f64
) -> Result<f64, Local<'env, Throwable>>
pub fn min<'env>(
__jni_env: &'env Env,
arg0: f64,
arg1: f64
) -> Result<f64, Local<'env, Throwable>>
[src]
__jni_env: &'env Env,
arg0: f64,
arg1: f64
) -> Result<f64, Local<'env, Throwable>>
pub const BYTES: i32
[src]
public static final BYTES
pub const MAX_EXPONENT: i32
[src]
public static final MAX_EXPONENT
pub const MAX_VALUE: f64
[src]
public static final MAX_VALUE
pub const MIN_EXPONENT: i32
[src]
public static final MIN_EXPONENT
pub const MIN_NORMAL: f64
[src]
public static final MIN_NORMAL
pub const MIN_VALUE: f64
[src]
public static final MIN_VALUE
pub const NEGATIVE_INFINITY: f64
[src]
public static final NEGATIVE_INFINITY
pub const NaN: f64
[src]
public static final NaN
pub const POSITIVE_INFINITY: f64
[src]
public static final POSITIVE_INFINITY
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 Double
impl AsRef<Comparable> for Double
fn as_ref(&self) -> &Comparable
impl AsValidJObjectAndEnv for Double
impl Deref for Double
impl JniType for Double
fn static_with_jni_type<R>(callback: impl FnOnce(&str) -> R) -> R
Auto Trait Implementations
impl RefUnwindSafe for Double
impl !Send for Double
impl !Sync for Double
impl Unpin for Double
impl UnwindSafe for Double
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>,