[−]Struct jni_android_sys::java::util::List
public interface List
Required feature: "java-util-List"
Methods
impl List
pub fn size<'env>(&'env self) -> Result<i32, Local<'env, Throwable>>
[src]
pub fn isEmpty<'env>(&'env self) -> Result<bool, Local<'env, Throwable>>
[src]
pub fn contains<'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 iterator<'env>(
&'env self
) -> Result<Option<Local<'env, Iterator>>, Local<'env, Throwable>>
[src]
&'env self
) -> Result<Option<Local<'env, Iterator>>, Local<'env, Throwable>>
Required features: "java-util-Iterator"
pub fn toArray<'env>(
&'env self
) -> Result<Option<Local<'env, ObjectArray<Object, Throwable>>>, Local<'env, Throwable>>
[src]
&'env self
) -> Result<Option<Local<'env, ObjectArray<Object, Throwable>>>, Local<'env, Throwable>>
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]
&'env self,
arg0: impl Into<Option<&'env ObjectArray<Object, Throwable>>>
) -> Result<Option<Local<'env, ObjectArray<Object, Throwable>>>, Local<'env, Throwable>>
Required features: "java-lang-Object"
pub fn add_Object<'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 remove_Object<'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 containsAll<'env>(
&'env self,
arg0: impl Into<Option<&'env Collection>>
) -> Result<bool, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env Collection>>
) -> Result<bool, Local<'env, Throwable>>
Required features: "java-util-Collection"
pub fn addAll_Collection<'env>(
&'env self,
arg0: impl Into<Option<&'env Collection>>
) -> Result<bool, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env Collection>>
) -> Result<bool, Local<'env, Throwable>>
Required features: "java-util-Collection"
pub fn addAll_int_Collection<'env>(
&'env self,
arg0: i32,
arg1: impl Into<Option<&'env Collection>>
) -> Result<bool, Local<'env, Throwable>>
[src]
&'env self,
arg0: i32,
arg1: impl Into<Option<&'env Collection>>
) -> Result<bool, Local<'env, Throwable>>
Required features: "java-util-Collection"
pub fn removeAll<'env>(
&'env self,
arg0: impl Into<Option<&'env Collection>>
) -> Result<bool, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env Collection>>
) -> Result<bool, Local<'env, Throwable>>
Required features: "java-util-Collection"
pub fn retainAll<'env>(
&'env self,
arg0: impl Into<Option<&'env Collection>>
) -> Result<bool, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env Collection>>
) -> Result<bool, Local<'env, Throwable>>
Required features: "java-util-Collection"
pub fn replaceAll<'env>(
&'env self,
arg0: impl Into<Option<&'env UnaryOperator>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env UnaryOperator>>
) -> Result<(), Local<'env, Throwable>>
Required features: "java-util-function-UnaryOperator"
pub fn sort<'env>(
&'env self,
arg0: impl Into<Option<&'env Comparator>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env Comparator>>
) -> Result<(), Local<'env, Throwable>>
Required features: "java-util-Comparator"
pub fn clear<'env>(&'env self) -> Result<(), Local<'env, Throwable>>
[src]
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 hashCode<'env>(&'env self) -> Result<i32, Local<'env, Throwable>>
[src]
pub fn get<'env>(
&'env self,
arg0: i32
) -> Result<Option<Local<'env, Object>>, Local<'env, Throwable>>
[src]
&'env self,
arg0: i32
) -> Result<Option<Local<'env, Object>>, Local<'env, Throwable>>
Required features: "java-lang-Object"
pub fn set<'env>(
&'env self,
arg0: i32,
arg1: impl Into<Option<&'env Object>>
) -> Result<Option<Local<'env, Object>>, Local<'env, Throwable>>
[src]
&'env self,
arg0: i32,
arg1: impl Into<Option<&'env Object>>
) -> Result<Option<Local<'env, Object>>, Local<'env, Throwable>>
Required features: "java-lang-Object"
pub fn add_int_Object<'env>(
&'env self,
arg0: i32,
arg1: impl Into<Option<&'env Object>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: i32,
arg1: impl Into<Option<&'env Object>>
) -> Result<(), Local<'env, Throwable>>
Required features: "java-lang-Object"
pub fn remove_int<'env>(
&'env self,
arg0: i32
) -> Result<Option<Local<'env, Object>>, Local<'env, Throwable>>
[src]
&'env self,
arg0: i32
) -> Result<Option<Local<'env, Object>>, Local<'env, Throwable>>
Required features: "java-lang-Object"
pub fn indexOf<'env>(
&'env self,
arg0: impl Into<Option<&'env Object>>
) -> Result<i32, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env Object>>
) -> Result<i32, Local<'env, Throwable>>
Required features: "java-lang-Object"
pub fn lastIndexOf<'env>(
&'env self,
arg0: impl Into<Option<&'env Object>>
) -> Result<i32, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env Object>>
) -> Result<i32, Local<'env, Throwable>>
Required features: "java-lang-Object"
pub fn listIterator<'env>(
&'env self
) -> Result<Option<Local<'env, ListIterator>>, Local<'env, Throwable>>
[src]
&'env self
) -> Result<Option<Local<'env, ListIterator>>, Local<'env, Throwable>>
Required features: "java-util-ListIterator"
pub fn listIterator_int<'env>(
&'env self,
arg0: i32
) -> Result<Option<Local<'env, ListIterator>>, Local<'env, Throwable>>
[src]
&'env self,
arg0: i32
) -> Result<Option<Local<'env, ListIterator>>, Local<'env, Throwable>>
Required features: "java-util-ListIterator"
pub fn subList<'env>(
&'env self,
arg0: i32,
arg1: i32
) -> Result<Option<Local<'env, List>>, Local<'env, Throwable>>
[src]
&'env self,
arg0: i32,
arg1: i32
) -> Result<Option<Local<'env, List>>, Local<'env, Throwable>>
Required features: "java-util-List"
pub fn spliterator<'env>(
&'env self
) -> Result<Option<Local<'env, Spliterator>>, Local<'env, Throwable>>
[src]
&'env self
) -> Result<Option<Local<'env, Spliterator>>, Local<'env, Throwable>>
Required features: "java-util-Spliterator"
Methods from Deref<Target = Object>
pub fn getClass<'env>(
&'env self
) -> Result<Option<Local<'env, Class>>, Local<'env, Throwable>>
[src]
&'env self
) -> Result<Option<Local<'env, Class>>, Local<'env, Throwable>>
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]
&'env self,
arg0: impl Into<Option<&'env Object>>
) -> Result<bool, Local<'env, Throwable>>
Required features: "java-lang-Object"
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 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]
&'env self,
arg0: i64
) -> Result<(), Local<'env, Throwable>>
pub fn wait_long_int<'env>(
&'env self,
arg0: i64,
arg1: i32
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: i64,
arg1: i32
) -> Result<(), Local<'env, Throwable>>
pub fn wait<'env>(&'env self) -> Result<(), Local<'env, Throwable>>
[src]
Trait Implementations
impl AsJValue for List
impl AsRef<Collection> for List
fn as_ref(&self) -> &Collection
impl AsRef<List> for CopyOnWriteArrayList
impl AsRef<List> for AbstractList
impl AsRef<List> for ArrayList
impl AsRef<List> for LinkedList
impl AsRef<List> for Vector
impl AsValidJObjectAndEnv for List
impl Deref for List
impl JniType for List
fn static_with_jni_type<R>(callback: impl FnOnce(&str) -> R) -> R
Auto Trait Implementations
impl RefUnwindSafe for List
impl !Send for List
impl !Sync for List
impl Unpin for List
impl UnwindSafe for List
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>,