[]Struct jni_android_sys::android::util::ArraySet

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

public final class ArraySet

Required feature: "android-util-ArraySet"

Methods

impl ArraySet

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

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

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

ArraySet

Required features: "android-util-ArraySet"

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

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

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

contains

Required features: "java-lang-Object"

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

indexOf

Required features: "java-lang-Object"

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

valueAt

Required features: "java-lang-Object"

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

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

add

Required features: "java-lang-Object"

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

addAll

Required features: "android-util-ArraySet"

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

remove

Required features: "java-lang-Object"

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

removeAt

Required features: "java-lang-Object"

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

removeAll

Required features: "android-util-ArraySet"

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

pub fn toArray<'env>(
    &'env self
) -> Result<Option<Local<'env, ObjectArray<Object, Throwable>>>, Local<'env, Throwable>>
[src]

toArray

Required features: "java-lang-Object"

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

toArray

Required features: "java-lang-Object"

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 hashCode<'env>(&'env self) -> Result<i32, 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 iterator<'env>(
    &'env self
) -> Result<Option<Local<'env, Iterator>>, Local<'env, Throwable>>
[src]

iterator

Required features: "java-util-Iterator"

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

containsAll

Required features: "java-util-Collection"

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

addAll

Required features: "java-util-Collection"

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

removeAll

Required features: "java-util-Collection"

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

retainAll

Required features: "java-util-Collection"

Methods from Deref<Target = Object>

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

getClass

Required features: "java-lang-Class"

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

toString

Required features: "java-lang-String"

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

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

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

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

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

Trait Implementations

impl AsJValue for ArraySet

impl AsRef<Collection> for ArraySet

impl AsRef<Set> for ArraySet

impl AsValidJObjectAndEnv for ArraySet

impl Deref for ArraySet

type Target = Object

The resulting type after dereferencing.

impl JniType for ArraySet

Auto Trait Implementations

impl RefUnwindSafe for ArraySet

impl !Send for ArraySet

impl !Sync for ArraySet

impl Unpin for ArraySet

impl UnwindSafe for ArraySet

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.