-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathConcurrentSkipListMap.swift
More file actions
1008 lines (701 loc) · 52.5 KB
/
ConcurrentSkipListMap.swift
File metadata and controls
1008 lines (701 loc) · 52.5 KB
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
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
import java_swift
import java_lang
/// generated by: genswift.java 'java/lang|java/util|java/sql|java/awt|javax/swing' ///
/// class java.util.concurrent.ConcurrentSkipListMap ///
open class ConcurrentSkipListMap: AbstractMap, java_lang.Cloneable, /* interface java.io.Serializable */ UnavailableProtocol {
public convenience init?( casting object: java_swift.JavaObject, _ file: StaticString = #file, _ line: Int = #line ) {
self.init( javaObject: nil )
if !object.validDownCast( toJavaClass: "java.util.concurrent.ConcurrentSkipListMap", file, line ) {
return nil
}
object.withJavaObject {
self.javaObject = $0
}
}
private static var ConcurrentSkipListMapJNIClass: jclass?
/// private static final java.lang.Object java.util.concurrent.ConcurrentSkipListMap.BASE_HEADER
/// private static final int java.util.concurrent.ConcurrentSkipListMap.EQ
/// private static final int java.util.concurrent.ConcurrentSkipListMap.GT
/// private static final int java.util.concurrent.ConcurrentSkipListMap.LT
/// private static final long java.util.concurrent.ConcurrentSkipListMap.SECONDARY
/// private static final sun.misc.Unsafe java.util.concurrent.ConcurrentSkipListMap.UNSAFE
/// private static final long java.util.concurrent.ConcurrentSkipListMap.headOffset
/// private static final long java.util.concurrent.ConcurrentSkipListMap.serialVersionUID
/// final java.util.Comparator java.util.concurrent.ConcurrentSkipListMap.comparator
// Skipping field: true false false false true false
/// private transient java.util.concurrent.ConcurrentNavigableMap java.util.concurrent.ConcurrentSkipListMap.descendingMap
/// private transient java.util.concurrent.ConcurrentSkipListMap$EntrySet java.util.concurrent.ConcurrentSkipListMap.entrySet
/// private transient volatile java.util.concurrent.ConcurrentSkipListMap$HeadIndex java.util.concurrent.ConcurrentSkipListMap.head
/// private transient java.util.concurrent.ConcurrentSkipListMap$KeySet java.util.concurrent.ConcurrentSkipListMap.keySet
/// private transient java.util.concurrent.ConcurrentSkipListMap$Values java.util.concurrent.ConcurrentSkipListMap.values
/// transient java.util.Set java.util.AbstractMap.keySet
// Skipping field: true false false false true false
/// transient java.util.Collection java.util.AbstractMap.values
// Skipping field: true false false false true false
/// public java.util.concurrent.ConcurrentSkipListMap()
private static var new_MethodID_1: jmethodID?
public convenience init() {
var __locals = [jobject]()
var __args = [jvalue]( repeating: jvalue(), count: 1 )
let __object = JNIMethod.NewObject( className: "java/util/concurrent/ConcurrentSkipListMap", classCache: &ConcurrentSkipListMap.ConcurrentSkipListMapJNIClass, methodSig: "()V", methodCache: &ConcurrentSkipListMap.new_MethodID_1, args: &__args, locals: &__locals )
self.init( javaObject: __object )
JNI.DeleteLocalRef( __object )
}
/// public java.util.concurrent.ConcurrentSkipListMap(java.util.Comparator)
private static var new_MethodID_2: jmethodID?
public convenience init( comparator: JavaComparator? ) {
var __locals = [jobject]()
var __args = [jvalue]( repeating: jvalue(), count: 1 )
__args[0] = JNIType.toJava( value: comparator, locals: &__locals )
let __object = JNIMethod.NewObject( className: "java/util/concurrent/ConcurrentSkipListMap", classCache: &ConcurrentSkipListMap.ConcurrentSkipListMapJNIClass, methodSig: "(Ljava/util/Comparator;)V", methodCache: &ConcurrentSkipListMap.new_MethodID_2, args: &__args, locals: &__locals )
self.init( javaObject: __object )
JNI.DeleteLocalRef( __object )
}
public convenience init( _ _comparator: JavaComparator? ) {
self.init( comparator: _comparator )
}
/// public java.util.concurrent.ConcurrentSkipListMap(java.util.SortedMap)
private static var new_MethodID_3: jmethodID?
public convenience init( m: SortedMap? ) {
var __locals = [jobject]()
var __args = [jvalue]( repeating: jvalue(), count: 1 )
__args[0] = JNIType.toJava( value: m, mapClass: "java/util/SortedMap", locals: &__locals )
let __object = JNIMethod.NewObject( className: "java/util/concurrent/ConcurrentSkipListMap", classCache: &ConcurrentSkipListMap.ConcurrentSkipListMapJNIClass, methodSig: "(Ljava/util/SortedMap;)V", methodCache: &ConcurrentSkipListMap.new_MethodID_3, args: &__args, locals: &__locals )
self.init( javaObject: __object )
JNI.DeleteLocalRef( __object )
}
public convenience init( _ _m: SortedMap? ) {
self.init( m: _m )
}
/// public java.util.concurrent.ConcurrentSkipListMap(java.util.Map)
private static var new_MethodID_4: jmethodID?
public convenience init( m: java_swift.JavaMap? ) {
var __locals = [jobject]()
var __args = [jvalue]( repeating: jvalue(), count: 1 )
__args[0] = JNIType.toJava( value: m, mapClass: "java/util/Map", locals: &__locals )
let __object = JNIMethod.NewObject( className: "java/util/concurrent/ConcurrentSkipListMap", classCache: &ConcurrentSkipListMap.ConcurrentSkipListMapJNIClass, methodSig: "(Ljava/util/Map;)V", methodCache: &ConcurrentSkipListMap.new_MethodID_4, args: &__args, locals: &__locals )
self.init( javaObject: __object )
JNI.DeleteLocalRef( __object )
}
public convenience init( _ _m: java_swift.JavaMap? ) {
self.init( m: _m )
}
/// static java.lang.Object java.util.concurrent.ConcurrentSkipListMap.access$000()
// Skipping method: true false false false false
/// static final int java.util.concurrent.ConcurrentSkipListMap.cpr(java.util.Comparator,java.lang.Object,java.lang.Object)
// Skipping method: true false false false false
/// static final java.util.List java.util.concurrent.ConcurrentSkipListMap.toList(java.util.Collection)
// Skipping method: true false false false false
/// private void java.util.concurrent.ConcurrentSkipListMap.buildFromSorted(java.util.SortedMap)
/// private boolean java.util.concurrent.ConcurrentSkipListMap.casHead(java.util.concurrent.ConcurrentSkipListMap$HeadIndex,java.util.concurrent.ConcurrentSkipListMap$HeadIndex)
/// public java.util.Map$Entry java.util.concurrent.ConcurrentSkipListMap.ceilingEntry(java.lang.Object)
private static var ceilingEntry_MethodID_5: jmethodID?
open func ceilingEntry( key: java_swift.JavaObject? ) -> /* interface java.util.Map$Entry */ UnavailableProtocol! {
var __locals = [jobject]()
var __args = [jvalue]( repeating: jvalue(), count: 1 )
__args[0] = JNIType.toJava( value: key, locals: &__locals )
let __return = JNIMethod.CallObjectMethod( object: javaObject, methodName: "ceilingEntry", methodSig: "(Ljava/lang/Object;)Ljava/util/Map$Entry;", methodCache: &ConcurrentSkipListMap.ceilingEntry_MethodID_5, args: &__args, locals: &__locals )
defer { JNI.DeleteLocalRef( __return ) }
return __return != nil ? /* interface java.util.Map$Entry */ UnavailableProtocolForward( javaObject: __return ) : nil
}
open func ceilingEntry( _ _key: java_swift.JavaObject? ) -> /* interface java.util.Map$Entry */ UnavailableProtocol! {
return ceilingEntry( key: _key )
}
/// public java.lang.Object java.util.concurrent.ConcurrentSkipListMap.ceilingKey(java.lang.Object)
private static var ceilingKey_MethodID_6: jmethodID?
open func ceilingKey( key: java_swift.JavaObject? ) -> java_swift.JavaObject! {
var __locals = [jobject]()
var __args = [jvalue]( repeating: jvalue(), count: 1 )
__args[0] = JNIType.toJava( value: key, locals: &__locals )
let __return = JNIMethod.CallObjectMethod( object: javaObject, methodName: "ceilingKey", methodSig: "(Ljava/lang/Object;)Ljava/lang/Object;", methodCache: &ConcurrentSkipListMap.ceilingKey_MethodID_6, args: &__args, locals: &__locals )
defer { JNI.DeleteLocalRef( __return ) }
return __return != nil ? java_swift.JavaObject( javaObject: __return ) : nil
}
open func ceilingKey( _ _key: java_swift.JavaObject? ) -> java_swift.JavaObject! {
return ceilingKey( key: _key )
}
/// public void java.util.concurrent.ConcurrentSkipListMap.clear()
// Skipping method: false true false false false
/// private void java.util.concurrent.ConcurrentSkipListMap.clearIndexToFirst()
/// public java.util.concurrent.ConcurrentSkipListMap java.util.concurrent.ConcurrentSkipListMap.clone()
private static var clone_MethodID_7: jmethodID?
override open func clone() -> ConcurrentSkipListMap! {
var __locals = [jobject]()
var __args = [jvalue]( repeating: jvalue(), count: 1 )
let __return = JNIMethod.CallObjectMethod( object: javaObject, methodName: "clone", methodSig: "()Ljava/util/concurrent/ConcurrentSkipListMap;", methodCache: &ConcurrentSkipListMap.clone_MethodID_7, args: &__args, locals: &__locals )
return JNIType.toSwift( type: ConcurrentSkipListMap.self, from: __return )
}
/// public java.lang.Object java.util.concurrent.ConcurrentSkipListMap.clone() throws java.lang.CloneNotSupportedException
// private static var clone_MethodID_8: jmethodID?
//
// override open func clone() throws /* java.lang.CloneNotSupportedException */ -> java_swift.JavaObject! {
// var __locals = [jobject]()
// var __args = [jvalue]( repeating: jvalue(), count: 1 )
// let __return = JNIMethod.CallObjectMethod( object: javaObject, methodName: "clone", methodSig: "()Ljava/lang/Object;", methodCache: &ConcurrentSkipListMap.clone_MethodID_8, args: &__args, locals: &__locals )
// defer { JNI.DeleteLocalRef( __return ) }
// if let throwable = JNI.ExceptionCheck() {
// defer { JNI.DeleteLocalRef( throwable ) }
// throw java_lang.CloneNotSupportedException( javaObject: throwable )
// }
// return __return != nil ? java_swift.JavaObject( javaObject: __return ) : nil
// }
/// public java.util.Comparator java.util.concurrent.ConcurrentSkipListMap.comparator()
private static var comparator_MethodID_9: jmethodID?
open func comparator() -> JavaComparator! {
var __locals = [jobject]()
var __args = [jvalue]( repeating: jvalue(), count: 1 )
let __return = JNIMethod.CallObjectMethod( object: javaObject, methodName: "comparator", methodSig: "()Ljava/util/Comparator;", methodCache: &ConcurrentSkipListMap.comparator_MethodID_9, args: &__args, locals: &__locals )
defer { JNI.DeleteLocalRef( __return ) }
return __return != nil ? JavaComparatorForward( javaObject: __return ) : nil
}
/// public java.lang.Object java.util.concurrent.ConcurrentSkipListMap.compute(java.lang.Object,java.util.function.BiFunction)
private static var compute_MethodID_10: jmethodID?
override open func compute( arg0: java_swift.JavaObject?, arg1: BiFunction? ) -> java_swift.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: &ConcurrentSkipListMap.compute_MethodID_10, args: &__args, locals: &__locals )
defer { JNI.DeleteLocalRef( __return ) }
return __return != nil ? java_swift.JavaObject( javaObject: __return ) : nil
}
override open func compute( _ _arg0: java_swift.JavaObject?, _ _arg1: BiFunction? ) -> java_swift.JavaObject! {
return compute( arg0: _arg0, arg1: _arg1 )
}
/// public java.lang.Object java.util.concurrent.ConcurrentSkipListMap.computeIfAbsent(java.lang.Object,java.util.function.Function)
private static var computeIfAbsent_MethodID_11: jmethodID?
override open func computeIfAbsent( arg0: java_swift.JavaObject?, arg1: Function? ) -> java_swift.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: &ConcurrentSkipListMap.computeIfAbsent_MethodID_11, args: &__args, locals: &__locals )
defer { JNI.DeleteLocalRef( __return ) }
return __return != nil ? java_swift.JavaObject( javaObject: __return ) : nil
}
override open func computeIfAbsent( _ _arg0: java_swift.JavaObject?, _ _arg1: Function? ) -> java_swift.JavaObject! {
return computeIfAbsent( arg0: _arg0, arg1: _arg1 )
}
/// public java.lang.Object java.util.concurrent.ConcurrentSkipListMap.computeIfPresent(java.lang.Object,java.util.function.BiFunction)
private static var computeIfPresent_MethodID_12: jmethodID?
override open func computeIfPresent( arg0: java_swift.JavaObject?, arg1: BiFunction? ) -> java_swift.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: &ConcurrentSkipListMap.computeIfPresent_MethodID_12, args: &__args, locals: &__locals )
defer { JNI.DeleteLocalRef( __return ) }
return __return != nil ? java_swift.JavaObject( javaObject: __return ) : nil
}
override open func computeIfPresent( _ _arg0: java_swift.JavaObject?, _ _arg1: BiFunction? ) -> java_swift.JavaObject! {
return computeIfPresent( arg0: _arg0, arg1: _arg1 )
}
/// public boolean java.util.concurrent.ConcurrentSkipListMap.containsKey(java.lang.Object)
// Skipping method: false true false false false
/// public boolean java.util.concurrent.ConcurrentSkipListMap.containsValue(java.lang.Object)
// Skipping method: false true false false false
/// public java.util.NavigableSet java.util.concurrent.ConcurrentSkipListMap.descendingKeySet()
private static var descendingKeySet_MethodID_13: jmethodID?
open func descendingKeySet() -> NavigableSet! {
var __locals = [jobject]()
var __args = [jvalue]( repeating: jvalue(), count: 1 )
let __return = JNIMethod.CallObjectMethod( object: javaObject, methodName: "descendingKeySet", methodSig: "()Ljava/util/NavigableSet;", methodCache: &ConcurrentSkipListMap.descendingKeySet_MethodID_13, args: &__args, locals: &__locals )
defer { JNI.DeleteLocalRef( __return ) }
return __return != nil ? NavigableSetForward( javaObject: __return ) : nil
}
/// public java.util.NavigableMap java.util.concurrent.ConcurrentSkipListMap.descendingMap()
private static var descendingMap_MethodID_14: jmethodID?
open func descendingMap() -> NavigableMap! {
var __locals = [jobject]()
var __args = [jvalue]( repeating: jvalue(), count: 1 )
let __return = JNIMethod.CallObjectMethod( object: javaObject, methodName: "descendingMap", methodSig: "()Ljava/util/NavigableMap;", methodCache: &ConcurrentSkipListMap.descendingMap_MethodID_14, args: &__args, locals: &__locals )
return JNIType.toSwift( type: NavigableMapForward.self, from: __return )
}
/// public java.util.concurrent.ConcurrentNavigableMap java.util.concurrent.ConcurrentSkipListMap.descendingMap()
/// private java.lang.Object java.util.concurrent.ConcurrentSkipListMap.doGet(java.lang.Object)
/// private java.lang.Object java.util.concurrent.ConcurrentSkipListMap.doPut(java.lang.Object,java.lang.Object,boolean)
/// final java.lang.Object java.util.concurrent.ConcurrentSkipListMap.doRemove(java.lang.Object,java.lang.Object)
// Skipping method: true false false false false
/// private java.util.Map$Entry java.util.concurrent.ConcurrentSkipListMap.doRemoveFirstEntry()
/// private java.util.Map$Entry java.util.concurrent.ConcurrentSkipListMap.doRemoveLastEntry()
/// java.util.Iterator java.util.concurrent.ConcurrentSkipListMap.entryIterator()
// Skipping method: true false false false false
/// public java.util.Set java.util.concurrent.ConcurrentSkipListMap.entrySet()
// Skipping method: false true false false false
/// final java.util.concurrent.ConcurrentSkipListMap$EntrySpliterator java.util.concurrent.ConcurrentSkipListMap.entrySpliterator()
// Skipping method: true false false false false
/// public boolean java.util.concurrent.ConcurrentSkipListMap.equals(java.lang.Object)
// Skipping method: false true false false false
/// final java.util.concurrent.ConcurrentSkipListMap$Node java.util.concurrent.ConcurrentSkipListMap.findFirst()
// Skipping method: true false false false false
/// final java.util.concurrent.ConcurrentSkipListMap$Node java.util.concurrent.ConcurrentSkipListMap.findLast()
// Skipping method: true false false false false
/// final java.util.concurrent.ConcurrentSkipListMap$Node java.util.concurrent.ConcurrentSkipListMap.findNear(java.lang.Object,int,java.util.Comparator)
// Skipping method: true false false false false
/// private java.util.concurrent.ConcurrentSkipListMap$Node java.util.concurrent.ConcurrentSkipListMap.findNode(java.lang.Object)
/// private java.util.concurrent.ConcurrentSkipListMap$Node java.util.concurrent.ConcurrentSkipListMap.findPredecessor(java.lang.Object,java.util.Comparator)
/// private java.util.concurrent.ConcurrentSkipListMap$Node java.util.concurrent.ConcurrentSkipListMap.findPredecessorOfLast()
/// public java.util.Map$Entry java.util.concurrent.ConcurrentSkipListMap.firstEntry()
private static var firstEntry_MethodID_15: jmethodID?
open func firstEntry() -> /* interface java.util.Map$Entry */ UnavailableProtocol! {
var __locals = [jobject]()
var __args = [jvalue]( repeating: jvalue(), count: 1 )
let __return = JNIMethod.CallObjectMethod( object: javaObject, methodName: "firstEntry", methodSig: "()Ljava/util/Map$Entry;", methodCache: &ConcurrentSkipListMap.firstEntry_MethodID_15, args: &__args, locals: &__locals )
defer { JNI.DeleteLocalRef( __return ) }
return __return != nil ? /* interface java.util.Map$Entry */ UnavailableProtocolForward( javaObject: __return ) : nil
}
/// public java.lang.Object java.util.concurrent.ConcurrentSkipListMap.firstKey()
private static var firstKey_MethodID_16: jmethodID?
open func firstKey() -> java_swift.JavaObject! {
var __locals = [jobject]()
var __args = [jvalue]( repeating: jvalue(), count: 1 )
let __return = JNIMethod.CallObjectMethod( object: javaObject, methodName: "firstKey", methodSig: "()Ljava/lang/Object;", methodCache: &ConcurrentSkipListMap.firstKey_MethodID_16, args: &__args, locals: &__locals )
defer { JNI.DeleteLocalRef( __return ) }
return __return != nil ? java_swift.JavaObject( javaObject: __return ) : nil
}
/// public java.util.Map$Entry java.util.concurrent.ConcurrentSkipListMap.floorEntry(java.lang.Object)
private static var floorEntry_MethodID_17: jmethodID?
open func floorEntry( key: java_swift.JavaObject? ) -> /* interface java.util.Map$Entry */ UnavailableProtocol! {
var __locals = [jobject]()
var __args = [jvalue]( repeating: jvalue(), count: 1 )
__args[0] = JNIType.toJava( value: key, locals: &__locals )
let __return = JNIMethod.CallObjectMethod( object: javaObject, methodName: "floorEntry", methodSig: "(Ljava/lang/Object;)Ljava/util/Map$Entry;", methodCache: &ConcurrentSkipListMap.floorEntry_MethodID_17, args: &__args, locals: &__locals )
defer { JNI.DeleteLocalRef( __return ) }
return __return != nil ? /* interface java.util.Map$Entry */ UnavailableProtocolForward( javaObject: __return ) : nil
}
open func floorEntry( _ _key: java_swift.JavaObject? ) -> /* interface java.util.Map$Entry */ UnavailableProtocol! {
return floorEntry( key: _key )
}
/// public java.lang.Object java.util.concurrent.ConcurrentSkipListMap.floorKey(java.lang.Object)
private static var floorKey_MethodID_18: jmethodID?
open func floorKey( key: java_swift.JavaObject? ) -> java_swift.JavaObject! {
var __locals = [jobject]()
var __args = [jvalue]( repeating: jvalue(), count: 1 )
__args[0] = JNIType.toJava( value: key, locals: &__locals )
let __return = JNIMethod.CallObjectMethod( object: javaObject, methodName: "floorKey", methodSig: "(Ljava/lang/Object;)Ljava/lang/Object;", methodCache: &ConcurrentSkipListMap.floorKey_MethodID_18, args: &__args, locals: &__locals )
defer { JNI.DeleteLocalRef( __return ) }
return __return != nil ? java_swift.JavaObject( javaObject: __return ) : nil
}
open func floorKey( _ _key: java_swift.JavaObject? ) -> java_swift.JavaObject! {
return floorKey( key: _key )
}
/// public void java.util.concurrent.ConcurrentSkipListMap.forEach(java.util.function.BiConsumer)
private static var forEach_MethodID_19: jmethodID?
override open func forEach( arg0: BiConsumer? ) {
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: &ConcurrentSkipListMap.forEach_MethodID_19, args: &__args, locals: &__locals )
}
override open func forEach( _ _arg0: BiConsumer? ) {
forEach( arg0: _arg0 )
}
/// public java.lang.Object java.util.concurrent.ConcurrentSkipListMap.get(java.lang.Object)
// Skipping method: false true false false false
/// final java.util.AbstractMap$SimpleImmutableEntry java.util.concurrent.ConcurrentSkipListMap.getNear(java.lang.Object,int)
// Skipping method: true false false false false
/// public java.lang.Object java.util.concurrent.ConcurrentSkipListMap.getOrDefault(java.lang.Object,java.lang.Object)
private static var getOrDefault_MethodID_20: jmethodID?
override open func getOrDefault( arg0: java_swift.JavaObject?, arg1: java_swift.JavaObject? ) -> java_swift.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: &ConcurrentSkipListMap.getOrDefault_MethodID_20, args: &__args, locals: &__locals )
defer { JNI.DeleteLocalRef( __return ) }
return __return != nil ? java_swift.JavaObject( javaObject: __return ) : nil
}
override open func getOrDefault( _ _arg0: java_swift.JavaObject?, _ _arg1: java_swift.JavaObject? ) -> java_swift.JavaObject! {
return getOrDefault( arg0: _arg0, arg1: _arg1 )
}
/// public java.util.SortedMap java.util.concurrent.ConcurrentSkipListMap.headMap(java.lang.Object)
private static var headMap_MethodID_21: jmethodID?
open func headMap( toKey: java_swift.JavaObject? ) -> SortedMap! {
var __locals = [jobject]()
var __args = [jvalue]( repeating: jvalue(), count: 1 )
__args[0] = JNIType.toJava( value: toKey, locals: &__locals )
let __return = JNIMethod.CallObjectMethod( object: javaObject, methodName: "headMap", methodSig: "(Ljava/lang/Object;)Ljava/util/SortedMap;", methodCache: &ConcurrentSkipListMap.headMap_MethodID_21, args: &__args, locals: &__locals )
return JNIType.toSwift( type: SortedMapForward.self, from: __return )
}
open func headMap( _ _toKey: java_swift.JavaObject? ) -> SortedMap! {
return headMap( toKey: _toKey )
}
/// public java.util.concurrent.ConcurrentNavigableMap java.util.concurrent.ConcurrentSkipListMap.headMap(java.lang.Object)
/// public java.util.NavigableMap java.util.concurrent.ConcurrentSkipListMap.headMap(java.lang.Object,boolean)
private static var headMap_MethodID_22: jmethodID?
open func headMap( toKey: java_swift.JavaObject?, inclusive: Bool ) -> NavigableMap! {
var __locals = [jobject]()
var __args = [jvalue]( repeating: jvalue(), count: 2 )
__args[0] = JNIType.toJava( value: toKey, locals: &__locals )
__args[1] = jvalue( z: jboolean(inclusive ? JNI_TRUE : JNI_FALSE) )
let __return = JNIMethod.CallObjectMethod( object: javaObject, methodName: "headMap", methodSig: "(Ljava/lang/Object;Z)Ljava/util/NavigableMap;", methodCache: &ConcurrentSkipListMap.headMap_MethodID_22, args: &__args, locals: &__locals )
return JNIType.toSwift( type: NavigableMapForward.self, from: __return )
}
open func headMap( _ _toKey: java_swift.JavaObject?, _ _inclusive: Bool ) -> NavigableMap! {
return headMap( toKey: _toKey, inclusive: _inclusive )
}
/// public java.util.concurrent.ConcurrentNavigableMap java.util.concurrent.ConcurrentSkipListMap.headMap(java.lang.Object,boolean)
/// public java.util.Map$Entry java.util.concurrent.ConcurrentSkipListMap.higherEntry(java.lang.Object)
private static var higherEntry_MethodID_23: jmethodID?
open func higherEntry( key: java_swift.JavaObject? ) -> /* interface java.util.Map$Entry */ UnavailableProtocol! {
var __locals = [jobject]()
var __args = [jvalue]( repeating: jvalue(), count: 1 )
__args[0] = JNIType.toJava( value: key, locals: &__locals )
let __return = JNIMethod.CallObjectMethod( object: javaObject, methodName: "higherEntry", methodSig: "(Ljava/lang/Object;)Ljava/util/Map$Entry;", methodCache: &ConcurrentSkipListMap.higherEntry_MethodID_23, args: &__args, locals: &__locals )
defer { JNI.DeleteLocalRef( __return ) }
return __return != nil ? /* interface java.util.Map$Entry */ UnavailableProtocolForward( javaObject: __return ) : nil
}
open func higherEntry( _ _key: java_swift.JavaObject? ) -> /* interface java.util.Map$Entry */ UnavailableProtocol! {
return higherEntry( key: _key )
}
/// public java.lang.Object java.util.concurrent.ConcurrentSkipListMap.higherKey(java.lang.Object)
private static var higherKey_MethodID_24: jmethodID?
open func higherKey( key: java_swift.JavaObject? ) -> java_swift.JavaObject! {
var __locals = [jobject]()
var __args = [jvalue]( repeating: jvalue(), count: 1 )
__args[0] = JNIType.toJava( value: key, locals: &__locals )
let __return = JNIMethod.CallObjectMethod( object: javaObject, methodName: "higherKey", methodSig: "(Ljava/lang/Object;)Ljava/lang/Object;", methodCache: &ConcurrentSkipListMap.higherKey_MethodID_24, args: &__args, locals: &__locals )
defer { JNI.DeleteLocalRef( __return ) }
return __return != nil ? java_swift.JavaObject( javaObject: __return ) : nil
}
open func higherKey( _ _key: java_swift.JavaObject? ) -> java_swift.JavaObject! {
return higherKey( key: _key )
}
/// private void java.util.concurrent.ConcurrentSkipListMap.initialize()
/// public boolean java.util.concurrent.ConcurrentSkipListMap.isEmpty()
// Skipping method: false true false false false
/// java.util.Iterator java.util.concurrent.ConcurrentSkipListMap.keyIterator()
// Skipping method: true false false false false
/// public java.util.NavigableSet java.util.concurrent.ConcurrentSkipListMap.keySet()
// Skipping method: false true false false false
/// public java.util.Set java.util.concurrent.ConcurrentSkipListMap.keySet()
// Skipping method: false true false false false
/// final java.util.concurrent.ConcurrentSkipListMap$KeySpliterator java.util.concurrent.ConcurrentSkipListMap.keySpliterator()
// Skipping method: true false false false false
/// public java.util.Map$Entry java.util.concurrent.ConcurrentSkipListMap.lastEntry()
private static var lastEntry_MethodID_25: jmethodID?
open func lastEntry() -> /* interface java.util.Map$Entry */ UnavailableProtocol! {
var __locals = [jobject]()
var __args = [jvalue]( repeating: jvalue(), count: 1 )
let __return = JNIMethod.CallObjectMethod( object: javaObject, methodName: "lastEntry", methodSig: "()Ljava/util/Map$Entry;", methodCache: &ConcurrentSkipListMap.lastEntry_MethodID_25, args: &__args, locals: &__locals )
defer { JNI.DeleteLocalRef( __return ) }
return __return != nil ? /* interface java.util.Map$Entry */ UnavailableProtocolForward( javaObject: __return ) : nil
}
/// public java.lang.Object java.util.concurrent.ConcurrentSkipListMap.lastKey()
private static var lastKey_MethodID_26: jmethodID?
open func lastKey() -> java_swift.JavaObject! {
var __locals = [jobject]()
var __args = [jvalue]( repeating: jvalue(), count: 1 )
let __return = JNIMethod.CallObjectMethod( object: javaObject, methodName: "lastKey", methodSig: "()Ljava/lang/Object;", methodCache: &ConcurrentSkipListMap.lastKey_MethodID_26, args: &__args, locals: &__locals )
defer { JNI.DeleteLocalRef( __return ) }
return __return != nil ? java_swift.JavaObject( javaObject: __return ) : nil
}
/// public java.util.Map$Entry java.util.concurrent.ConcurrentSkipListMap.lowerEntry(java.lang.Object)
private static var lowerEntry_MethodID_27: jmethodID?
open func lowerEntry( key: java_swift.JavaObject? ) -> /* interface java.util.Map$Entry */ UnavailableProtocol! {
var __locals = [jobject]()
var __args = [jvalue]( repeating: jvalue(), count: 1 )
__args[0] = JNIType.toJava( value: key, locals: &__locals )
let __return = JNIMethod.CallObjectMethod( object: javaObject, methodName: "lowerEntry", methodSig: "(Ljava/lang/Object;)Ljava/util/Map$Entry;", methodCache: &ConcurrentSkipListMap.lowerEntry_MethodID_27, args: &__args, locals: &__locals )
defer { JNI.DeleteLocalRef( __return ) }
return __return != nil ? /* interface java.util.Map$Entry */ UnavailableProtocolForward( javaObject: __return ) : nil
}
open func lowerEntry( _ _key: java_swift.JavaObject? ) -> /* interface java.util.Map$Entry */ UnavailableProtocol! {
return lowerEntry( key: _key )
}
/// public java.lang.Object java.util.concurrent.ConcurrentSkipListMap.lowerKey(java.lang.Object)
private static var lowerKey_MethodID_28: jmethodID?
open func lowerKey( key: java_swift.JavaObject? ) -> java_swift.JavaObject! {
var __locals = [jobject]()
var __args = [jvalue]( repeating: jvalue(), count: 1 )
__args[0] = JNIType.toJava( value: key, locals: &__locals )
let __return = JNIMethod.CallObjectMethod( object: javaObject, methodName: "lowerKey", methodSig: "(Ljava/lang/Object;)Ljava/lang/Object;", methodCache: &ConcurrentSkipListMap.lowerKey_MethodID_28, args: &__args, locals: &__locals )
defer { JNI.DeleteLocalRef( __return ) }
return __return != nil ? java_swift.JavaObject( javaObject: __return ) : nil
}
open func lowerKey( _ _key: java_swift.JavaObject? ) -> java_swift.JavaObject! {
return lowerKey( key: _key )
}
/// public java.lang.Object java.util.concurrent.ConcurrentSkipListMap.merge(java.lang.Object,java.lang.Object,java.util.function.BiFunction)
private static var merge_MethodID_29: jmethodID?
override open func merge( arg0: java_swift.JavaObject?, arg1: java_swift.JavaObject?, arg2: BiFunction? ) -> java_swift.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: &ConcurrentSkipListMap.merge_MethodID_29, args: &__args, locals: &__locals )
defer { JNI.DeleteLocalRef( __return ) }
return __return != nil ? java_swift.JavaObject( javaObject: __return ) : nil
}
override open func merge( _ _arg0: java_swift.JavaObject?, _ _arg1: java_swift.JavaObject?, _ _arg2: BiFunction? ) -> java_swift.JavaObject! {
return merge( arg0: _arg0, arg1: _arg1, arg2: _arg2 )
}
/// public java.util.NavigableSet java.util.concurrent.ConcurrentSkipListMap.navigableKeySet()
private static var navigableKeySet_MethodID_30: jmethodID?
open func navigableKeySet() -> NavigableSet! {
var __locals = [jobject]()
var __args = [jvalue]( repeating: jvalue(), count: 1 )
let __return = JNIMethod.CallObjectMethod( object: javaObject, methodName: "navigableKeySet", methodSig: "()Ljava/util/NavigableSet;", methodCache: &ConcurrentSkipListMap.navigableKeySet_MethodID_30, args: &__args, locals: &__locals )
defer { JNI.DeleteLocalRef( __return ) }
return __return != nil ? NavigableSetForward( javaObject: __return ) : nil
}
/// public java.util.Map$Entry java.util.concurrent.ConcurrentSkipListMap.pollFirstEntry()
private static var pollFirstEntry_MethodID_31: jmethodID?
open func pollFirstEntry() -> /* interface java.util.Map$Entry */ UnavailableProtocol! {
var __locals = [jobject]()
var __args = [jvalue]( repeating: jvalue(), count: 1 )
let __return = JNIMethod.CallObjectMethod( object: javaObject, methodName: "pollFirstEntry", methodSig: "()Ljava/util/Map$Entry;", methodCache: &ConcurrentSkipListMap.pollFirstEntry_MethodID_31, args: &__args, locals: &__locals )
defer { JNI.DeleteLocalRef( __return ) }
return __return != nil ? /* interface java.util.Map$Entry */ UnavailableProtocolForward( javaObject: __return ) : nil
}
/// public java.util.Map$Entry java.util.concurrent.ConcurrentSkipListMap.pollLastEntry()
private static var pollLastEntry_MethodID_32: jmethodID?
open func pollLastEntry() -> /* interface java.util.Map$Entry */ UnavailableProtocol! {
var __locals = [jobject]()
var __args = [jvalue]( repeating: jvalue(), count: 1 )
let __return = JNIMethod.CallObjectMethod( object: javaObject, methodName: "pollLastEntry", methodSig: "()Ljava/util/Map$Entry;", methodCache: &ConcurrentSkipListMap.pollLastEntry_MethodID_32, args: &__args, locals: &__locals )
defer { JNI.DeleteLocalRef( __return ) }
return __return != nil ? /* interface java.util.Map$Entry */ UnavailableProtocolForward( javaObject: __return ) : nil
}
/// public java.lang.Object java.util.concurrent.ConcurrentSkipListMap.put(java.lang.Object,java.lang.Object)
// Skipping method: false true false false false
/// public java.lang.Object java.util.concurrent.ConcurrentSkipListMap.putIfAbsent(java.lang.Object,java.lang.Object)
private static var putIfAbsent_MethodID_33: jmethodID?
override open func putIfAbsent( arg0: java_swift.JavaObject?, arg1: java_swift.JavaObject? ) -> java_swift.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: &ConcurrentSkipListMap.putIfAbsent_MethodID_33, args: &__args, locals: &__locals )
defer { JNI.DeleteLocalRef( __return ) }
return __return != nil ? java_swift.JavaObject( javaObject: __return ) : nil
}
override open func putIfAbsent( _ _arg0: java_swift.JavaObject?, _ _arg1: java_swift.JavaObject? ) -> java_swift.JavaObject! {
return putIfAbsent( arg0: _arg0, arg1: _arg1 )
}
/// private void java.util.concurrent.ConcurrentSkipListMap.readObject(java.io.ObjectInputStream) throws java.io.IOException,java.lang.ClassNotFoundException
/// public java.lang.Object java.util.concurrent.ConcurrentSkipListMap.remove(java.lang.Object)
// Skipping method: false true false false false
/// public boolean java.util.concurrent.ConcurrentSkipListMap.remove(java.lang.Object,java.lang.Object)
private static var remove_MethodID_34: jmethodID?
override open func remove( arg0: java_swift.JavaObject?, arg1: java_swift.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: &ConcurrentSkipListMap.remove_MethodID_34, args: &__args, locals: &__locals )
return __return != jboolean(JNI_FALSE)
}
override open func remove( _ _arg0: java_swift.JavaObject?, _ _arg1: java_swift.JavaObject? ) -> Bool {
return remove( arg0: _arg0, arg1: _arg1 )
}
/// public java.lang.Object java.util.concurrent.ConcurrentSkipListMap.replace(java.lang.Object,java.lang.Object)
private static var replace_MethodID_35: jmethodID?
override open func replace( arg0: java_swift.JavaObject?, arg1: java_swift.JavaObject? ) -> java_swift.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: &ConcurrentSkipListMap.replace_MethodID_35, args: &__args, locals: &__locals )
defer { JNI.DeleteLocalRef( __return ) }
return __return != nil ? java_swift.JavaObject( javaObject: __return ) : nil
}
override open func replace( _ _arg0: java_swift.JavaObject?, _ _arg1: java_swift.JavaObject? ) -> java_swift.JavaObject! {
return replace( arg0: _arg0, arg1: _arg1 )
}
/// public boolean java.util.concurrent.ConcurrentSkipListMap.replace(java.lang.Object,java.lang.Object,java.lang.Object)
private static var replace_MethodID_36: jmethodID?
override open func replace( arg0: java_swift.JavaObject?, arg1: java_swift.JavaObject?, arg2: java_swift.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: &ConcurrentSkipListMap.replace_MethodID_36, args: &__args, locals: &__locals )
return __return != jboolean(JNI_FALSE)
}
override open func replace( _ _arg0: java_swift.JavaObject?, _ _arg1: java_swift.JavaObject?, _ _arg2: java_swift.JavaObject? ) -> Bool {
return replace( arg0: _arg0, arg1: _arg1, arg2: _arg2 )
}
/// public void java.util.concurrent.ConcurrentSkipListMap.replaceAll(java.util.function.BiFunction)
private static var replaceAll_MethodID_37: jmethodID?
override open func replaceAll( arg0: BiFunction? ) {
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: &ConcurrentSkipListMap.replaceAll_MethodID_37, args: &__args, locals: &__locals )
}
override open func replaceAll( _ _arg0: BiFunction? ) {
replaceAll( arg0: _arg0 )
}
/// public int java.util.concurrent.ConcurrentSkipListMap.size()
// Skipping method: false true false false false
/// public java.util.NavigableMap java.util.concurrent.ConcurrentSkipListMap.subMap(java.lang.Object,boolean,java.lang.Object,boolean)
private static var subMap_MethodID_38: jmethodID?
open func subMap( fromKey: java_swift.JavaObject?, fromInclusive: Bool, toKey: java_swift.JavaObject?, toInclusive: Bool ) -> NavigableMap! {
var __locals = [jobject]()
var __args = [jvalue]( repeating: jvalue(), count: 4 )
__args[0] = JNIType.toJava( value: fromKey, locals: &__locals )
__args[1] = jvalue( z: jboolean(fromInclusive ? JNI_TRUE : JNI_FALSE) )
__args[2] = JNIType.toJava( value: toKey, locals: &__locals )
__args[3] = jvalue( z: jboolean(toInclusive ? JNI_TRUE : JNI_FALSE) )
let __return = JNIMethod.CallObjectMethod( object: javaObject, methodName: "subMap", methodSig: "(Ljava/lang/Object;ZLjava/lang/Object;Z)Ljava/util/NavigableMap;", methodCache: &ConcurrentSkipListMap.subMap_MethodID_38, args: &__args, locals: &__locals )
return JNIType.toSwift( type: NavigableMapForward.self, from: __return )
}
open func subMap( _ _fromKey: java_swift.JavaObject?, _ _fromInclusive: Bool, _ _toKey: java_swift.JavaObject?, _ _toInclusive: Bool ) -> NavigableMap! {
return subMap( fromKey: _fromKey, fromInclusive: _fromInclusive, toKey: _toKey, toInclusive: _toInclusive )
}
/// public java.util.concurrent.ConcurrentNavigableMap java.util.concurrent.ConcurrentSkipListMap.subMap(java.lang.Object,boolean,java.lang.Object,boolean)
/// public java.util.SortedMap java.util.concurrent.ConcurrentSkipListMap.subMap(java.lang.Object,java.lang.Object)
private static var subMap_MethodID_39: jmethodID?
open func subMap( fromKey: java_swift.JavaObject?, toKey: java_swift.JavaObject? ) -> SortedMap! {
var __locals = [jobject]()
var __args = [jvalue]( repeating: jvalue(), count: 2 )
__args[0] = JNIType.toJava( value: fromKey, locals: &__locals )
__args[1] = JNIType.toJava( value: toKey, locals: &__locals )
let __return = JNIMethod.CallObjectMethod( object: javaObject, methodName: "subMap", methodSig: "(Ljava/lang/Object;Ljava/lang/Object;)Ljava/util/SortedMap;", methodCache: &ConcurrentSkipListMap.subMap_MethodID_39, args: &__args, locals: &__locals )
return JNIType.toSwift( type: SortedMapForward.self, from: __return )
}
open func subMap( _ _fromKey: java_swift.JavaObject?, _ _toKey: java_swift.JavaObject? ) -> SortedMap! {
return subMap( fromKey: _fromKey, toKey: _toKey )
}
/// public java.util.concurrent.ConcurrentNavigableMap java.util.concurrent.ConcurrentSkipListMap.subMap(java.lang.Object,java.lang.Object)
/// public java.util.SortedMap java.util.concurrent.ConcurrentSkipListMap.tailMap(java.lang.Object)
private static var tailMap_MethodID_40: jmethodID?
open func tailMap( fromKey: java_swift.JavaObject? ) -> SortedMap! {
var __locals = [jobject]()
var __args = [jvalue]( repeating: jvalue(), count: 1 )
__args[0] = JNIType.toJava( value: fromKey, locals: &__locals )
let __return = JNIMethod.CallObjectMethod( object: javaObject, methodName: "tailMap", methodSig: "(Ljava/lang/Object;)Ljava/util/SortedMap;", methodCache: &ConcurrentSkipListMap.tailMap_MethodID_40, args: &__args, locals: &__locals )
return JNIType.toSwift( type: SortedMapForward.self, from: __return )
}
open func tailMap( _ _fromKey: java_swift.JavaObject? ) -> SortedMap! {
return tailMap( fromKey: _fromKey )
}
/// public java.util.concurrent.ConcurrentNavigableMap java.util.concurrent.ConcurrentSkipListMap.tailMap(java.lang.Object)
/// public java.util.NavigableMap java.util.concurrent.ConcurrentSkipListMap.tailMap(java.lang.Object,boolean)
private static var tailMap_MethodID_41: jmethodID?
open func tailMap( fromKey: java_swift.JavaObject?, inclusive: Bool ) -> NavigableMap! {
var __locals = [jobject]()
var __args = [jvalue]( repeating: jvalue(), count: 2 )
__args[0] = JNIType.toJava( value: fromKey, locals: &__locals )
__args[1] = jvalue( z: jboolean(inclusive ? JNI_TRUE : JNI_FALSE) )
let __return = JNIMethod.CallObjectMethod( object: javaObject, methodName: "tailMap", methodSig: "(Ljava/lang/Object;Z)Ljava/util/NavigableMap;", methodCache: &ConcurrentSkipListMap.tailMap_MethodID_41, args: &__args, locals: &__locals )
return JNIType.toSwift( type: NavigableMapForward.self, from: __return )
}
open func tailMap( _ _fromKey: java_swift.JavaObject?, _ _inclusive: Bool ) -> NavigableMap! {
return tailMap( fromKey: _fromKey, inclusive: _inclusive )
}
/// public java.util.concurrent.ConcurrentNavigableMap java.util.concurrent.ConcurrentSkipListMap.tailMap(java.lang.Object,boolean)
/// private void java.util.concurrent.ConcurrentSkipListMap.tryReduceLevel()
/// java.util.Iterator java.util.concurrent.ConcurrentSkipListMap.valueIterator()
// Skipping method: true false false false false
/// final java.util.concurrent.ConcurrentSkipListMap$ValueSpliterator java.util.concurrent.ConcurrentSkipListMap.valueSpliterator()
// Skipping method: true false false false false
/// public java.util.Collection java.util.concurrent.ConcurrentSkipListMap.values()
// Skipping method: false true false false false
/// private void java.util.concurrent.ConcurrentSkipListMap.writeObject(java.io.ObjectOutputStream) throws java.io.IOException
/// In declared protocol but not defined.. ///
/// public abstract void java.util.Map.clear()
// Skipping method: false true false false false
/// public abstract boolean java.util.Map.containsKey(java.lang.Object)
private static var containsKey_MethodID_42: jmethodID?
override open func containsKey( arg0: java_swift.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: &ConcurrentSkipListMap.containsKey_MethodID_42, args: &__args, locals: &__locals )
return __return != jboolean(JNI_FALSE)
}
override open func containsKey( _ _arg0: java_swift.JavaObject? ) -> Bool {
return containsKey( arg0: _arg0 )
}
/// public abstract boolean java.util.Map.containsValue(java.lang.Object)
private static var containsValue_MethodID_43: jmethodID?
override open func containsValue( arg0: java_swift.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: &ConcurrentSkipListMap.containsValue_MethodID_43, args: &__args, locals: &__locals )
return __return != jboolean(JNI_FALSE)
}
override open func containsValue( _ _arg0: java_swift.JavaObject? ) -> Bool {
return containsValue( arg0: _arg0 )
}
/// public abstract java.util.Set java.util.Map.entrySet()
// Skipping method: false true false false false
/// public abstract boolean java.util.Map.equals(java.lang.Object)
private static var equals_MethodID_44: jmethodID?
override open func equals( arg0: java_swift.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: &ConcurrentSkipListMap.equals_MethodID_44, args: &__args, locals: &__locals )
return __return != jboolean(JNI_FALSE)
}
override open func equals( _ _arg0: java_swift.JavaObject? ) -> Bool {
return equals( arg0: _arg0 )
}
/// public abstract java.lang.Object java.util.Map.get(java.lang.Object)
private static var get_MethodID_45: jmethodID?
override open func get( arg0: java_swift.JavaObject? ) -> java_swift.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: &ConcurrentSkipListMap.get_MethodID_45, args: &__args, locals: &__locals )
defer { JNI.DeleteLocalRef( __return ) }
return __return != nil ? java_swift.JavaObject( javaObject: __return ) : nil
}
override open func get( _ _arg0: java_swift.JavaObject? ) -> java_swift.JavaObject! {
return get( arg0: _arg0 )
}
/// public abstract int java.util.Map.hashCode()
// Skipping method: false true false false false
/// public abstract boolean java.util.Map.isEmpty()
// Skipping method: false true false false false
/// public abstract java.util.Set java.util.Map.keySet()
// Skipping method: false true false false false
/// public abstract java.lang.Object java.util.Map.put(java.lang.Object,java.lang.Object)
private static var put_MethodID_46: jmethodID?
override open func put( arg0: java_swift.JavaObject?, arg1: java_swift.JavaObject? ) -> java_swift.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: &ConcurrentSkipListMap.put_MethodID_46, args: &__args, locals: &__locals )
defer { JNI.DeleteLocalRef( __return ) }
return __return != nil ? java_swift.JavaObject( javaObject: __return ) : nil
}
override open func put( _ _arg0: java_swift.JavaObject?, _ _arg1: java_swift.JavaObject? ) -> java_swift.JavaObject! {
return put( arg0: _arg0, arg1: _arg1 )
}
/// public abstract void java.util.Map.putAll(java.util.Map)
private static var putAll_MethodID_47: jmethodID?
override open func putAll( arg0: java_swift.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: &ConcurrentSkipListMap.putAll_MethodID_47, args: &__args, locals: &__locals )
}
override open func putAll( _ _arg0: java_swift.JavaMap? ) {
putAll( arg0: _arg0 )
}
/// public abstract java.lang.Object java.util.Map.remove(java.lang.Object)
private static var remove_MethodID_48: jmethodID?
override open func remove( arg0: java_swift.JavaObject? ) -> java_swift.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: &ConcurrentSkipListMap.remove_MethodID_48, args: &__args, locals: &__locals )
defer { JNI.DeleteLocalRef( __return ) }
return __return != nil ? java_swift.JavaObject( javaObject: __return ) : nil
}
override open func remove( _ _arg0: java_swift.JavaObject? ) -> java_swift.JavaObject! {
return remove( arg0: _arg0 )
}
/// public abstract int java.util.Map.size()