[]Struct jni_android_sys::java::util::Collections

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

public class Collections

Required feature: "java-util-Collections"

Methods

impl Collections

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

sort

Required features: "java-util-List"

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

sort

Required features: "java-util-Comparator", "java-util-List"

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

binarySearch

Required features: "java-lang-Object", "java-util-List"

pub fn binarySearch_List_Object_Comparator<'env>(
    __jni_env: &'env Env,
    arg0: impl Into<Option<&'env List>>,
    arg1: impl Into<Option<&'env Object>>,
    arg2: impl Into<Option<&'env Comparator>>
) -> Result<i32, Local<'env, Throwable>>
[src]

binarySearch

Required features: "java-lang-Object", "java-util-Comparator", "java-util-List"

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

reverse

Required features: "java-util-List"

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

shuffle

Required features: "java-util-List"

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

shuffle

Required features: "java-util-List", "java-util-Random"

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

swap

Required features: "java-util-List"

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

fill

Required features: "java-lang-Object", "java-util-List"

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

copy

Required features: "java-util-List"

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

min

Required features: "java-lang-Object", "java-util-Collection"

pub fn min_Collection_Comparator<'env>(
    __jni_env: &'env Env,
    arg0: impl Into<Option<&'env Collection>>,
    arg1: impl Into<Option<&'env Comparator>>
) -> Result<Option<Local<'env, Object>>, Local<'env, Throwable>>
[src]

min

Required features: "java-lang-Object", "java-util-Collection", "java-util-Comparator"

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

max

Required features: "java-lang-Object", "java-util-Collection"

pub fn max_Collection_Comparator<'env>(
    __jni_env: &'env Env,
    arg0: impl Into<Option<&'env Collection>>,
    arg1: impl Into<Option<&'env Comparator>>
) -> Result<Option<Local<'env, Object>>, Local<'env, Throwable>>
[src]

max

Required features: "java-lang-Object", "java-util-Collection", "java-util-Comparator"

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

rotate

Required features: "java-util-List"

pub fn replaceAll<'env>(
    __jni_env: &'env Env,
    arg0: impl Into<Option<&'env List>>,
    arg1: impl Into<Option<&'env Object>>,
    arg2: impl Into<Option<&'env Object>>
) -> Result<bool, Local<'env, Throwable>>
[src]

replaceAll

Required features: "java-lang-Object", "java-util-List"

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

indexOfSubList

Required features: "java-util-List"

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

lastIndexOfSubList

Required features: "java-util-List"

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

unmodifiableCollection

Required features: "java-util-Collection"

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

unmodifiableSet

Required features: "java-util-Set"

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

unmodifiableSortedSet

Required features: "java-util-SortedSet"

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

unmodifiableNavigableSet

Required features: "java-util-NavigableSet"

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

unmodifiableList

Required features: "java-util-List"

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

unmodifiableMap

Required features: "java-util-Map"

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

unmodifiableSortedMap

Required features: "java-util-SortedMap"

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

unmodifiableNavigableMap

Required features: "java-util-NavigableMap"

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

synchronizedCollection

Required features: "java-util-Collection"

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

synchronizedSet

Required features: "java-util-Set"

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

synchronizedSortedSet

Required features: "java-util-SortedSet"

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

synchronizedNavigableSet

Required features: "java-util-NavigableSet"

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

synchronizedList

Required features: "java-util-List"

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

synchronizedMap

Required features: "java-util-Map"

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

synchronizedSortedMap

Required features: "java-util-SortedMap"

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

synchronizedNavigableMap

Required features: "java-util-NavigableMap"

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

checkedCollection

Required features: "java-lang-Class", "java-util-Collection"

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

checkedQueue

Required features: "java-lang-Class", "java-util-Queue"

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

checkedSet

Required features: "java-lang-Class", "java-util-Set"

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

checkedSortedSet

Required features: "java-lang-Class", "java-util-SortedSet"

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

checkedNavigableSet

Required features: "java-lang-Class", "java-util-NavigableSet"

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

checkedList

Required features: "java-lang-Class", "java-util-List"

pub fn checkedMap<'env>(
    __jni_env: &'env Env,
    arg0: impl Into<Option<&'env Map>>,
    arg1: impl Into<Option<&'env Class>>,
    arg2: impl Into<Option<&'env Class>>
) -> Result<Option<Local<'env, Map>>, Local<'env, Throwable>>
[src]

checkedMap

Required features: "java-lang-Class", "java-util-Map"

pub fn checkedSortedMap<'env>(
    __jni_env: &'env Env,
    arg0: impl Into<Option<&'env SortedMap>>,
    arg1: impl Into<Option<&'env Class>>,
    arg2: impl Into<Option<&'env Class>>
) -> Result<Option<Local<'env, SortedMap>>, Local<'env, Throwable>>
[src]

checkedSortedMap

Required features: "java-lang-Class", "java-util-SortedMap"

pub fn checkedNavigableMap<'env>(
    __jni_env: &'env Env,
    arg0: impl Into<Option<&'env NavigableMap>>,
    arg1: impl Into<Option<&'env Class>>,
    arg2: impl Into<Option<&'env Class>>
) -> Result<Option<Local<'env, NavigableMap>>, Local<'env, Throwable>>
[src]

checkedNavigableMap

Required features: "java-lang-Class", "java-util-NavigableMap"

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

emptyIterator

Required features: "java-util-Iterator"

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

emptyListIterator

Required features: "java-util-ListIterator"

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

emptyEnumeration

Required features: "java-util-Enumeration"

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

emptySet

Required features: "java-util-Set"

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

emptySortedSet

Required features: "java-util-SortedSet"

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

emptyNavigableSet

Required features: "java-util-NavigableSet"

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

emptyList

Required features: "java-util-List"

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

emptyMap

Required features: "java-util-Map"

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

emptySortedMap

Required features: "java-util-SortedMap"

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

emptyNavigableMap

Required features: "java-util-NavigableMap"

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

singleton

Required features: "java-lang-Object", "java-util-Set"

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

singletonList

Required features: "java-lang-Object", "java-util-List"

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

singletonMap

Required features: "java-lang-Object", "java-util-Map"

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

nCopies

Required features: "java-lang-Object", "java-util-List"

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

reverseOrder

Required features: "java-util-Comparator"

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

reverseOrder

Required features: "java-util-Comparator"

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

enumeration

Required features: "java-util-Collection", "java-util-Enumeration"

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

list

Required features: "java-util-ArrayList", "java-util-Enumeration"

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

frequency

Required features: "java-lang-Object", "java-util-Collection"

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

disjoint

Required features: "java-util-Collection"

pub fn addAll<'env>(
    __jni_env: &'env Env,
    arg0: impl Into<Option<&'env Collection>>,
    arg1: impl Into<Option<&'env ObjectArray<Object, Throwable>>>
) -> Result<bool, Local<'env, Throwable>>
[src]

addAll

Required features: "java-lang-Object", "java-util-Collection"

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

newSetFromMap

Required features: "java-util-Map", "java-util-Set"

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

asLifoQueue

Required features: "java-util-Deque", "java-util-Queue"

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

get public static final EMPTY_LIST

Required feature: "java-util-List"

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

get public static final EMPTY_MAP

Required feature: "java-util-Map"

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

get public static final EMPTY_SET

Required feature: "java-util-Set"

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 Collections

impl AsValidJObjectAndEnv for Collections

impl Deref for Collections

type Target = Object

The resulting type after dereferencing.

impl JniType for Collections

Auto Trait Implementations

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.