// WARNING: This file was autogenerated by jni-bindgen. Any changes to this file may be lost!!!
#[cfg(any(feature = "all", feature = "java-util-concurrent-ConcurrentHashMap"))]
__jni_bindgen! {
/// public class [ConcurrentHashMap](https://developer.android.com/reference/java/util/concurrent/ConcurrentHashMap.html)
///
/// Required feature: "java-util-concurrent-ConcurrentHashMap"
public class ConcurrentHashMap ("java/util/concurrent/ConcurrentHashMap") extends crate::java::util::AbstractMap, implements crate::java::util::concurrent::ConcurrentMap, crate::java::io::Serializable {
/// [ConcurrentHashMap](https://developer.android.com/reference/java/util/concurrent/ConcurrentHashMap.html#ConcurrentHashMap())
pub fn new<'env>(__jni_env: &'env __jni_bindgen::Env) -> __jni_bindgen::std::result::Result<__jni_bindgen::Local<'env, crate::java::util::concurrent::ConcurrentHashMap>, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "java/util/concurrent/ConcurrentHashMap", java.flags == PUBLIC, .name == "<init>", .descriptor == "()V"
unsafe {
let __jni_args = [];
let (__jni_class, __jni_method) = __jni_env.require_class_method("java/util/concurrent/ConcurrentHashMap\0", "<init>\0", "()V\0");
__jni_env.new_object_a(__jni_class, __jni_method, __jni_args.as_ptr())
}
}
/// [ConcurrentHashMap](https://developer.android.com/reference/java/util/concurrent/ConcurrentHashMap.html#ConcurrentHashMap(int))
pub fn new_int<'env>(__jni_env: &'env __jni_bindgen::Env, arg0: i32) -> __jni_bindgen::std::result::Result<__jni_bindgen::Local<'env, crate::java::util::concurrent::ConcurrentHashMap>, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "java/util/concurrent/ConcurrentHashMap", java.flags == PUBLIC, .name == "<init>", .descriptor == "(I)V"
unsafe {
let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0)];
let (__jni_class, __jni_method) = __jni_env.require_class_method("java/util/concurrent/ConcurrentHashMap\0", "<init>\0", "(I)V\0");
__jni_env.new_object_a(__jni_class, __jni_method, __jni_args.as_ptr())
}
}
/// [ConcurrentHashMap](https://developer.android.com/reference/java/util/concurrent/ConcurrentHashMap.html#ConcurrentHashMap(java.util.Map))
///
/// Required features: "java-util-Map"
#[cfg(any(feature = "all", all(feature = "java-util-Map")))]
pub fn new_Map<'env>(__jni_env: &'env __jni_bindgen::Env, arg0: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::java::util::Map>>) -> __jni_bindgen::std::result::Result<__jni_bindgen::Local<'env, crate::java::util::concurrent::ConcurrentHashMap>, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "java/util/concurrent/ConcurrentHashMap", java.flags == PUBLIC, .name == "<init>", .descriptor == "(Ljava/util/Map;)V"
unsafe {
let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0.into())];
let (__jni_class, __jni_method) = __jni_env.require_class_method("java/util/concurrent/ConcurrentHashMap\0", "<init>\0", "(Ljava/util/Map;)V\0");
__jni_env.new_object_a(__jni_class, __jni_method, __jni_args.as_ptr())
}
}
/// [ConcurrentHashMap](https://developer.android.com/reference/java/util/concurrent/ConcurrentHashMap.html#ConcurrentHashMap(int,%20float))
pub fn new_int_float<'env>(__jni_env: &'env __jni_bindgen::Env, arg0: i32, arg1: f32) -> __jni_bindgen::std::result::Result<__jni_bindgen::Local<'env, crate::java::util::concurrent::ConcurrentHashMap>, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "java/util/concurrent/ConcurrentHashMap", java.flags == PUBLIC, .name == "<init>", .descriptor == "(IF)V"
unsafe {
let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0), __jni_bindgen::AsJValue::as_jvalue(&arg1)];
let (__jni_class, __jni_method) = __jni_env.require_class_method("java/util/concurrent/ConcurrentHashMap\0", "<init>\0", "(IF)V\0");
__jni_env.new_object_a(__jni_class, __jni_method, __jni_args.as_ptr())
}
}
/// [ConcurrentHashMap](https://developer.android.com/reference/java/util/concurrent/ConcurrentHashMap.html#ConcurrentHashMap(int,%20float,%20int))
pub fn new_int_float_int<'env>(__jni_env: &'env __jni_bindgen::Env, arg0: i32, arg1: f32, arg2: i32) -> __jni_bindgen::std::result::Result<__jni_bindgen::Local<'env, crate::java::util::concurrent::ConcurrentHashMap>, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "java/util/concurrent/ConcurrentHashMap", java.flags == PUBLIC, .name == "<init>", .descriptor == "(IFI)V"
unsafe {
let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0), __jni_bindgen::AsJValue::as_jvalue(&arg1), __jni_bindgen::AsJValue::as_jvalue(&arg2)];
let (__jni_class, __jni_method) = __jni_env.require_class_method("java/util/concurrent/ConcurrentHashMap\0", "<init>\0", "(IFI)V\0");
__jni_env.new_object_a(__jni_class, __jni_method, __jni_args.as_ptr())
}
}
/// [size](https://developer.android.com/reference/java/util/concurrent/ConcurrentHashMap.html#size())
pub fn size<'env>(&'env self) -> __jni_bindgen::std::result::Result<i32, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "java/util/concurrent/ConcurrentHashMap", java.flags == PUBLIC, .name == "size", .descriptor == "()I"
unsafe {
let __jni_args = [];
let __jni_env = __jni_bindgen::Env::from_ptr(self.0.env);
let (__jni_class, __jni_method) = __jni_env.require_class_method("java/util/concurrent/ConcurrentHashMap\0", "size\0", "()I\0");
__jni_env.call_int_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
/// [isEmpty](https://developer.android.com/reference/java/util/concurrent/ConcurrentHashMap.html#isEmpty())
pub fn isEmpty<'env>(&'env self) -> __jni_bindgen::std::result::Result<bool, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "java/util/concurrent/ConcurrentHashMap", java.flags == PUBLIC, .name == "isEmpty", .descriptor == "()Z"
unsafe {
let __jni_args = [];
let __jni_env = __jni_bindgen::Env::from_ptr(self.0.env);
let (__jni_class, __jni_method) = __jni_env.require_class_method("java/util/concurrent/ConcurrentHashMap\0", "isEmpty\0", "()Z\0");
__jni_env.call_boolean_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
/// [get](https://developer.android.com/reference/java/util/concurrent/ConcurrentHashMap.html#get(java.lang.Object))
///
/// Required features: "java-lang-Object"
#[cfg(any(feature = "all", all(feature = "java-lang-Object")))]
pub fn get<'env>(&'env self, arg0: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::java::lang::Object>>) -> __jni_bindgen::std::result::Result<__jni_bindgen::std::option::Option<__jni_bindgen::Local<'env, crate::java::lang::Object>>, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "java/util/concurrent/ConcurrentHashMap", java.flags == PUBLIC, .name == "get", .descriptor == "(Ljava/lang/Object;)Ljava/lang/Object;"
unsafe {
let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0.into())];
let __jni_env = __jni_bindgen::Env::from_ptr(self.0.env);
let (__jni_class, __jni_method) = __jni_env.require_class_method("java/util/concurrent/ConcurrentHashMap\0", "get\0", "(Ljava/lang/Object;)Ljava/lang/Object;\0");
__jni_env.call_object_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
/// [containsKey](https://developer.android.com/reference/java/util/concurrent/ConcurrentHashMap.html#containsKey(java.lang.Object))
///
/// Required features: "java-lang-Object"
#[cfg(any(feature = "all", all(feature = "java-lang-Object")))]
pub fn containsKey<'env>(&'env self, arg0: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::java::lang::Object>>) -> __jni_bindgen::std::result::Result<bool, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "java/util/concurrent/ConcurrentHashMap", java.flags == PUBLIC, .name == "containsKey", .descriptor == "(Ljava/lang/Object;)Z"
unsafe {
let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0.into())];
let __jni_env = __jni_bindgen::Env::from_ptr(self.0.env);
let (__jni_class, __jni_method) = __jni_env.require_class_method("java/util/concurrent/ConcurrentHashMap\0", "containsKey\0", "(Ljava/lang/Object;)Z\0");
__jni_env.call_boolean_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
/// [containsValue](https://developer.android.com/reference/java/util/concurrent/ConcurrentHashMap.html#containsValue(java.lang.Object))
///
/// Required features: "java-lang-Object"
#[cfg(any(feature = "all", all(feature = "java-lang-Object")))]
pub fn containsValue<'env>(&'env self, arg0: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::java::lang::Object>>) -> __jni_bindgen::std::result::Result<bool, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "java/util/concurrent/ConcurrentHashMap", java.flags == PUBLIC, .name == "containsValue", .descriptor == "(Ljava/lang/Object;)Z"
unsafe {
let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0.into())];
let __jni_env = __jni_bindgen::Env::from_ptr(self.0.env);
let (__jni_class, __jni_method) = __jni_env.require_class_method("java/util/concurrent/ConcurrentHashMap\0", "containsValue\0", "(Ljava/lang/Object;)Z\0");
__jni_env.call_boolean_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
/// [put](https://developer.android.com/reference/java/util/concurrent/ConcurrentHashMap.html#put(java.lang.Object,%20java.lang.Object))
///
/// Required features: "java-lang-Object"
#[cfg(any(feature = "all", all(feature = "java-lang-Object")))]
pub fn put<'env>(&'env self, arg0: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::java::lang::Object>>, arg1: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::java::lang::Object>>) -> __jni_bindgen::std::result::Result<__jni_bindgen::std::option::Option<__jni_bindgen::Local<'env, crate::java::lang::Object>>, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "java/util/concurrent/ConcurrentHashMap", java.flags == PUBLIC, .name == "put", .descriptor == "(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;"
unsafe {
let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0.into()), __jni_bindgen::AsJValue::as_jvalue(&arg1.into())];
let __jni_env = __jni_bindgen::Env::from_ptr(self.0.env);
let (__jni_class, __jni_method) = __jni_env.require_class_method("java/util/concurrent/ConcurrentHashMap\0", "put\0", "(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;\0");
__jni_env.call_object_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
/// [putAll](https://developer.android.com/reference/java/util/concurrent/ConcurrentHashMap.html#putAll(java.util.Map))
///
/// Required features: "java-util-Map"
#[cfg(any(feature = "all", all(feature = "java-util-Map")))]
pub fn putAll<'env>(&'env self, arg0: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::java::util::Map>>) -> __jni_bindgen::std::result::Result<(), __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "java/util/concurrent/ConcurrentHashMap", java.flags == PUBLIC, .name == "putAll", .descriptor == "(Ljava/util/Map;)V"
unsafe {
let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0.into())];
let __jni_env = __jni_bindgen::Env::from_ptr(self.0.env);
let (__jni_class, __jni_method) = __jni_env.require_class_method("java/util/concurrent/ConcurrentHashMap\0", "putAll\0", "(Ljava/util/Map;)V\0");
__jni_env.call_void_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
/// [remove](https://developer.android.com/reference/java/util/concurrent/ConcurrentHashMap.html#remove(java.lang.Object))
///
/// Required features: "java-lang-Object"
#[cfg(any(feature = "all", all(feature = "java-lang-Object")))]
pub fn remove_Object<'env>(&'env self, arg0: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::java::lang::Object>>) -> __jni_bindgen::std::result::Result<__jni_bindgen::std::option::Option<__jni_bindgen::Local<'env, crate::java::lang::Object>>, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "java/util/concurrent/ConcurrentHashMap", java.flags == PUBLIC, .name == "remove", .descriptor == "(Ljava/lang/Object;)Ljava/lang/Object;"
unsafe {
let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0.into())];
let __jni_env = __jni_bindgen::Env::from_ptr(self.0.env);
let (__jni_class, __jni_method) = __jni_env.require_class_method("java/util/concurrent/ConcurrentHashMap\0", "remove\0", "(Ljava/lang/Object;)Ljava/lang/Object;\0");
__jni_env.call_object_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
/// [clear](https://developer.android.com/reference/java/util/concurrent/ConcurrentHashMap.html#clear())
pub fn clear<'env>(&'env self) -> __jni_bindgen::std::result::Result<(), __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "java/util/concurrent/ConcurrentHashMap", java.flags == PUBLIC, .name == "clear", .descriptor == "()V"
unsafe {
let __jni_args = [];
let __jni_env = __jni_bindgen::Env::from_ptr(self.0.env);
let (__jni_class, __jni_method) = __jni_env.require_class_method("java/util/concurrent/ConcurrentHashMap\0", "clear\0", "()V\0");
__jni_env.call_void_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
/// [keySet](https://developer.android.com/reference/java/util/concurrent/ConcurrentHashMap.html#keySet())
///
/// Required features: "java-util-Set"
#[cfg(any(feature = "all", all(feature = "java-util-Set")))]
pub fn keySet<'env>(&'env self) -> __jni_bindgen::std::result::Result<__jni_bindgen::std::option::Option<__jni_bindgen::Local<'env, crate::java::util::Set>>, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "java/util/concurrent/ConcurrentHashMap", java.flags == PUBLIC, .name == "keySet", .descriptor == "()Ljava/util/Set;"
unsafe {
let __jni_args = [];
let __jni_env = __jni_bindgen::Env::from_ptr(self.0.env);
let (__jni_class, __jni_method) = __jni_env.require_class_method("java/util/concurrent/ConcurrentHashMap\0", "keySet\0", "()Ljava/util/Set;\0");
__jni_env.call_object_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
/// [values](https://developer.android.com/reference/java/util/concurrent/ConcurrentHashMap.html#values())
///
/// Required features: "java-util-Collection"
#[cfg(any(feature = "all", all(feature = "java-util-Collection")))]
pub fn values<'env>(&'env self) -> __jni_bindgen::std::result::Result<__jni_bindgen::std::option::Option<__jni_bindgen::Local<'env, crate::java::util::Collection>>, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "java/util/concurrent/ConcurrentHashMap", java.flags == PUBLIC, .name == "values", .descriptor == "()Ljava/util/Collection;"
unsafe {
let __jni_args = [];
let __jni_env = __jni_bindgen::Env::from_ptr(self.0.env);
let (__jni_class, __jni_method) = __jni_env.require_class_method("java/util/concurrent/ConcurrentHashMap\0", "values\0", "()Ljava/util/Collection;\0");
__jni_env.call_object_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
/// [entrySet](https://developer.android.com/reference/java/util/concurrent/ConcurrentHashMap.html#entrySet())
///
/// Required features: "java-util-Set"
#[cfg(any(feature = "all", all(feature = "java-util-Set")))]
pub fn entrySet<'env>(&'env self) -> __jni_bindgen::std::result::Result<__jni_bindgen::std::option::Option<__jni_bindgen::Local<'env, crate::java::util::Set>>, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "java/util/concurrent/ConcurrentHashMap", java.flags == PUBLIC, .name == "entrySet", .descriptor == "()Ljava/util/Set;"
unsafe {
let __jni_args = [];
let __jni_env = __jni_bindgen::Env::from_ptr(self.0.env);
let (__jni_class, __jni_method) = __jni_env.require_class_method("java/util/concurrent/ConcurrentHashMap\0", "entrySet\0", "()Ljava/util/Set;\0");
__jni_env.call_object_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
/// [hashCode](https://developer.android.com/reference/java/util/concurrent/ConcurrentHashMap.html#hashCode())
pub fn hashCode<'env>(&'env self) -> __jni_bindgen::std::result::Result<i32, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "java/util/concurrent/ConcurrentHashMap", java.flags == PUBLIC, .name == "hashCode", .descriptor == "()I"
unsafe {
let __jni_args = [];
let __jni_env = __jni_bindgen::Env::from_ptr(self.0.env);
let (__jni_class, __jni_method) = __jni_env.require_class_method("java/util/concurrent/ConcurrentHashMap\0", "hashCode\0", "()I\0");
__jni_env.call_int_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
/// [toString](https://developer.android.com/reference/java/util/concurrent/ConcurrentHashMap.html#toString())
///
/// Required features: "java-lang-String"
#[cfg(any(feature = "all", all(feature = "java-lang-String")))]
pub fn toString<'env>(&'env self) -> __jni_bindgen::std::result::Result<__jni_bindgen::std::option::Option<__jni_bindgen::Local<'env, crate::java::lang::String>>, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "java/util/concurrent/ConcurrentHashMap", java.flags == PUBLIC, .name == "toString", .descriptor == "()Ljava/lang/String;"
unsafe {
let __jni_args = [];
let __jni_env = __jni_bindgen::Env::from_ptr(self.0.env);
let (__jni_class, __jni_method) = __jni_env.require_class_method("java/util/concurrent/ConcurrentHashMap\0", "toString\0", "()Ljava/lang/String;\0");
__jni_env.call_object_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
/// [equals](https://developer.android.com/reference/java/util/concurrent/ConcurrentHashMap.html#equals(java.lang.Object))
///
/// Required features: "java-lang-Object"
#[cfg(any(feature = "all", all(feature = "java-lang-Object")))]
pub fn equals<'env>(&'env self, arg0: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::java::lang::Object>>) -> __jni_bindgen::std::result::Result<bool, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "java/util/concurrent/ConcurrentHashMap", java.flags == PUBLIC, .name == "equals", .descriptor == "(Ljava/lang/Object;)Z"
unsafe {
let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0.into())];
let __jni_env = __jni_bindgen::Env::from_ptr(self.0.env);
let (__jni_class, __jni_method) = __jni_env.require_class_method("java/util/concurrent/ConcurrentHashMap\0", "equals\0", "(Ljava/lang/Object;)Z\0");
__jni_env.call_boolean_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
/// [putIfAbsent](https://developer.android.com/reference/java/util/concurrent/ConcurrentHashMap.html#putIfAbsent(java.lang.Object,%20java.lang.Object))
///
/// Required features: "java-lang-Object"
#[cfg(any(feature = "all", all(feature = "java-lang-Object")))]
pub fn putIfAbsent<'env>(&'env self, arg0: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::java::lang::Object>>, arg1: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::java::lang::Object>>) -> __jni_bindgen::std::result::Result<__jni_bindgen::std::option::Option<__jni_bindgen::Local<'env, crate::java::lang::Object>>, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "java/util/concurrent/ConcurrentHashMap", java.flags == PUBLIC, .name == "putIfAbsent", .descriptor == "(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;"
unsafe {
let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0.into()), __jni_bindgen::AsJValue::as_jvalue(&arg1.into())];
let __jni_env = __jni_bindgen::Env::from_ptr(self.0.env);
let (__jni_class, __jni_method) = __jni_env.require_class_method("java/util/concurrent/ConcurrentHashMap\0", "putIfAbsent\0", "(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;\0");
__jni_env.call_object_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
/// [remove](https://developer.android.com/reference/java/util/concurrent/ConcurrentHashMap.html#remove(java.lang.Object,%20java.lang.Object))
///
/// Required features: "java-lang-Object"
#[cfg(any(feature = "all", all(feature = "java-lang-Object")))]
pub fn remove_Object_Object<'env>(&'env self, arg0: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::java::lang::Object>>, arg1: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::java::lang::Object>>) -> __jni_bindgen::std::result::Result<bool, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "java/util/concurrent/ConcurrentHashMap", java.flags == PUBLIC, .name == "remove", .descriptor == "(Ljava/lang/Object;Ljava/lang/Object;)Z"
unsafe {
let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0.into()), __jni_bindgen::AsJValue::as_jvalue(&arg1.into())];
let __jni_env = __jni_bindgen::Env::from_ptr(self.0.env);
let (__jni_class, __jni_method) = __jni_env.require_class_method("java/util/concurrent/ConcurrentHashMap\0", "remove\0", "(Ljava/lang/Object;Ljava/lang/Object;)Z\0");
__jni_env.call_boolean_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
/// [replace](https://developer.android.com/reference/java/util/concurrent/ConcurrentHashMap.html#replace(java.lang.Object,%20java.lang.Object,%20java.lang.Object))
///
/// Required features: "java-lang-Object"
#[cfg(any(feature = "all", all(feature = "java-lang-Object")))]
pub fn replace_Object_Object_Object<'env>(&'env self, arg0: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::java::lang::Object>>, arg1: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::java::lang::Object>>, arg2: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::java::lang::Object>>) -> __jni_bindgen::std::result::Result<bool, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "java/util/concurrent/ConcurrentHashMap", java.flags == PUBLIC, .name == "replace", .descriptor == "(Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;)Z"
unsafe {
let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0.into()), __jni_bindgen::AsJValue::as_jvalue(&arg1.into()), __jni_bindgen::AsJValue::as_jvalue(&arg2.into())];
let __jni_env = __jni_bindgen::Env::from_ptr(self.0.env);
let (__jni_class, __jni_method) = __jni_env.require_class_method("java/util/concurrent/ConcurrentHashMap\0", "replace\0", "(Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;)Z\0");
__jni_env.call_boolean_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
/// [replace](https://developer.android.com/reference/java/util/concurrent/ConcurrentHashMap.html#replace(java.lang.Object,%20java.lang.Object))
///
/// Required features: "java-lang-Object"
#[cfg(any(feature = "all", all(feature = "java-lang-Object")))]
pub fn replace_Object_Object<'env>(&'env self, arg0: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::java::lang::Object>>, arg1: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::java::lang::Object>>) -> __jni_bindgen::std::result::Result<__jni_bindgen::std::option::Option<__jni_bindgen::Local<'env, crate::java::lang::Object>>, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "java/util/concurrent/ConcurrentHashMap", java.flags == PUBLIC, .name == "replace", .descriptor == "(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;"
unsafe {
let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0.into()), __jni_bindgen::AsJValue::as_jvalue(&arg1.into())];
let __jni_env = __jni_bindgen::Env::from_ptr(self.0.env);
let (__jni_class, __jni_method) = __jni_env.require_class_method("java/util/concurrent/ConcurrentHashMap\0", "replace\0", "(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;\0");
__jni_env.call_object_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
/// [getOrDefault](https://developer.android.com/reference/java/util/concurrent/ConcurrentHashMap.html#getOrDefault(java.lang.Object,%20java.lang.Object))
///
/// Required features: "java-lang-Object"
#[cfg(any(feature = "all", all(feature = "java-lang-Object")))]
pub fn getOrDefault<'env>(&'env self, arg0: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::java::lang::Object>>, arg1: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::java::lang::Object>>) -> __jni_bindgen::std::result::Result<__jni_bindgen::std::option::Option<__jni_bindgen::Local<'env, crate::java::lang::Object>>, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "java/util/concurrent/ConcurrentHashMap", java.flags == PUBLIC, .name == "getOrDefault", .descriptor == "(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;"
unsafe {
let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0.into()), __jni_bindgen::AsJValue::as_jvalue(&arg1.into())];
let __jni_env = __jni_bindgen::Env::from_ptr(self.0.env);
let (__jni_class, __jni_method) = __jni_env.require_class_method("java/util/concurrent/ConcurrentHashMap\0", "getOrDefault\0", "(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;\0");
__jni_env.call_object_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
/// [forEach](https://developer.android.com/reference/java/util/concurrent/ConcurrentHashMap.html#forEach(java.util.function.BiConsumer))
///
/// Required features: "java-util-function-BiConsumer"
#[cfg(any(feature = "all", all(feature = "java-util-function-BiConsumer")))]
pub fn forEach_BiConsumer<'env>(&'env self, arg0: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::java::util::function::BiConsumer>>) -> __jni_bindgen::std::result::Result<(), __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "java/util/concurrent/ConcurrentHashMap", java.flags == PUBLIC, .name == "forEach", .descriptor == "(Ljava/util/function/BiConsumer;)V"
unsafe {
let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0.into())];
let __jni_env = __jni_bindgen::Env::from_ptr(self.0.env);
let (__jni_class, __jni_method) = __jni_env.require_class_method("java/util/concurrent/ConcurrentHashMap\0", "forEach\0", "(Ljava/util/function/BiConsumer;)V\0");
__jni_env.call_void_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
/// [replaceAll](https://developer.android.com/reference/java/util/concurrent/ConcurrentHashMap.html#replaceAll(java.util.function.BiFunction))
///
/// Required features: "java-util-function-BiFunction"
#[cfg(any(feature = "all", all(feature = "java-util-function-BiFunction")))]
pub fn replaceAll<'env>(&'env self, arg0: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::java::util::function::BiFunction>>) -> __jni_bindgen::std::result::Result<(), __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "java/util/concurrent/ConcurrentHashMap", java.flags == PUBLIC, .name == "replaceAll", .descriptor == "(Ljava/util/function/BiFunction;)V"
unsafe {
let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0.into())];
let __jni_env = __jni_bindgen::Env::from_ptr(self.0.env);
let (__jni_class, __jni_method) = __jni_env.require_class_method("java/util/concurrent/ConcurrentHashMap\0", "replaceAll\0", "(Ljava/util/function/BiFunction;)V\0");
__jni_env.call_void_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
/// [computeIfAbsent](https://developer.android.com/reference/java/util/concurrent/ConcurrentHashMap.html#computeIfAbsent(java.lang.Object,%20java.util.function.Function))
///
/// Required features: "java-lang-Object", "java-util-function-Function"
#[cfg(any(feature = "all", all(feature = "java-lang-Object", feature = "java-util-function-Function")))]
pub fn computeIfAbsent<'env>(&'env self, arg0: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::java::lang::Object>>, arg1: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::java::util::function::Function>>) -> __jni_bindgen::std::result::Result<__jni_bindgen::std::option::Option<__jni_bindgen::Local<'env, crate::java::lang::Object>>, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "java/util/concurrent/ConcurrentHashMap", java.flags == PUBLIC, .name == "computeIfAbsent", .descriptor == "(Ljava/lang/Object;Ljava/util/function/Function;)Ljava/lang/Object;"
unsafe {
let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0.into()), __jni_bindgen::AsJValue::as_jvalue(&arg1.into())];
let __jni_env = __jni_bindgen::Env::from_ptr(self.0.env);
let (__jni_class, __jni_method) = __jni_env.require_class_method("java/util/concurrent/ConcurrentHashMap\0", "computeIfAbsent\0", "(Ljava/lang/Object;Ljava/util/function/Function;)Ljava/lang/Object;\0");
__jni_env.call_object_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
/// [computeIfPresent](https://developer.android.com/reference/java/util/concurrent/ConcurrentHashMap.html#computeIfPresent(java.lang.Object,%20java.util.function.BiFunction))
///
/// Required features: "java-lang-Object", "java-util-function-BiFunction"
#[cfg(any(feature = "all", all(feature = "java-lang-Object", feature = "java-util-function-BiFunction")))]
pub fn computeIfPresent<'env>(&'env self, arg0: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::java::lang::Object>>, arg1: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::java::util::function::BiFunction>>) -> __jni_bindgen::std::result::Result<__jni_bindgen::std::option::Option<__jni_bindgen::Local<'env, crate::java::lang::Object>>, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "java/util/concurrent/ConcurrentHashMap", java.flags == PUBLIC, .name == "computeIfPresent", .descriptor == "(Ljava/lang/Object;Ljava/util/function/BiFunction;)Ljava/lang/Object;"
unsafe {
let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0.into()), __jni_bindgen::AsJValue::as_jvalue(&arg1.into())];
let __jni_env = __jni_bindgen::Env::from_ptr(self.0.env);
let (__jni_class, __jni_method) = __jni_env.require_class_method("java/util/concurrent/ConcurrentHashMap\0", "computeIfPresent\0", "(Ljava/lang/Object;Ljava/util/function/BiFunction;)Ljava/lang/Object;\0");
__jni_env.call_object_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
/// [compute](https://developer.android.com/reference/java/util/concurrent/ConcurrentHashMap.html#compute(java.lang.Object,%20java.util.function.BiFunction))
///
/// Required features: "java-lang-Object", "java-util-function-BiFunction"
#[cfg(any(feature = "all", all(feature = "java-lang-Object", feature = "java-util-function-BiFunction")))]
pub fn compute<'env>(&'env self, arg0: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::java::lang::Object>>, arg1: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::java::util::function::BiFunction>>) -> __jni_bindgen::std::result::Result<__jni_bindgen::std::option::Option<__jni_bindgen::Local<'env, crate::java::lang::Object>>, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "java/util/concurrent/ConcurrentHashMap", java.flags == PUBLIC, .name == "compute", .descriptor == "(Ljava/lang/Object;Ljava/util/function/BiFunction;)Ljava/lang/Object;"
unsafe {
let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0.into()), __jni_bindgen::AsJValue::as_jvalue(&arg1.into())];
let __jni_env = __jni_bindgen::Env::from_ptr(self.0.env);
let (__jni_class, __jni_method) = __jni_env.require_class_method("java/util/concurrent/ConcurrentHashMap\0", "compute\0", "(Ljava/lang/Object;Ljava/util/function/BiFunction;)Ljava/lang/Object;\0");
__jni_env.call_object_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
/// [merge](https://developer.android.com/reference/java/util/concurrent/ConcurrentHashMap.html#merge(java.lang.Object,%20java.lang.Object,%20java.util.function.BiFunction))
///
/// Required features: "java-lang-Object", "java-util-function-BiFunction"
#[cfg(any(feature = "all", all(feature = "java-lang-Object", feature = "java-util-function-BiFunction")))]
pub fn merge<'env>(&'env self, arg0: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::java::lang::Object>>, arg1: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::java::lang::Object>>, arg2: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::java::util::function::BiFunction>>) -> __jni_bindgen::std::result::Result<__jni_bindgen::std::option::Option<__jni_bindgen::Local<'env, crate::java::lang::Object>>, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "java/util/concurrent/ConcurrentHashMap", java.flags == PUBLIC, .name == "merge", .descriptor == "(Ljava/lang/Object;Ljava/lang/Object;Ljava/util/function/BiFunction;)Ljava/lang/Object;"
unsafe {
let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0.into()), __jni_bindgen::AsJValue::as_jvalue(&arg1.into()), __jni_bindgen::AsJValue::as_jvalue(&arg2.into())];
let __jni_env = __jni_bindgen::Env::from_ptr(self.0.env);
let (__jni_class, __jni_method) = __jni_env.require_class_method("java/util/concurrent/ConcurrentHashMap\0", "merge\0", "(Ljava/lang/Object;Ljava/lang/Object;Ljava/util/function/BiFunction;)Ljava/lang/Object;\0");
__jni_env.call_object_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
/// [contains](https://developer.android.com/reference/java/util/concurrent/ConcurrentHashMap.html#contains(java.lang.Object))
///
/// Required features: "java-lang-Object"
#[cfg(any(feature = "all", all(feature = "java-lang-Object")))]
pub fn contains<'env>(&'env self, arg0: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::java::lang::Object>>) -> __jni_bindgen::std::result::Result<bool, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "java/util/concurrent/ConcurrentHashMap", java.flags == PUBLIC, .name == "contains", .descriptor == "(Ljava/lang/Object;)Z"
unsafe {
let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0.into())];
let __jni_env = __jni_bindgen::Env::from_ptr(self.0.env);
let (__jni_class, __jni_method) = __jni_env.require_class_method("java/util/concurrent/ConcurrentHashMap\0", "contains\0", "(Ljava/lang/Object;)Z\0");
__jni_env.call_boolean_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
/// [keys](https://developer.android.com/reference/java/util/concurrent/ConcurrentHashMap.html#keys())
///
/// Required features: "java-util-Enumeration"
#[cfg(any(feature = "all", all(feature = "java-util-Enumeration")))]
pub fn keys<'env>(&'env self) -> __jni_bindgen::std::result::Result<__jni_bindgen::std::option::Option<__jni_bindgen::Local<'env, crate::java::util::Enumeration>>, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "java/util/concurrent/ConcurrentHashMap", java.flags == PUBLIC, .name == "keys", .descriptor == "()Ljava/util/Enumeration;"
unsafe {
let __jni_args = [];
let __jni_env = __jni_bindgen::Env::from_ptr(self.0.env);
let (__jni_class, __jni_method) = __jni_env.require_class_method("java/util/concurrent/ConcurrentHashMap\0", "keys\0", "()Ljava/util/Enumeration;\0");
__jni_env.call_object_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
/// [elements](https://developer.android.com/reference/java/util/concurrent/ConcurrentHashMap.html#elements())
///
/// Required features: "java-util-Enumeration"
#[cfg(any(feature = "all", all(feature = "java-util-Enumeration")))]
pub fn elements<'env>(&'env self) -> __jni_bindgen::std::result::Result<__jni_bindgen::std::option::Option<__jni_bindgen::Local<'env, crate::java::util::Enumeration>>, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "java/util/concurrent/ConcurrentHashMap", java.flags == PUBLIC, .name == "elements", .descriptor == "()Ljava/util/Enumeration;"
unsafe {
let __jni_args = [];
let __jni_env = __jni_bindgen::Env::from_ptr(self.0.env);
let (__jni_class, __jni_method) = __jni_env.require_class_method("java/util/concurrent/ConcurrentHashMap\0", "elements\0", "()Ljava/util/Enumeration;\0");
__jni_env.call_object_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
/// [mappingCount](https://developer.android.com/reference/java/util/concurrent/ConcurrentHashMap.html#mappingCount())
pub fn mappingCount<'env>(&'env self) -> __jni_bindgen::std::result::Result<i64, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "java/util/concurrent/ConcurrentHashMap", java.flags == PUBLIC, .name == "mappingCount", .descriptor == "()J"
unsafe {
let __jni_args = [];
let __jni_env = __jni_bindgen::Env::from_ptr(self.0.env);
let (__jni_class, __jni_method) = __jni_env.require_class_method("java/util/concurrent/ConcurrentHashMap\0", "mappingCount\0", "()J\0");
__jni_env.call_long_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
/// [newKeySet](https://developer.android.com/reference/java/util/concurrent/ConcurrentHashMap.html#newKeySet())
///
/// Required features: "java-util-concurrent-ConcurrentHashMap_KeySetView"
#[cfg(any(feature = "all", all(feature = "java-util-concurrent-ConcurrentHashMap_KeySetView")))]
pub fn newKeySet<'env>(__jni_env: &'env __jni_bindgen::Env) -> __jni_bindgen::std::result::Result<__jni_bindgen::std::option::Option<__jni_bindgen::Local<'env, crate::java::util::concurrent::ConcurrentHashMap_KeySetView>>, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "java/util/concurrent/ConcurrentHashMap", java.flags == PUBLIC | STATIC, .name == "newKeySet", .descriptor == "()Ljava/util/concurrent/ConcurrentHashMap$KeySetView;"
unsafe {
let __jni_args = [];
let (__jni_class, __jni_method) = __jni_env.require_class_static_method("java/util/concurrent/ConcurrentHashMap\0", "newKeySet\0", "()Ljava/util/concurrent/ConcurrentHashMap$KeySetView;\0");
__jni_env.call_static_object_method_a(__jni_class, __jni_method, __jni_args.as_ptr())
}
}
/// [newKeySet](https://developer.android.com/reference/java/util/concurrent/ConcurrentHashMap.html#newKeySet(int))
///
/// Required features: "java-util-concurrent-ConcurrentHashMap_KeySetView"
#[cfg(any(feature = "all", all(feature = "java-util-concurrent-ConcurrentHashMap_KeySetView")))]
pub fn newKeySet_int<'env>(__jni_env: &'env __jni_bindgen::Env, arg0: i32) -> __jni_bindgen::std::result::Result<__jni_bindgen::std::option::Option<__jni_bindgen::Local<'env, crate::java::util::concurrent::ConcurrentHashMap_KeySetView>>, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "java/util/concurrent/ConcurrentHashMap", java.flags == PUBLIC | STATIC, .name == "newKeySet", .descriptor == "(I)Ljava/util/concurrent/ConcurrentHashMap$KeySetView;"
unsafe {
let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0)];
let (__jni_class, __jni_method) = __jni_env.require_class_static_method("java/util/concurrent/ConcurrentHashMap\0", "newKeySet\0", "(I)Ljava/util/concurrent/ConcurrentHashMap$KeySetView;\0");
__jni_env.call_static_object_method_a(__jni_class, __jni_method, __jni_args.as_ptr())
}
}
/// [keySet](https://developer.android.com/reference/java/util/concurrent/ConcurrentHashMap.html#keySet(java.lang.Object))
///
/// Required features: "java-lang-Object", "java-util-concurrent-ConcurrentHashMap_KeySetView"
#[cfg(any(feature = "all", all(feature = "java-lang-Object", feature = "java-util-concurrent-ConcurrentHashMap_KeySetView")))]
pub fn keySet_Object<'env>(&'env self, arg0: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::java::lang::Object>>) -> __jni_bindgen::std::result::Result<__jni_bindgen::std::option::Option<__jni_bindgen::Local<'env, crate::java::util::concurrent::ConcurrentHashMap_KeySetView>>, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "java/util/concurrent/ConcurrentHashMap", java.flags == PUBLIC, .name == "keySet", .descriptor == "(Ljava/lang/Object;)Ljava/util/concurrent/ConcurrentHashMap$KeySetView;"
unsafe {
let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0.into())];
let __jni_env = __jni_bindgen::Env::from_ptr(self.0.env);
let (__jni_class, __jni_method) = __jni_env.require_class_method("java/util/concurrent/ConcurrentHashMap\0", "keySet\0", "(Ljava/lang/Object;)Ljava/util/concurrent/ConcurrentHashMap$KeySetView;\0");
__jni_env.call_object_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
/// [forEach](https://developer.android.com/reference/java/util/concurrent/ConcurrentHashMap.html#forEach(long,%20java.util.function.BiConsumer))
///
/// Required features: "java-util-function-BiConsumer"
#[cfg(any(feature = "all", all(feature = "java-util-function-BiConsumer")))]
pub fn forEach_long_BiConsumer<'env>(&'env self, arg0: i64, arg1: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::java::util::function::BiConsumer>>) -> __jni_bindgen::std::result::Result<(), __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "java/util/concurrent/ConcurrentHashMap", java.flags == PUBLIC, .name == "forEach", .descriptor == "(JLjava/util/function/BiConsumer;)V"
unsafe {
let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0), __jni_bindgen::AsJValue::as_jvalue(&arg1.into())];
let __jni_env = __jni_bindgen::Env::from_ptr(self.0.env);
let (__jni_class, __jni_method) = __jni_env.require_class_method("java/util/concurrent/ConcurrentHashMap\0", "forEach\0", "(JLjava/util/function/BiConsumer;)V\0");
__jni_env.call_void_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
/// [forEach](https://developer.android.com/reference/java/util/concurrent/ConcurrentHashMap.html#forEach(long,%20java.util.function.BiFunction,%20java.util.function.Consumer))
///
/// Required features: "java-util-function-BiFunction", "java-util-function-Consumer"
#[cfg(any(feature = "all", all(feature = "java-util-function-BiFunction", feature = "java-util-function-Consumer")))]
pub fn forEach_long_BiFunction_Consumer<'env>(&'env self, arg0: i64, arg1: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::java::util::function::BiFunction>>, arg2: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::java::util::function::Consumer>>) -> __jni_bindgen::std::result::Result<(), __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "java/util/concurrent/ConcurrentHashMap", java.flags == PUBLIC, .name == "forEach", .descriptor == "(JLjava/util/function/BiFunction;Ljava/util/function/Consumer;)V"
unsafe {
let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0), __jni_bindgen::AsJValue::as_jvalue(&arg1.into()), __jni_bindgen::AsJValue::as_jvalue(&arg2.into())];
let __jni_env = __jni_bindgen::Env::from_ptr(self.0.env);
let (__jni_class, __jni_method) = __jni_env.require_class_method("java/util/concurrent/ConcurrentHashMap\0", "forEach\0", "(JLjava/util/function/BiFunction;Ljava/util/function/Consumer;)V\0");
__jni_env.call_void_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
/// [search](https://developer.android.com/reference/java/util/concurrent/ConcurrentHashMap.html#search(long,%20java.util.function.BiFunction))
///
/// Required features: "java-lang-Object", "java-util-function-BiFunction"
#[cfg(any(feature = "all", all(feature = "java-lang-Object", feature = "java-util-function-BiFunction")))]
pub fn search<'env>(&'env self, arg0: i64, arg1: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::java::util::function::BiFunction>>) -> __jni_bindgen::std::result::Result<__jni_bindgen::std::option::Option<__jni_bindgen::Local<'env, crate::java::lang::Object>>, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "java/util/concurrent/ConcurrentHashMap", java.flags == PUBLIC, .name == "search", .descriptor == "(JLjava/util/function/BiFunction;)Ljava/lang/Object;"
unsafe {
let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0), __jni_bindgen::AsJValue::as_jvalue(&arg1.into())];
let __jni_env = __jni_bindgen::Env::from_ptr(self.0.env);
let (__jni_class, __jni_method) = __jni_env.require_class_method("java/util/concurrent/ConcurrentHashMap\0", "search\0", "(JLjava/util/function/BiFunction;)Ljava/lang/Object;\0");
__jni_env.call_object_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
/// [reduce](https://developer.android.com/reference/java/util/concurrent/ConcurrentHashMap.html#reduce(long,%20java.util.function.BiFunction,%20java.util.function.BiFunction))
///
/// Required features: "java-lang-Object", "java-util-function-BiFunction"
#[cfg(any(feature = "all", all(feature = "java-lang-Object", feature = "java-util-function-BiFunction")))]
pub fn reduce<'env>(&'env self, arg0: i64, arg1: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::java::util::function::BiFunction>>, arg2: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::java::util::function::BiFunction>>) -> __jni_bindgen::std::result::Result<__jni_bindgen::std::option::Option<__jni_bindgen::Local<'env, crate::java::lang::Object>>, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "java/util/concurrent/ConcurrentHashMap", java.flags == PUBLIC, .name == "reduce", .descriptor == "(JLjava/util/function/BiFunction;Ljava/util/function/BiFunction;)Ljava/lang/Object;"
unsafe {
let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0), __jni_bindgen::AsJValue::as_jvalue(&arg1.into()), __jni_bindgen::AsJValue::as_jvalue(&arg2.into())];
let __jni_env = __jni_bindgen::Env::from_ptr(self.0.env);
let (__jni_class, __jni_method) = __jni_env.require_class_method("java/util/concurrent/ConcurrentHashMap\0", "reduce\0", "(JLjava/util/function/BiFunction;Ljava/util/function/BiFunction;)Ljava/lang/Object;\0");
__jni_env.call_object_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
/// [reduceToDouble](https://developer.android.com/reference/java/util/concurrent/ConcurrentHashMap.html#reduceToDouble(long,%20java.util.function.ToDoubleBiFunction,%20double,%20java.util.function.DoubleBinaryOperator))
///
/// Required features: "java-util-function-DoubleBinaryOperator", "java-util-function-ToDoubleBiFunction"
#[cfg(any(feature = "all", all(feature = "java-util-function-DoubleBinaryOperator", feature = "java-util-function-ToDoubleBiFunction")))]
pub fn reduceToDouble<'env>(&'env self, arg0: i64, arg1: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::java::util::function::ToDoubleBiFunction>>, arg2: f64, arg3: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::java::util::function::DoubleBinaryOperator>>) -> __jni_bindgen::std::result::Result<f64, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "java/util/concurrent/ConcurrentHashMap", java.flags == PUBLIC, .name == "reduceToDouble", .descriptor == "(JLjava/util/function/ToDoubleBiFunction;DLjava/util/function/DoubleBinaryOperator;)D"
unsafe {
let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0), __jni_bindgen::AsJValue::as_jvalue(&arg1.into()), __jni_bindgen::AsJValue::as_jvalue(&arg2), __jni_bindgen::AsJValue::as_jvalue(&arg3.into())];
let __jni_env = __jni_bindgen::Env::from_ptr(self.0.env);
let (__jni_class, __jni_method) = __jni_env.require_class_method("java/util/concurrent/ConcurrentHashMap\0", "reduceToDouble\0", "(JLjava/util/function/ToDoubleBiFunction;DLjava/util/function/DoubleBinaryOperator;)D\0");
__jni_env.call_double_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
/// [reduceToLong](https://developer.android.com/reference/java/util/concurrent/ConcurrentHashMap.html#reduceToLong(long,%20java.util.function.ToLongBiFunction,%20long,%20java.util.function.LongBinaryOperator))
///
/// Required features: "java-util-function-LongBinaryOperator", "java-util-function-ToLongBiFunction"
#[cfg(any(feature = "all", all(feature = "java-util-function-LongBinaryOperator", feature = "java-util-function-ToLongBiFunction")))]
pub fn reduceToLong<'env>(&'env self, arg0: i64, arg1: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::java::util::function::ToLongBiFunction>>, arg2: i64, arg3: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::java::util::function::LongBinaryOperator>>) -> __jni_bindgen::std::result::Result<i64, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "java/util/concurrent/ConcurrentHashMap", java.flags == PUBLIC, .name == "reduceToLong", .descriptor == "(JLjava/util/function/ToLongBiFunction;JLjava/util/function/LongBinaryOperator;)J"
unsafe {
let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0), __jni_bindgen::AsJValue::as_jvalue(&arg1.into()), __jni_bindgen::AsJValue::as_jvalue(&arg2), __jni_bindgen::AsJValue::as_jvalue(&arg3.into())];
let __jni_env = __jni_bindgen::Env::from_ptr(self.0.env);
let (__jni_class, __jni_method) = __jni_env.require_class_method("java/util/concurrent/ConcurrentHashMap\0", "reduceToLong\0", "(JLjava/util/function/ToLongBiFunction;JLjava/util/function/LongBinaryOperator;)J\0");
__jni_env.call_long_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
/// [reduceToInt](https://developer.android.com/reference/java/util/concurrent/ConcurrentHashMap.html#reduceToInt(long,%20java.util.function.ToIntBiFunction,%20int,%20java.util.function.IntBinaryOperator))
///
/// Required features: "java-util-function-IntBinaryOperator", "java-util-function-ToIntBiFunction"
#[cfg(any(feature = "all", all(feature = "java-util-function-IntBinaryOperator", feature = "java-util-function-ToIntBiFunction")))]
pub fn reduceToInt<'env>(&'env self, arg0: i64, arg1: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::java::util::function::ToIntBiFunction>>, arg2: i32, arg3: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::java::util::function::IntBinaryOperator>>) -> __jni_bindgen::std::result::Result<i32, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "java/util/concurrent/ConcurrentHashMap", java.flags == PUBLIC, .name == "reduceToInt", .descriptor == "(JLjava/util/function/ToIntBiFunction;ILjava/util/function/IntBinaryOperator;)I"
unsafe {
let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0), __jni_bindgen::AsJValue::as_jvalue(&arg1.into()), __jni_bindgen::AsJValue::as_jvalue(&arg2), __jni_bindgen::AsJValue::as_jvalue(&arg3.into())];
let __jni_env = __jni_bindgen::Env::from_ptr(self.0.env);
let (__jni_class, __jni_method) = __jni_env.require_class_method("java/util/concurrent/ConcurrentHashMap\0", "reduceToInt\0", "(JLjava/util/function/ToIntBiFunction;ILjava/util/function/IntBinaryOperator;)I\0");
__jni_env.call_int_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
/// [forEachKey](https://developer.android.com/reference/java/util/concurrent/ConcurrentHashMap.html#forEachKey(long,%20java.util.function.Consumer))
///
/// Required features: "java-util-function-Consumer"
#[cfg(any(feature = "all", all(feature = "java-util-function-Consumer")))]
pub fn forEachKey_long_Consumer<'env>(&'env self, arg0: i64, arg1: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::java::util::function::Consumer>>) -> __jni_bindgen::std::result::Result<(), __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "java/util/concurrent/ConcurrentHashMap", java.flags == PUBLIC, .name == "forEachKey", .descriptor == "(JLjava/util/function/Consumer;)V"
unsafe {
let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0), __jni_bindgen::AsJValue::as_jvalue(&arg1.into())];
let __jni_env = __jni_bindgen::Env::from_ptr(self.0.env);
let (__jni_class, __jni_method) = __jni_env.require_class_method("java/util/concurrent/ConcurrentHashMap\0", "forEachKey\0", "(JLjava/util/function/Consumer;)V\0");
__jni_env.call_void_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
/// [forEachKey](https://developer.android.com/reference/java/util/concurrent/ConcurrentHashMap.html#forEachKey(long,%20java.util.function.Function,%20java.util.function.Consumer))
///
/// Required features: "java-util-function-Consumer", "java-util-function-Function"
#[cfg(any(feature = "all", all(feature = "java-util-function-Consumer", feature = "java-util-function-Function")))]
pub fn forEachKey_long_Function_Consumer<'env>(&'env self, arg0: i64, arg1: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::java::util::function::Function>>, arg2: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::java::util::function::Consumer>>) -> __jni_bindgen::std::result::Result<(), __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "java/util/concurrent/ConcurrentHashMap", java.flags == PUBLIC, .name == "forEachKey", .descriptor == "(JLjava/util/function/Function;Ljava/util/function/Consumer;)V"
unsafe {
let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0), __jni_bindgen::AsJValue::as_jvalue(&arg1.into()), __jni_bindgen::AsJValue::as_jvalue(&arg2.into())];
let __jni_env = __jni_bindgen::Env::from_ptr(self.0.env);
let (__jni_class, __jni_method) = __jni_env.require_class_method("java/util/concurrent/ConcurrentHashMap\0", "forEachKey\0", "(JLjava/util/function/Function;Ljava/util/function/Consumer;)V\0");
__jni_env.call_void_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
/// [searchKeys](https://developer.android.com/reference/java/util/concurrent/ConcurrentHashMap.html#searchKeys(long,%20java.util.function.Function))
///
/// Required features: "java-lang-Object", "java-util-function-Function"
#[cfg(any(feature = "all", all(feature = "java-lang-Object", feature = "java-util-function-Function")))]
pub fn searchKeys<'env>(&'env self, arg0: i64, arg1: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::java::util::function::Function>>) -> __jni_bindgen::std::result::Result<__jni_bindgen::std::option::Option<__jni_bindgen::Local<'env, crate::java::lang::Object>>, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "java/util/concurrent/ConcurrentHashMap", java.flags == PUBLIC, .name == "searchKeys", .descriptor == "(JLjava/util/function/Function;)Ljava/lang/Object;"
unsafe {
let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0), __jni_bindgen::AsJValue::as_jvalue(&arg1.into())];
let __jni_env = __jni_bindgen::Env::from_ptr(self.0.env);
let (__jni_class, __jni_method) = __jni_env.require_class_method("java/util/concurrent/ConcurrentHashMap\0", "searchKeys\0", "(JLjava/util/function/Function;)Ljava/lang/Object;\0");
__jni_env.call_object_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
/// [reduceKeys](https://developer.android.com/reference/java/util/concurrent/ConcurrentHashMap.html#reduceKeys(long,%20java.util.function.BiFunction))
///
/// Required features: "java-lang-Object", "java-util-function-BiFunction"
#[cfg(any(feature = "all", all(feature = "java-lang-Object", feature = "java-util-function-BiFunction")))]
pub fn reduceKeys_long_BiFunction<'env>(&'env self, arg0: i64, arg1: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::java::util::function::BiFunction>>) -> __jni_bindgen::std::result::Result<__jni_bindgen::std::option::Option<__jni_bindgen::Local<'env, crate::java::lang::Object>>, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "java/util/concurrent/ConcurrentHashMap", java.flags == PUBLIC, .name == "reduceKeys", .descriptor == "(JLjava/util/function/BiFunction;)Ljava/lang/Object;"
unsafe {
let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0), __jni_bindgen::AsJValue::as_jvalue(&arg1.into())];
let __jni_env = __jni_bindgen::Env::from_ptr(self.0.env);
let (__jni_class, __jni_method) = __jni_env.require_class_method("java/util/concurrent/ConcurrentHashMap\0", "reduceKeys\0", "(JLjava/util/function/BiFunction;)Ljava/lang/Object;\0");
__jni_env.call_object_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
/// [reduceKeys](https://developer.android.com/reference/java/util/concurrent/ConcurrentHashMap.html#reduceKeys(long,%20java.util.function.Function,%20java.util.function.BiFunction))
///
/// Required features: "java-lang-Object", "java-util-function-BiFunction", "java-util-function-Function"
#[cfg(any(feature = "all", all(feature = "java-lang-Object", feature = "java-util-function-BiFunction", feature = "java-util-function-Function")))]
pub fn reduceKeys_long_Function_BiFunction<'env>(&'env self, arg0: i64, arg1: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::java::util::function::Function>>, arg2: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::java::util::function::BiFunction>>) -> __jni_bindgen::std::result::Result<__jni_bindgen::std::option::Option<__jni_bindgen::Local<'env, crate::java::lang::Object>>, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "java/util/concurrent/ConcurrentHashMap", java.flags == PUBLIC, .name == "reduceKeys", .descriptor == "(JLjava/util/function/Function;Ljava/util/function/BiFunction;)Ljava/lang/Object;"
unsafe {
let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0), __jni_bindgen::AsJValue::as_jvalue(&arg1.into()), __jni_bindgen::AsJValue::as_jvalue(&arg2.into())];
let __jni_env = __jni_bindgen::Env::from_ptr(self.0.env);
let (__jni_class, __jni_method) = __jni_env.require_class_method("java/util/concurrent/ConcurrentHashMap\0", "reduceKeys\0", "(JLjava/util/function/Function;Ljava/util/function/BiFunction;)Ljava/lang/Object;\0");
__jni_env.call_object_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
/// [reduceKeysToDouble](https://developer.android.com/reference/java/util/concurrent/ConcurrentHashMap.html#reduceKeysToDouble(long,%20java.util.function.ToDoubleFunction,%20double,%20java.util.function.DoubleBinaryOperator))
///
/// Required features: "java-util-function-DoubleBinaryOperator", "java-util-function-ToDoubleFunction"
#[cfg(any(feature = "all", all(feature = "java-util-function-DoubleBinaryOperator", feature = "java-util-function-ToDoubleFunction")))]
pub fn reduceKeysToDouble<'env>(&'env self, arg0: i64, arg1: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::java::util::function::ToDoubleFunction>>, arg2: f64, arg3: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::java::util::function::DoubleBinaryOperator>>) -> __jni_bindgen::std::result::Result<f64, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "java/util/concurrent/ConcurrentHashMap", java.flags == PUBLIC, .name == "reduceKeysToDouble", .descriptor == "(JLjava/util/function/ToDoubleFunction;DLjava/util/function/DoubleBinaryOperator;)D"
unsafe {
let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0), __jni_bindgen::AsJValue::as_jvalue(&arg1.into()), __jni_bindgen::AsJValue::as_jvalue(&arg2), __jni_bindgen::AsJValue::as_jvalue(&arg3.into())];
let __jni_env = __jni_bindgen::Env::from_ptr(self.0.env);
let (__jni_class, __jni_method) = __jni_env.require_class_method("java/util/concurrent/ConcurrentHashMap\0", "reduceKeysToDouble\0", "(JLjava/util/function/ToDoubleFunction;DLjava/util/function/DoubleBinaryOperator;)D\0");
__jni_env.call_double_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
/// [reduceKeysToLong](https://developer.android.com/reference/java/util/concurrent/ConcurrentHashMap.html#reduceKeysToLong(long,%20java.util.function.ToLongFunction,%20long,%20java.util.function.LongBinaryOperator))
///
/// Required features: "java-util-function-LongBinaryOperator", "java-util-function-ToLongFunction"
#[cfg(any(feature = "all", all(feature = "java-util-function-LongBinaryOperator", feature = "java-util-function-ToLongFunction")))]
pub fn reduceKeysToLong<'env>(&'env self, arg0: i64, arg1: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::java::util::function::ToLongFunction>>, arg2: i64, arg3: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::java::util::function::LongBinaryOperator>>) -> __jni_bindgen::std::result::Result<i64, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "java/util/concurrent/ConcurrentHashMap", java.flags == PUBLIC, .name == "reduceKeysToLong", .descriptor == "(JLjava/util/function/ToLongFunction;JLjava/util/function/LongBinaryOperator;)J"
unsafe {
let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0), __jni_bindgen::AsJValue::as_jvalue(&arg1.into()), __jni_bindgen::AsJValue::as_jvalue(&arg2), __jni_bindgen::AsJValue::as_jvalue(&arg3.into())];
let __jni_env = __jni_bindgen::Env::from_ptr(self.0.env);
let (__jni_class, __jni_method) = __jni_env.require_class_method("java/util/concurrent/ConcurrentHashMap\0", "reduceKeysToLong\0", "(JLjava/util/function/ToLongFunction;JLjava/util/function/LongBinaryOperator;)J\0");
__jni_env.call_long_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
/// [reduceKeysToInt](https://developer.android.com/reference/java/util/concurrent/ConcurrentHashMap.html#reduceKeysToInt(long,%20java.util.function.ToIntFunction,%20int,%20java.util.function.IntBinaryOperator))
///
/// Required features: "java-util-function-IntBinaryOperator", "java-util-function-ToIntFunction"
#[cfg(any(feature = "all", all(feature = "java-util-function-IntBinaryOperator", feature = "java-util-function-ToIntFunction")))]
pub fn reduceKeysToInt<'env>(&'env self, arg0: i64, arg1: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::java::util::function::ToIntFunction>>, arg2: i32, arg3: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::java::util::function::IntBinaryOperator>>) -> __jni_bindgen::std::result::Result<i32, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "java/util/concurrent/ConcurrentHashMap", java.flags == PUBLIC, .name == "reduceKeysToInt", .descriptor == "(JLjava/util/function/ToIntFunction;ILjava/util/function/IntBinaryOperator;)I"
unsafe {
let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0), __jni_bindgen::AsJValue::as_jvalue(&arg1.into()), __jni_bindgen::AsJValue::as_jvalue(&arg2), __jni_bindgen::AsJValue::as_jvalue(&arg3.into())];
let __jni_env = __jni_bindgen::Env::from_ptr(self.0.env);
let (__jni_class, __jni_method) = __jni_env.require_class_method("java/util/concurrent/ConcurrentHashMap\0", "reduceKeysToInt\0", "(JLjava/util/function/ToIntFunction;ILjava/util/function/IntBinaryOperator;)I\0");
__jni_env.call_int_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
/// [forEachValue](https://developer.android.com/reference/java/util/concurrent/ConcurrentHashMap.html#forEachValue(long,%20java.util.function.Consumer))
///
/// Required features: "java-util-function-Consumer"
#[cfg(any(feature = "all", all(feature = "java-util-function-Consumer")))]
pub fn forEachValue_long_Consumer<'env>(&'env self, arg0: i64, arg1: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::java::util::function::Consumer>>) -> __jni_bindgen::std::result::Result<(), __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "java/util/concurrent/ConcurrentHashMap", java.flags == PUBLIC, .name == "forEachValue", .descriptor == "(JLjava/util/function/Consumer;)V"
unsafe {
let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0), __jni_bindgen::AsJValue::as_jvalue(&arg1.into())];
let __jni_env = __jni_bindgen::Env::from_ptr(self.0.env);
let (__jni_class, __jni_method) = __jni_env.require_class_method("java/util/concurrent/ConcurrentHashMap\0", "forEachValue\0", "(JLjava/util/function/Consumer;)V\0");
__jni_env.call_void_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
/// [forEachValue](https://developer.android.com/reference/java/util/concurrent/ConcurrentHashMap.html#forEachValue(long,%20java.util.function.Function,%20java.util.function.Consumer))
///
/// Required features: "java-util-function-Consumer", "java-util-function-Function"
#[cfg(any(feature = "all", all(feature = "java-util-function-Consumer", feature = "java-util-function-Function")))]
pub fn forEachValue_long_Function_Consumer<'env>(&'env self, arg0: i64, arg1: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::java::util::function::Function>>, arg2: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::java::util::function::Consumer>>) -> __jni_bindgen::std::result::Result<(), __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "java/util/concurrent/ConcurrentHashMap", java.flags == PUBLIC, .name == "forEachValue", .descriptor == "(JLjava/util/function/Function;Ljava/util/function/Consumer;)V"
unsafe {
let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0), __jni_bindgen::AsJValue::as_jvalue(&arg1.into()), __jni_bindgen::AsJValue::as_jvalue(&arg2.into())];
let __jni_env = __jni_bindgen::Env::from_ptr(self.0.env);
let (__jni_class, __jni_method) = __jni_env.require_class_method("java/util/concurrent/ConcurrentHashMap\0", "forEachValue\0", "(JLjava/util/function/Function;Ljava/util/function/Consumer;)V\0");
__jni_env.call_void_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
/// [searchValues](https://developer.android.com/reference/java/util/concurrent/ConcurrentHashMap.html#searchValues(long,%20java.util.function.Function))
///
/// Required features: "java-lang-Object", "java-util-function-Function"
#[cfg(any(feature = "all", all(feature = "java-lang-Object", feature = "java-util-function-Function")))]
pub fn searchValues<'env>(&'env self, arg0: i64, arg1: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::java::util::function::Function>>) -> __jni_bindgen::std::result::Result<__jni_bindgen::std::option::Option<__jni_bindgen::Local<'env, crate::java::lang::Object>>, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "java/util/concurrent/ConcurrentHashMap", java.flags == PUBLIC, .name == "searchValues", .descriptor == "(JLjava/util/function/Function;)Ljava/lang/Object;"
unsafe {
let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0), __jni_bindgen::AsJValue::as_jvalue(&arg1.into())];
let __jni_env = __jni_bindgen::Env::from_ptr(self.0.env);
let (__jni_class, __jni_method) = __jni_env.require_class_method("java/util/concurrent/ConcurrentHashMap\0", "searchValues\0", "(JLjava/util/function/Function;)Ljava/lang/Object;\0");
__jni_env.call_object_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
/// [reduceValues](https://developer.android.com/reference/java/util/concurrent/ConcurrentHashMap.html#reduceValues(long,%20java.util.function.BiFunction))
///
/// Required features: "java-lang-Object", "java-util-function-BiFunction"
#[cfg(any(feature = "all", all(feature = "java-lang-Object", feature = "java-util-function-BiFunction")))]
pub fn reduceValues_long_BiFunction<'env>(&'env self, arg0: i64, arg1: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::java::util::function::BiFunction>>) -> __jni_bindgen::std::result::Result<__jni_bindgen::std::option::Option<__jni_bindgen::Local<'env, crate::java::lang::Object>>, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "java/util/concurrent/ConcurrentHashMap", java.flags == PUBLIC, .name == "reduceValues", .descriptor == "(JLjava/util/function/BiFunction;)Ljava/lang/Object;"
unsafe {
let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0), __jni_bindgen::AsJValue::as_jvalue(&arg1.into())];
let __jni_env = __jni_bindgen::Env::from_ptr(self.0.env);
let (__jni_class, __jni_method) = __jni_env.require_class_method("java/util/concurrent/ConcurrentHashMap\0", "reduceValues\0", "(JLjava/util/function/BiFunction;)Ljava/lang/Object;\0");
__jni_env.call_object_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
/// [reduceValues](https://developer.android.com/reference/java/util/concurrent/ConcurrentHashMap.html#reduceValues(long,%20java.util.function.Function,%20java.util.function.BiFunction))
///
/// Required features: "java-lang-Object", "java-util-function-BiFunction", "java-util-function-Function"
#[cfg(any(feature = "all", all(feature = "java-lang-Object", feature = "java-util-function-BiFunction", feature = "java-util-function-Function")))]
pub fn reduceValues_long_Function_BiFunction<'env>(&'env self, arg0: i64, arg1: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::java::util::function::Function>>, arg2: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::java::util::function::BiFunction>>) -> __jni_bindgen::std::result::Result<__jni_bindgen::std::option::Option<__jni_bindgen::Local<'env, crate::java::lang::Object>>, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "java/util/concurrent/ConcurrentHashMap", java.flags == PUBLIC, .name == "reduceValues", .descriptor == "(JLjava/util/function/Function;Ljava/util/function/BiFunction;)Ljava/lang/Object;"
unsafe {
let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0), __jni_bindgen::AsJValue::as_jvalue(&arg1.into()), __jni_bindgen::AsJValue::as_jvalue(&arg2.into())];
let __jni_env = __jni_bindgen::Env::from_ptr(self.0.env);
let (__jni_class, __jni_method) = __jni_env.require_class_method("java/util/concurrent/ConcurrentHashMap\0", "reduceValues\0", "(JLjava/util/function/Function;Ljava/util/function/BiFunction;)Ljava/lang/Object;\0");
__jni_env.call_object_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
/// [reduceValuesToDouble](https://developer.android.com/reference/java/util/concurrent/ConcurrentHashMap.html#reduceValuesToDouble(long,%20java.util.function.ToDoubleFunction,%20double,%20java.util.function.DoubleBinaryOperator))
///
/// Required features: "java-util-function-DoubleBinaryOperator", "java-util-function-ToDoubleFunction"
#[cfg(any(feature = "all", all(feature = "java-util-function-DoubleBinaryOperator", feature = "java-util-function-ToDoubleFunction")))]
pub fn reduceValuesToDouble<'env>(&'env self, arg0: i64, arg1: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::java::util::function::ToDoubleFunction>>, arg2: f64, arg3: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::java::util::function::DoubleBinaryOperator>>) -> __jni_bindgen::std::result::Result<f64, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "java/util/concurrent/ConcurrentHashMap", java.flags == PUBLIC, .name == "reduceValuesToDouble", .descriptor == "(JLjava/util/function/ToDoubleFunction;DLjava/util/function/DoubleBinaryOperator;)D"
unsafe {
let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0), __jni_bindgen::AsJValue::as_jvalue(&arg1.into()), __jni_bindgen::AsJValue::as_jvalue(&arg2), __jni_bindgen::AsJValue::as_jvalue(&arg3.into())];
let __jni_env = __jni_bindgen::Env::from_ptr(self.0.env);
let (__jni_class, __jni_method) = __jni_env.require_class_method("java/util/concurrent/ConcurrentHashMap\0", "reduceValuesToDouble\0", "(JLjava/util/function/ToDoubleFunction;DLjava/util/function/DoubleBinaryOperator;)D\0");
__jni_env.call_double_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
/// [reduceValuesToLong](https://developer.android.com/reference/java/util/concurrent/ConcurrentHashMap.html#reduceValuesToLong(long,%20java.util.function.ToLongFunction,%20long,%20java.util.function.LongBinaryOperator))
///
/// Required features: "java-util-function-LongBinaryOperator", "java-util-function-ToLongFunction"
#[cfg(any(feature = "all", all(feature = "java-util-function-LongBinaryOperator", feature = "java-util-function-ToLongFunction")))]
pub fn reduceValuesToLong<'env>(&'env self, arg0: i64, arg1: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::java::util::function::ToLongFunction>>, arg2: i64, arg3: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::java::util::function::LongBinaryOperator>>) -> __jni_bindgen::std::result::Result<i64, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "java/util/concurrent/ConcurrentHashMap", java.flags == PUBLIC, .name == "reduceValuesToLong", .descriptor == "(JLjava/util/function/ToLongFunction;JLjava/util/function/LongBinaryOperator;)J"
unsafe {
let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0), __jni_bindgen::AsJValue::as_jvalue(&arg1.into()), __jni_bindgen::AsJValue::as_jvalue(&arg2), __jni_bindgen::AsJValue::as_jvalue(&arg3.into())];
let __jni_env = __jni_bindgen::Env::from_ptr(self.0.env);
let (__jni_class, __jni_method) = __jni_env.require_class_method("java/util/concurrent/ConcurrentHashMap\0", "reduceValuesToLong\0", "(JLjava/util/function/ToLongFunction;JLjava/util/function/LongBinaryOperator;)J\0");
__jni_env.call_long_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
/// [reduceValuesToInt](https://developer.android.com/reference/java/util/concurrent/ConcurrentHashMap.html#reduceValuesToInt(long,%20java.util.function.ToIntFunction,%20int,%20java.util.function.IntBinaryOperator))
///
/// Required features: "java-util-function-IntBinaryOperator", "java-util-function-ToIntFunction"
#[cfg(any(feature = "all", all(feature = "java-util-function-IntBinaryOperator", feature = "java-util-function-ToIntFunction")))]
pub fn reduceValuesToInt<'env>(&'env self, arg0: i64, arg1: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::java::util::function::ToIntFunction>>, arg2: i32, arg3: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::java::util::function::IntBinaryOperator>>) -> __jni_bindgen::std::result::Result<i32, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "java/util/concurrent/ConcurrentHashMap", java.flags == PUBLIC, .name == "reduceValuesToInt", .descriptor == "(JLjava/util/function/ToIntFunction;ILjava/util/function/IntBinaryOperator;)I"
unsafe {
let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0), __jni_bindgen::AsJValue::as_jvalue(&arg1.into()), __jni_bindgen::AsJValue::as_jvalue(&arg2), __jni_bindgen::AsJValue::as_jvalue(&arg3.into())];
let __jni_env = __jni_bindgen::Env::from_ptr(self.0.env);
let (__jni_class, __jni_method) = __jni_env.require_class_method("java/util/concurrent/ConcurrentHashMap\0", "reduceValuesToInt\0", "(JLjava/util/function/ToIntFunction;ILjava/util/function/IntBinaryOperator;)I\0");
__jni_env.call_int_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
/// [forEachEntry](https://developer.android.com/reference/java/util/concurrent/ConcurrentHashMap.html#forEachEntry(long,%20java.util.function.Consumer))
///
/// Required features: "java-util-function-Consumer"
#[cfg(any(feature = "all", all(feature = "java-util-function-Consumer")))]
pub fn forEachEntry_long_Consumer<'env>(&'env self, arg0: i64, arg1: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::java::util::function::Consumer>>) -> __jni_bindgen::std::result::Result<(), __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "java/util/concurrent/ConcurrentHashMap", java.flags == PUBLIC, .name == "forEachEntry", .descriptor == "(JLjava/util/function/Consumer;)V"
unsafe {
let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0), __jni_bindgen::AsJValue::as_jvalue(&arg1.into())];
let __jni_env = __jni_bindgen::Env::from_ptr(self.0.env);
let (__jni_class, __jni_method) = __jni_env.require_class_method("java/util/concurrent/ConcurrentHashMap\0", "forEachEntry\0", "(JLjava/util/function/Consumer;)V\0");
__jni_env.call_void_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
/// [forEachEntry](https://developer.android.com/reference/java/util/concurrent/ConcurrentHashMap.html#forEachEntry(long,%20java.util.function.Function,%20java.util.function.Consumer))
///
/// Required features: "java-util-function-Consumer", "java-util-function-Function"
#[cfg(any(feature = "all", all(feature = "java-util-function-Consumer", feature = "java-util-function-Function")))]
pub fn forEachEntry_long_Function_Consumer<'env>(&'env self, arg0: i64, arg1: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::java::util::function::Function>>, arg2: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::java::util::function::Consumer>>) -> __jni_bindgen::std::result::Result<(), __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "java/util/concurrent/ConcurrentHashMap", java.flags == PUBLIC, .name == "forEachEntry", .descriptor == "(JLjava/util/function/Function;Ljava/util/function/Consumer;)V"
unsafe {
let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0), __jni_bindgen::AsJValue::as_jvalue(&arg1.into()), __jni_bindgen::AsJValue::as_jvalue(&arg2.into())];
let __jni_env = __jni_bindgen::Env::from_ptr(self.0.env);
let (__jni_class, __jni_method) = __jni_env.require_class_method("java/util/concurrent/ConcurrentHashMap\0", "forEachEntry\0", "(JLjava/util/function/Function;Ljava/util/function/Consumer;)V\0");
__jni_env.call_void_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
/// [searchEntries](https://developer.android.com/reference/java/util/concurrent/ConcurrentHashMap.html#searchEntries(long,%20java.util.function.Function))
///
/// Required features: "java-lang-Object", "java-util-function-Function"
#[cfg(any(feature = "all", all(feature = "java-lang-Object", feature = "java-util-function-Function")))]
pub fn searchEntries<'env>(&'env self, arg0: i64, arg1: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::java::util::function::Function>>) -> __jni_bindgen::std::result::Result<__jni_bindgen::std::option::Option<__jni_bindgen::Local<'env, crate::java::lang::Object>>, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "java/util/concurrent/ConcurrentHashMap", java.flags == PUBLIC, .name == "searchEntries", .descriptor == "(JLjava/util/function/Function;)Ljava/lang/Object;"
unsafe {
let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0), __jni_bindgen::AsJValue::as_jvalue(&arg1.into())];
let __jni_env = __jni_bindgen::Env::from_ptr(self.0.env);
let (__jni_class, __jni_method) = __jni_env.require_class_method("java/util/concurrent/ConcurrentHashMap\0", "searchEntries\0", "(JLjava/util/function/Function;)Ljava/lang/Object;\0");
__jni_env.call_object_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
/// [reduceEntries](https://developer.android.com/reference/java/util/concurrent/ConcurrentHashMap.html#reduceEntries(long,%20java.util.function.BiFunction))
///
/// Required features: "java-util-Map_Entry", "java-util-function-BiFunction"
#[cfg(any(feature = "all", all(feature = "java-util-Map_Entry", feature = "java-util-function-BiFunction")))]
pub fn reduceEntries_long_BiFunction<'env>(&'env self, arg0: i64, arg1: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::java::util::function::BiFunction>>) -> __jni_bindgen::std::result::Result<__jni_bindgen::std::option::Option<__jni_bindgen::Local<'env, crate::java::util::Map_Entry>>, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "java/util/concurrent/ConcurrentHashMap", java.flags == PUBLIC, .name == "reduceEntries", .descriptor == "(JLjava/util/function/BiFunction;)Ljava/util/Map$Entry;"
unsafe {
let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0), __jni_bindgen::AsJValue::as_jvalue(&arg1.into())];
let __jni_env = __jni_bindgen::Env::from_ptr(self.0.env);
let (__jni_class, __jni_method) = __jni_env.require_class_method("java/util/concurrent/ConcurrentHashMap\0", "reduceEntries\0", "(JLjava/util/function/BiFunction;)Ljava/util/Map$Entry;\0");
__jni_env.call_object_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
/// [reduceEntries](https://developer.android.com/reference/java/util/concurrent/ConcurrentHashMap.html#reduceEntries(long,%20java.util.function.Function,%20java.util.function.BiFunction))
///
/// Required features: "java-lang-Object", "java-util-function-BiFunction", "java-util-function-Function"
#[cfg(any(feature = "all", all(feature = "java-lang-Object", feature = "java-util-function-BiFunction", feature = "java-util-function-Function")))]
pub fn reduceEntries_long_Function_BiFunction<'env>(&'env self, arg0: i64, arg1: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::java::util::function::Function>>, arg2: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::java::util::function::BiFunction>>) -> __jni_bindgen::std::result::Result<__jni_bindgen::std::option::Option<__jni_bindgen::Local<'env, crate::java::lang::Object>>, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "java/util/concurrent/ConcurrentHashMap", java.flags == PUBLIC, .name == "reduceEntries", .descriptor == "(JLjava/util/function/Function;Ljava/util/function/BiFunction;)Ljava/lang/Object;"
unsafe {
let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0), __jni_bindgen::AsJValue::as_jvalue(&arg1.into()), __jni_bindgen::AsJValue::as_jvalue(&arg2.into())];
let __jni_env = __jni_bindgen::Env::from_ptr(self.0.env);
let (__jni_class, __jni_method) = __jni_env.require_class_method("java/util/concurrent/ConcurrentHashMap\0", "reduceEntries\0", "(JLjava/util/function/Function;Ljava/util/function/BiFunction;)Ljava/lang/Object;\0");
__jni_env.call_object_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
/// [reduceEntriesToDouble](https://developer.android.com/reference/java/util/concurrent/ConcurrentHashMap.html#reduceEntriesToDouble(long,%20java.util.function.ToDoubleFunction,%20double,%20java.util.function.DoubleBinaryOperator))
///
/// Required features: "java-util-function-DoubleBinaryOperator", "java-util-function-ToDoubleFunction"
#[cfg(any(feature = "all", all(feature = "java-util-function-DoubleBinaryOperator", feature = "java-util-function-ToDoubleFunction")))]
pub fn reduceEntriesToDouble<'env>(&'env self, arg0: i64, arg1: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::java::util::function::ToDoubleFunction>>, arg2: f64, arg3: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::java::util::function::DoubleBinaryOperator>>) -> __jni_bindgen::std::result::Result<f64, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "java/util/concurrent/ConcurrentHashMap", java.flags == PUBLIC, .name == "reduceEntriesToDouble", .descriptor == "(JLjava/util/function/ToDoubleFunction;DLjava/util/function/DoubleBinaryOperator;)D"
unsafe {
let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0), __jni_bindgen::AsJValue::as_jvalue(&arg1.into()), __jni_bindgen::AsJValue::as_jvalue(&arg2), __jni_bindgen::AsJValue::as_jvalue(&arg3.into())];
let __jni_env = __jni_bindgen::Env::from_ptr(self.0.env);
let (__jni_class, __jni_method) = __jni_env.require_class_method("java/util/concurrent/ConcurrentHashMap\0", "reduceEntriesToDouble\0", "(JLjava/util/function/ToDoubleFunction;DLjava/util/function/DoubleBinaryOperator;)D\0");
__jni_env.call_double_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
/// [reduceEntriesToLong](https://developer.android.com/reference/java/util/concurrent/ConcurrentHashMap.html#reduceEntriesToLong(long,%20java.util.function.ToLongFunction,%20long,%20java.util.function.LongBinaryOperator))
///
/// Required features: "java-util-function-LongBinaryOperator", "java-util-function-ToLongFunction"
#[cfg(any(feature = "all", all(feature = "java-util-function-LongBinaryOperator", feature = "java-util-function-ToLongFunction")))]
pub fn reduceEntriesToLong<'env>(&'env self, arg0: i64, arg1: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::java::util::function::ToLongFunction>>, arg2: i64, arg3: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::java::util::function::LongBinaryOperator>>) -> __jni_bindgen::std::result::Result<i64, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "java/util/concurrent/ConcurrentHashMap", java.flags == PUBLIC, .name == "reduceEntriesToLong", .descriptor == "(JLjava/util/function/ToLongFunction;JLjava/util/function/LongBinaryOperator;)J"
unsafe {
let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0), __jni_bindgen::AsJValue::as_jvalue(&arg1.into()), __jni_bindgen::AsJValue::as_jvalue(&arg2), __jni_bindgen::AsJValue::as_jvalue(&arg3.into())];
let __jni_env = __jni_bindgen::Env::from_ptr(self.0.env);
let (__jni_class, __jni_method) = __jni_env.require_class_method("java/util/concurrent/ConcurrentHashMap\0", "reduceEntriesToLong\0", "(JLjava/util/function/ToLongFunction;JLjava/util/function/LongBinaryOperator;)J\0");
__jni_env.call_long_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
/// [reduceEntriesToInt](https://developer.android.com/reference/java/util/concurrent/ConcurrentHashMap.html#reduceEntriesToInt(long,%20java.util.function.ToIntFunction,%20int,%20java.util.function.IntBinaryOperator))
///
/// Required features: "java-util-function-IntBinaryOperator", "java-util-function-ToIntFunction"
#[cfg(any(feature = "all", all(feature = "java-util-function-IntBinaryOperator", feature = "java-util-function-ToIntFunction")))]
pub fn reduceEntriesToInt<'env>(&'env self, arg0: i64, arg1: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::java::util::function::ToIntFunction>>, arg2: i32, arg3: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::java::util::function::IntBinaryOperator>>) -> __jni_bindgen::std::result::Result<i32, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "java/util/concurrent/ConcurrentHashMap", java.flags == PUBLIC, .name == "reduceEntriesToInt", .descriptor == "(JLjava/util/function/ToIntFunction;ILjava/util/function/IntBinaryOperator;)I"
unsafe {
let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0), __jni_bindgen::AsJValue::as_jvalue(&arg1.into()), __jni_bindgen::AsJValue::as_jvalue(&arg2), __jni_bindgen::AsJValue::as_jvalue(&arg3.into())];
let __jni_env = __jni_bindgen::Env::from_ptr(self.0.env);
let (__jni_class, __jni_method) = __jni_env.require_class_method("java/util/concurrent/ConcurrentHashMap\0", "reduceEntriesToInt\0", "(JLjava/util/function/ToIntFunction;ILjava/util/function/IntBinaryOperator;)I\0");
__jni_env.call_int_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
}
}