-
Notifications
You must be signed in to change notification settings - Fork 13
/
JavaMap.swift
476 lines (319 loc) · 22.4 KB
/
JavaMap.swift
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
/// generated by: genswift.java 'java/lang|java/util|java/sql|java/awt|javax/swing' ///
/// interface java.util.Map ///
public protocol JavaMap: JavaProtocol {
/// public abstract void java.util.Map.clear()
func clear()
/// public default java.lang.Object java.util.Map.compute(java.lang.Object,java.util.function.BiFunction)
func compute( arg0: JavaObject?, arg1: /* interface java.util.function.BiFunction */ UnavailableProtocol? ) -> JavaObject!
/// public default java.lang.Object java.util.Map.computeIfAbsent(java.lang.Object,java.util.function.Function)
func computeIfAbsent( arg0: JavaObject?, arg1: /* interface java.util.function.Function */ UnavailableProtocol? ) -> JavaObject!
/// public default java.lang.Object java.util.Map.computeIfPresent(java.lang.Object,java.util.function.BiFunction)
func computeIfPresent( arg0: JavaObject?, arg1: /* interface java.util.function.BiFunction */ UnavailableProtocol? ) -> JavaObject!
/// public abstract boolean java.util.Map.containsKey(java.lang.Object)
func containsKey( arg0: JavaObject? ) -> Bool
/// public abstract boolean java.util.Map.containsValue(java.lang.Object)
func containsValue( arg0: JavaObject? ) -> Bool
/// public abstract java.util.Set java.util.Map.entrySet()
func entrySet() -> JavaSet!
/// public abstract boolean java.util.Map.equals(java.lang.Object)
func equals( arg0: JavaObject? ) -> Bool
/// public default void java.util.Map.forEach(java.util.function.BiConsumer)
func forEach( arg0: /* interface java.util.function.BiConsumer */ UnavailableProtocol? )
/// public abstract java.lang.Object java.util.Map.get(java.lang.Object)
func get( arg0: JavaObject? ) -> JavaObject!
/// public default java.lang.Object java.util.Map.getOrDefault(java.lang.Object,java.lang.Object)
func getOrDefault( arg0: JavaObject?, arg1: JavaObject? ) -> JavaObject!
/// public abstract int java.util.Map.hashCode()
func hashCode() -> Int
/// public abstract boolean java.util.Map.isEmpty()
func isEmpty() -> Bool
/// public abstract java.util.Set java.util.Map.keySet()
func keySet() -> JavaSet!
/// public default java.lang.Object java.util.Map.merge(java.lang.Object,java.lang.Object,java.util.function.BiFunction)
func merge( arg0: JavaObject?, arg1: JavaObject?, arg2: /* interface java.util.function.BiFunction */ UnavailableProtocol? ) -> JavaObject!
/// public abstract java.lang.Object java.util.Map.put(java.lang.Object,java.lang.Object)
func put( arg0: JavaObject?, arg1: JavaObject? ) -> JavaObject!
/// public abstract void java.util.Map.putAll(java.util.Map)
func putAll( arg0: JavaMap? )
/// public default java.lang.Object java.util.Map.putIfAbsent(java.lang.Object,java.lang.Object)
func putIfAbsent( arg0: JavaObject?, arg1: JavaObject? ) -> JavaObject!
/// public abstract java.lang.Object java.util.Map.remove(java.lang.Object)
func remove( arg0: JavaObject? ) -> JavaObject!
/// public default boolean java.util.Map.remove(java.lang.Object,java.lang.Object)
func remove( arg0: JavaObject?, arg1: JavaObject? ) -> Bool
/// public default java.lang.Object java.util.Map.replace(java.lang.Object,java.lang.Object)
func replace( arg0: JavaObject?, arg1: JavaObject? ) -> JavaObject!
/// public default boolean java.util.Map.replace(java.lang.Object,java.lang.Object,java.lang.Object)
func replace( arg0: JavaObject?, arg1: JavaObject?, arg2: JavaObject? ) -> Bool
/// public default void java.util.Map.replaceAll(java.util.function.BiFunction)
func replaceAll( arg0: /* interface java.util.function.BiFunction */ UnavailableProtocol? )
/// public abstract int java.util.Map.size()
func size() -> Int
/// public abstract java.util.Collection java.util.Map.values()
// Skipping method: false false true false false
}
open class JavaMapForward: JNIObjectForward, JavaMap {
private static var JavaMapJNIClass: jclass?
/// public abstract void java.util.Map.clear()
private static var clear_MethodID_25: jmethodID?
open func clear() {
var __locals = [jobject]()
var __args = [jvalue]( repeating: jvalue(), count: 1 )
JNIMethod.CallVoidMethod( object: javaObject, methodName: "clear", methodSig: "()V", methodCache: &JavaMapForward.clear_MethodID_25, args: &__args, locals: &__locals )
}
/// public default java.lang.Object java.util.Map.compute(java.lang.Object,java.util.function.BiFunction)
private static var compute_MethodID_26: jmethodID?
open func compute( arg0: JavaObject?, arg1: /* interface java.util.function.BiFunction */ UnavailableProtocol? ) -> JavaObject! {
var __locals = [jobject]()
var __args = [jvalue]( repeating: jvalue(), count: 2 )
__args[0] = JNIType.toJava( value: arg0, locals: &__locals )
__args[1] = JNIType.toJava( value: arg1, locals: &__locals )
let __return = JNIMethod.CallObjectMethod( object: javaObject, methodName: "compute", methodSig: "(Ljava/lang/Object;Ljava/util/function/BiFunction;)Ljava/lang/Object;", methodCache: &JavaMapForward.compute_MethodID_26, args: &__args, locals: &__locals )
defer { JNI.DeleteLocalRef( __return ) }
return __return != nil ? JavaObject( javaObject: __return ) : nil
}
open func compute( _ _arg0: JavaObject?, _ _arg1: /* interface java.util.function.BiFunction */ UnavailableProtocol? ) -> JavaObject! {
return compute( arg0: _arg0, arg1: _arg1 )
}
/// public default java.lang.Object java.util.Map.computeIfAbsent(java.lang.Object,java.util.function.Function)
private static var computeIfAbsent_MethodID_27: jmethodID?
open func computeIfAbsent( arg0: JavaObject?, arg1: /* interface java.util.function.Function */ UnavailableProtocol? ) -> JavaObject! {
var __locals = [jobject]()
var __args = [jvalue]( repeating: jvalue(), count: 2 )
__args[0] = JNIType.toJava( value: arg0, locals: &__locals )
__args[1] = JNIType.toJava( value: arg1, locals: &__locals )
let __return = JNIMethod.CallObjectMethod( object: javaObject, methodName: "computeIfAbsent", methodSig: "(Ljava/lang/Object;Ljava/util/function/Function;)Ljava/lang/Object;", methodCache: &JavaMapForward.computeIfAbsent_MethodID_27, args: &__args, locals: &__locals )
defer { JNI.DeleteLocalRef( __return ) }
return __return != nil ? JavaObject( javaObject: __return ) : nil
}
open func computeIfAbsent( _ _arg0: JavaObject?, _ _arg1: /* interface java.util.function.Function */ UnavailableProtocol? ) -> JavaObject! {
return computeIfAbsent( arg0: _arg0, arg1: _arg1 )
}
/// public default java.lang.Object java.util.Map.computeIfPresent(java.lang.Object,java.util.function.BiFunction)
private static var computeIfPresent_MethodID_28: jmethodID?
open func computeIfPresent( arg0: JavaObject?, arg1: /* interface java.util.function.BiFunction */ UnavailableProtocol? ) -> JavaObject! {
var __locals = [jobject]()
var __args = [jvalue]( repeating: jvalue(), count: 2 )
__args[0] = JNIType.toJava( value: arg0, locals: &__locals )
__args[1] = JNIType.toJava( value: arg1, locals: &__locals )
let __return = JNIMethod.CallObjectMethod( object: javaObject, methodName: "computeIfPresent", methodSig: "(Ljava/lang/Object;Ljava/util/function/BiFunction;)Ljava/lang/Object;", methodCache: &JavaMapForward.computeIfPresent_MethodID_28, args: &__args, locals: &__locals )
defer { JNI.DeleteLocalRef( __return ) }
return __return != nil ? JavaObject( javaObject: __return ) : nil
}
open func computeIfPresent( _ _arg0: JavaObject?, _ _arg1: /* interface java.util.function.BiFunction */ UnavailableProtocol? ) -> JavaObject! {
return computeIfPresent( arg0: _arg0, arg1: _arg1 )
}
/// public abstract boolean java.util.Map.containsKey(java.lang.Object)
private static var containsKey_MethodID_29: jmethodID?
open func containsKey( arg0: JavaObject? ) -> Bool {
var __locals = [jobject]()
var __args = [jvalue]( repeating: jvalue(), count: 1 )
__args[0] = JNIType.toJava( value: arg0, locals: &__locals )
let __return = JNIMethod.CallBooleanMethod( object: javaObject, methodName: "containsKey", methodSig: "(Ljava/lang/Object;)Z", methodCache: &JavaMapForward.containsKey_MethodID_29, args: &__args, locals: &__locals )
return __return != jboolean(JNI_FALSE)
}
/// public abstract boolean java.util.Map.containsValue(java.lang.Object)
private static var containsValue_MethodID_30: jmethodID?
open func containsValue( arg0: JavaObject? ) -> Bool {
var __locals = [jobject]()
var __args = [jvalue]( repeating: jvalue(), count: 1 )
__args[0] = JNIType.toJava( value: arg0, locals: &__locals )
let __return = JNIMethod.CallBooleanMethod( object: javaObject, methodName: "containsValue", methodSig: "(Ljava/lang/Object;)Z", methodCache: &JavaMapForward.containsValue_MethodID_30, args: &__args, locals: &__locals )
return __return != jboolean(JNI_FALSE)
}
/// public abstract java.util.Set java.util.Map.entrySet()
private static var entrySet_MethodID_31: jmethodID?
open func entrySet() -> JavaSet! {
var __locals = [jobject]()
var __args = [jvalue]( repeating: jvalue(), count: 1 )
let __return = JNIMethod.CallObjectMethod( object: javaObject, methodName: "entrySet", methodSig: "()Ljava/util/Set;", methodCache: &JavaMapForward.entrySet_MethodID_31, args: &__args, locals: &__locals )
defer { JNI.DeleteLocalRef( __return ) }
return __return != nil ? JavaSetForward( javaObject: __return ) : nil
}
/// public abstract boolean java.util.Map.equals(java.lang.Object)
private static var equals_MethodID_32: jmethodID?
open func equals( arg0: JavaObject? ) -> Bool {
var __locals = [jobject]()
var __args = [jvalue]( repeating: jvalue(), count: 1 )
__args[0] = JNIType.toJava( value: arg0, locals: &__locals )
let __return = JNIMethod.CallBooleanMethod( object: javaObject, methodName: "equals", methodSig: "(Ljava/lang/Object;)Z", methodCache: &JavaMapForward.equals_MethodID_32, args: &__args, locals: &__locals )
return __return != jboolean(JNI_FALSE)
}
/// public default void java.util.Map.forEach(java.util.function.BiConsumer)
private static var forEach_MethodID_33: jmethodID?
open func forEach( arg0: /* interface java.util.function.BiConsumer */ UnavailableProtocol? ) {
var __locals = [jobject]()
var __args = [jvalue]( repeating: jvalue(), count: 1 )
__args[0] = JNIType.toJava( value: arg0, locals: &__locals )
JNIMethod.CallVoidMethod( object: javaObject, methodName: "forEach", methodSig: "(Ljava/util/function/BiConsumer;)V", methodCache: &JavaMapForward.forEach_MethodID_33, args: &__args, locals: &__locals )
}
/// public abstract java.lang.Object java.util.Map.get(java.lang.Object)
private static var get_MethodID_34: jmethodID?
open func get( arg0: JavaObject? ) -> JavaObject! {
var __locals = [jobject]()
var __args = [jvalue]( repeating: jvalue(), count: 1 )
__args[0] = JNIType.toJava( value: arg0, locals: &__locals )
let __return = JNIMethod.CallObjectMethod( object: javaObject, methodName: "get", methodSig: "(Ljava/lang/Object;)Ljava/lang/Object;", methodCache: &JavaMapForward.get_MethodID_34, args: &__args, locals: &__locals )
defer { JNI.DeleteLocalRef( __return ) }
return __return != nil ? JavaObject( javaObject: __return ) : nil
}
open func get( _ _arg0: JavaObject? ) -> JavaObject! {
return get( arg0: _arg0 )
}
/// public default java.lang.Object java.util.Map.getOrDefault(java.lang.Object,java.lang.Object)
private static var getOrDefault_MethodID_35: jmethodID?
open func getOrDefault( arg0: JavaObject?, arg1: JavaObject? ) -> JavaObject! {
var __locals = [jobject]()
var __args = [jvalue]( repeating: jvalue(), count: 2 )
__args[0] = JNIType.toJava( value: arg0, locals: &__locals )
__args[1] = JNIType.toJava( value: arg1, locals: &__locals )
let __return = JNIMethod.CallObjectMethod( object: javaObject, methodName: "getOrDefault", methodSig: "(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;", methodCache: &JavaMapForward.getOrDefault_MethodID_35, args: &__args, locals: &__locals )
defer { JNI.DeleteLocalRef( __return ) }
return __return != nil ? JavaObject( javaObject: __return ) : nil
}
open func getOrDefault( _ _arg0: JavaObject?, _ _arg1: JavaObject? ) -> JavaObject! {
return getOrDefault( arg0: _arg0, arg1: _arg1 )
}
/// public abstract int java.util.Map.hashCode()
private static var hashCode_MethodID_36: jmethodID?
open func hashCode() -> Int {
var __locals = [jobject]()
var __args = [jvalue]( repeating: jvalue(), count: 1 )
let __return = JNIMethod.CallIntMethod( object: javaObject, methodName: "hashCode", methodSig: "()I", methodCache: &JavaMapForward.hashCode_MethodID_36, args: &__args, locals: &__locals )
return Int(__return)
}
/// public abstract boolean java.util.Map.isEmpty()
private static var isEmpty_MethodID_37: jmethodID?
open func isEmpty() -> Bool {
var __locals = [jobject]()
var __args = [jvalue]( repeating: jvalue(), count: 1 )
let __return = JNIMethod.CallBooleanMethod( object: javaObject, methodName: "isEmpty", methodSig: "()Z", methodCache: &JavaMapForward.isEmpty_MethodID_37, args: &__args, locals: &__locals )
return __return != jboolean(JNI_FALSE)
}
/// public abstract java.util.Set java.util.Map.keySet()
private static var keySet_MethodID_38: jmethodID?
open func keySet() -> JavaSet! {
var __locals = [jobject]()
var __args = [jvalue]( repeating: jvalue(), count: 1 )
let __return = JNIMethod.CallObjectMethod( object: javaObject, methodName: "keySet", methodSig: "()Ljava/util/Set;", methodCache: &JavaMapForward.keySet_MethodID_38, args: &__args, locals: &__locals )
defer { JNI.DeleteLocalRef( __return ) }
return __return != nil ? JavaSetForward( javaObject: __return ) : nil
}
/// public default java.lang.Object java.util.Map.merge(java.lang.Object,java.lang.Object,java.util.function.BiFunction)
private static var merge_MethodID_39: jmethodID?
open func merge( arg0: JavaObject?, arg1: JavaObject?, arg2: /* interface java.util.function.BiFunction */ UnavailableProtocol? ) -> JavaObject! {
var __locals = [jobject]()
var __args = [jvalue]( repeating: jvalue(), count: 3 )
__args[0] = JNIType.toJava( value: arg0, locals: &__locals )
__args[1] = JNIType.toJava( value: arg1, locals: &__locals )
__args[2] = JNIType.toJava( value: arg2, locals: &__locals )
let __return = JNIMethod.CallObjectMethod( object: javaObject, methodName: "merge", methodSig: "(Ljava/lang/Object;Ljava/lang/Object;Ljava/util/function/BiFunction;)Ljava/lang/Object;", methodCache: &JavaMapForward.merge_MethodID_39, args: &__args, locals: &__locals )
defer { JNI.DeleteLocalRef( __return ) }
return __return != nil ? JavaObject( javaObject: __return ) : nil
}
open func merge( _ _arg0: JavaObject?, _ _arg1: JavaObject?, _ _arg2: /* interface java.util.function.BiFunction */ UnavailableProtocol? ) -> JavaObject! {
return merge( arg0: _arg0, arg1: _arg1, arg2: _arg2 )
}
/// public abstract java.lang.Object java.util.Map.put(java.lang.Object,java.lang.Object)
private static var put_MethodID_40: jmethodID?
open func put( arg0: JavaObject?, arg1: JavaObject? ) -> JavaObject! {
var __locals = [jobject]()
var __args = [jvalue]( repeating: jvalue(), count: 2 )
__args[0] = JNIType.toJava( value: arg0, locals: &__locals )
__args[1] = JNIType.toJava( value: arg1, locals: &__locals )
let __return = JNIMethod.CallObjectMethod( object: javaObject, methodName: "put", methodSig: "(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;", methodCache: &JavaMapForward.put_MethodID_40, args: &__args, locals: &__locals )
defer { JNI.DeleteLocalRef( __return ) }
return __return != nil ? JavaObject( javaObject: __return ) : nil
}
open func put( _ _arg0: JavaObject?, _ _arg1: JavaObject? ) -> JavaObject! {
return put( arg0: _arg0, arg1: _arg1 )
}
/// public abstract void java.util.Map.putAll(java.util.Map)
private static var putAll_MethodID_41: jmethodID?
open func putAll( arg0: JavaMap? ) {
var __locals = [jobject]()
var __args = [jvalue]( repeating: jvalue(), count: 1 )
__args[0] = JNIType.toJava( value: arg0, mapClass: "java/util/Map", locals: &__locals )
JNIMethod.CallVoidMethod( object: javaObject, methodName: "putAll", methodSig: "(Ljava/util/Map;)V", methodCache: &JavaMapForward.putAll_MethodID_41, args: &__args, locals: &__locals )
}
/// public default java.lang.Object java.util.Map.putIfAbsent(java.lang.Object,java.lang.Object)
private static var putIfAbsent_MethodID_42: jmethodID?
open func putIfAbsent( arg0: JavaObject?, arg1: JavaObject? ) -> JavaObject! {
var __locals = [jobject]()
var __args = [jvalue]( repeating: jvalue(), count: 2 )
__args[0] = JNIType.toJava( value: arg0, locals: &__locals )
__args[1] = JNIType.toJava( value: arg1, locals: &__locals )
let __return = JNIMethod.CallObjectMethod( object: javaObject, methodName: "putIfAbsent", methodSig: "(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;", methodCache: &JavaMapForward.putIfAbsent_MethodID_42, args: &__args, locals: &__locals )
defer { JNI.DeleteLocalRef( __return ) }
return __return != nil ? JavaObject( javaObject: __return ) : nil
}
open func putIfAbsent( _ _arg0: JavaObject?, _ _arg1: JavaObject? ) -> JavaObject! {
return putIfAbsent( arg0: _arg0, arg1: _arg1 )
}
/// public abstract java.lang.Object java.util.Map.remove(java.lang.Object)
private static var remove_MethodID_43: jmethodID?
open func remove( arg0: JavaObject? ) -> JavaObject! {
var __locals = [jobject]()
var __args = [jvalue]( repeating: jvalue(), count: 1 )
__args[0] = JNIType.toJava( value: arg0, locals: &__locals )
let __return = JNIMethod.CallObjectMethod( object: javaObject, methodName: "remove", methodSig: "(Ljava/lang/Object;)Ljava/lang/Object;", methodCache: &JavaMapForward.remove_MethodID_43, args: &__args, locals: &__locals )
defer { JNI.DeleteLocalRef( __return ) }
return __return != nil ? JavaObject( javaObject: __return ) : nil
}
open func remove( _ _arg0: JavaObject? ) -> JavaObject! {
return remove( arg0: _arg0 )
}
/// public default boolean java.util.Map.remove(java.lang.Object,java.lang.Object)
private static var remove_MethodID_44: jmethodID?
open func remove( arg0: JavaObject?, arg1: JavaObject? ) -> Bool {
var __locals = [jobject]()
var __args = [jvalue]( repeating: jvalue(), count: 2 )
__args[0] = JNIType.toJava( value: arg0, locals: &__locals )
__args[1] = JNIType.toJava( value: arg1, locals: &__locals )
let __return = JNIMethod.CallBooleanMethod( object: javaObject, methodName: "remove", methodSig: "(Ljava/lang/Object;Ljava/lang/Object;)Z", methodCache: &JavaMapForward.remove_MethodID_44, args: &__args, locals: &__locals )
return __return != jboolean(JNI_FALSE)
}
/// public default java.lang.Object java.util.Map.replace(java.lang.Object,java.lang.Object)
private static var replace_MethodID_45: jmethodID?
open func replace( arg0: JavaObject?, arg1: JavaObject? ) -> JavaObject! {
var __locals = [jobject]()
var __args = [jvalue]( repeating: jvalue(), count: 2 )
__args[0] = JNIType.toJava( value: arg0, locals: &__locals )
__args[1] = JNIType.toJava( value: arg1, locals: &__locals )
let __return = JNIMethod.CallObjectMethod( object: javaObject, methodName: "replace", methodSig: "(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;", methodCache: &JavaMapForward.replace_MethodID_45, args: &__args, locals: &__locals )
defer { JNI.DeleteLocalRef( __return ) }
return __return != nil ? JavaObject( javaObject: __return ) : nil
}
open func replace( _ _arg0: JavaObject?, _ _arg1: JavaObject? ) -> JavaObject! {
return replace( arg0: _arg0, arg1: _arg1 )
}
/// public default boolean java.util.Map.replace(java.lang.Object,java.lang.Object,java.lang.Object)
private static var replace_MethodID_46: jmethodID?
open func replace( arg0: JavaObject?, arg1: JavaObject?, arg2: JavaObject? ) -> Bool {
var __locals = [jobject]()
var __args = [jvalue]( repeating: jvalue(), count: 3 )
__args[0] = JNIType.toJava( value: arg0, locals: &__locals )
__args[1] = JNIType.toJava( value: arg1, locals: &__locals )
__args[2] = JNIType.toJava( value: arg2, locals: &__locals )
let __return = JNIMethod.CallBooleanMethod( object: javaObject, methodName: "replace", methodSig: "(Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;)Z", methodCache: &JavaMapForward.replace_MethodID_46, args: &__args, locals: &__locals )
return __return != jboolean(JNI_FALSE)
}
/// public default void java.util.Map.replaceAll(java.util.function.BiFunction)
private static var replaceAll_MethodID_47: jmethodID?
open func replaceAll( arg0: /* interface java.util.function.BiFunction */ UnavailableProtocol? ) {
var __locals = [jobject]()
var __args = [jvalue]( repeating: jvalue(), count: 1 )
__args[0] = JNIType.toJava( value: arg0, locals: &__locals )
JNIMethod.CallVoidMethod( object: javaObject, methodName: "replaceAll", methodSig: "(Ljava/util/function/BiFunction;)V", methodCache: &JavaMapForward.replaceAll_MethodID_47, args: &__args, locals: &__locals )
}
/// public abstract int java.util.Map.size()
private static var size_MethodID_48: jmethodID?
open func size() -> Int {
var __locals = [jobject]()
var __args = [jvalue]( repeating: jvalue(), count: 1 )
let __return = JNIMethod.CallIntMethod( object: javaObject, methodName: "size", methodSig: "()I", methodCache: &JavaMapForward.size_MethodID_48, args: &__args, locals: &__locals )
return Int(__return)
}
/// public abstract java.util.Collection java.util.Map.values()
// Skipping method: false false true false false
}