java-api 17.26.5__py2-none-any.whl → 25.26.1__py2-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- java/io/__init__.py +22 -1
- java/lang/__init__.py +381 -11
- java/lang/reflect/__init__.py +151 -2
- java/math/__init__.py +5 -0
- java/net/__init__.py +5 -0
- java/net/http/__init__.py +27 -2
- java/nio/__init__.py +4 -0
- java/nio/charset/__init__.py +2 -2
- java/nio/file/__init__.py +2 -2
- java/text/__init__.py +60 -1
- java/time/__init__.py +12 -0
- java/time/chrono/__init__.py +4 -0
- java/time/format/__init__.py +5 -0
- java/util/__init__.py +235 -0
- java/util/concurrent/__init__.py +53 -1
- java/util/regex/__init__.py +30 -6
- java/util/stream/__init__.py +104 -1
- {java_api-17.26.5.dist-info → java_api-25.26.1.dist-info}/METADATA +5 -5
- {java_api-17.26.5.dist-info → java_api-25.26.1.dist-info}/RECORD +23 -23
- javax/security/auth/__init__.py +10 -0
- {java_api-17.26.5.dist-info → java_api-25.26.1.dist-info}/LICENSE +0 -0
- {java_api-17.26.5.dist-info → java_api-25.26.1.dist-info}/WHEEL +0 -0
- {java_api-17.26.5.dist-info → java_api-25.26.1.dist-info}/top_level.txt +0 -0
java/util/regex/__init__.py
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
__all__ = ["MatchResult", "Matcher", "Pattern"]
|
|
2
2
|
|
|
3
|
-
from typing import Any, List, Optional, Union
|
|
3
|
+
from typing import Any, Dict, List, Optional, Union
|
|
4
4
|
|
|
5
5
|
from java.lang import CharSequence, Object, StringBuffer, StringBuilder
|
|
6
6
|
from java.util.function import Function, Predicate
|
|
@@ -8,19 +8,27 @@ from java.util.function import Function, Predicate
|
|
|
8
8
|
|
|
9
9
|
class MatchResult(object):
|
|
10
10
|
def end(self, group=None):
|
|
11
|
-
# type: (
|
|
11
|
+
# type: (Union[int, str, unicode, None]) -> int
|
|
12
12
|
raise NotImplementedError
|
|
13
13
|
|
|
14
14
|
def group(self, group=None):
|
|
15
|
-
# type: (
|
|
15
|
+
# type: (Union[int, str, unicode, None]) -> Union[str, unicode]
|
|
16
16
|
raise NotImplementedError
|
|
17
17
|
|
|
18
18
|
def groupCount(self):
|
|
19
19
|
# type: () -> int
|
|
20
20
|
raise NotImplementedError
|
|
21
21
|
|
|
22
|
+
def hasMatch(self):
|
|
23
|
+
# type: () -> bool
|
|
24
|
+
raise NotImplementedError
|
|
25
|
+
|
|
26
|
+
def namedGroups(self):
|
|
27
|
+
# type: () -> Dict[Union[str, unicode], int]
|
|
28
|
+
raise NotImplementedError
|
|
29
|
+
|
|
22
30
|
def start(self, group=None):
|
|
23
|
-
# type: (
|
|
31
|
+
# type: (Union[int, str, unicode, None]) -> int
|
|
24
32
|
raise NotImplementedError
|
|
25
33
|
|
|
26
34
|
|
|
@@ -41,7 +49,7 @@ class Matcher(Object, MatchResult):
|
|
|
41
49
|
pass
|
|
42
50
|
|
|
43
51
|
def end(self, group=None):
|
|
44
|
-
# type: (
|
|
52
|
+
# type: (Union[int, str, unicode, None]) -> int
|
|
45
53
|
pass
|
|
46
54
|
|
|
47
55
|
def find(self, start=None):
|
|
@@ -60,6 +68,10 @@ class Matcher(Object, MatchResult):
|
|
|
60
68
|
# type: () -> bool
|
|
61
69
|
return True
|
|
62
70
|
|
|
71
|
+
def hasMatch(self):
|
|
72
|
+
# type: () -> bool
|
|
73
|
+
return True
|
|
74
|
+
|
|
63
75
|
def hasTransparentBounds(self):
|
|
64
76
|
# type: () -> bool
|
|
65
77
|
return True
|
|
@@ -76,6 +88,10 @@ class Matcher(Object, MatchResult):
|
|
|
76
88
|
# type: () -> bool
|
|
77
89
|
return True
|
|
78
90
|
|
|
91
|
+
def namedGroups(self):
|
|
92
|
+
# type: () -> Dict[Union[str, unicode], int]
|
|
93
|
+
pass
|
|
94
|
+
|
|
79
95
|
def pattern(self):
|
|
80
96
|
# type: () -> Pattern
|
|
81
97
|
pass
|
|
@@ -118,7 +134,7 @@ class Matcher(Object, MatchResult):
|
|
|
118
134
|
pass
|
|
119
135
|
|
|
120
136
|
def start(self, group=None):
|
|
121
|
-
# type: (
|
|
137
|
+
# type: (Union[int, str, unicode, None]) -> int
|
|
122
138
|
pass
|
|
123
139
|
|
|
124
140
|
def toMatchResult(self):
|
|
@@ -175,6 +191,10 @@ class Pattern(Object):
|
|
|
175
191
|
# type: (Union[str, unicode], CharSequence) -> bool
|
|
176
192
|
return True
|
|
177
193
|
|
|
194
|
+
def namedGroups(self):
|
|
195
|
+
# type: () -> Dict[Union[str, unicode], int]
|
|
196
|
+
pass
|
|
197
|
+
|
|
178
198
|
def pattern(self):
|
|
179
199
|
# type: () -> Union[str, unicode]
|
|
180
200
|
pass
|
|
@@ -195,3 +215,7 @@ class Pattern(Object):
|
|
|
195
215
|
def splitAsStream(self, input):
|
|
196
216
|
# type: (CharSequence) -> Any
|
|
197
217
|
pass
|
|
218
|
+
|
|
219
|
+
def splitWithDelimiters(self, input, limit):
|
|
220
|
+
# type: (CharSequence, int) -> List[Union[str, unicode]]
|
|
221
|
+
pass
|
java/util/stream/__init__.py
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
__all__ = ["BaseStream", "Collector", "IntStream", "Stream"]
|
|
1
|
+
__all__ = ["BaseStream", "Collector", "Gatherer", "Gatherers", "IntStream", "Stream"]
|
|
2
2
|
|
|
3
3
|
from typing import Any, Iterable, Set
|
|
4
4
|
|
|
@@ -6,6 +6,7 @@ from java.lang import AutoCloseable, Enum, Runnable
|
|
|
6
6
|
from java.util import Iterator, Spliterator
|
|
7
7
|
from java.util.function import (
|
|
8
8
|
BiConsumer,
|
|
9
|
+
BiFunction,
|
|
9
10
|
BinaryOperator,
|
|
10
11
|
Consumer,
|
|
11
12
|
Function,
|
|
@@ -159,6 +160,10 @@ class Stream(BaseStream):
|
|
|
159
160
|
# type: () -> None
|
|
160
161
|
pass
|
|
161
162
|
|
|
163
|
+
def gather(self, gatherer):
|
|
164
|
+
# type: (Gatherer) -> Stream
|
|
165
|
+
pass
|
|
166
|
+
|
|
162
167
|
def isParallel(self):
|
|
163
168
|
# type: () -> bool
|
|
164
169
|
return True
|
|
@@ -186,3 +191,101 @@ class Stream(BaseStream):
|
|
|
186
191
|
def unordered(self):
|
|
187
192
|
# type: () -> Any
|
|
188
193
|
pass
|
|
194
|
+
|
|
195
|
+
|
|
196
|
+
class Gatherer(object):
|
|
197
|
+
class Downstream(object):
|
|
198
|
+
def isRejecting(self):
|
|
199
|
+
# type: () -> bool
|
|
200
|
+
raise NotImplementedError
|
|
201
|
+
|
|
202
|
+
def push(self, element):
|
|
203
|
+
# type: (Any) -> bool
|
|
204
|
+
raise NotImplementedError
|
|
205
|
+
|
|
206
|
+
class Integrator(object):
|
|
207
|
+
def integrate(self, state, element, downstream):
|
|
208
|
+
# type: (Any, Any, Gatherer.Downstream) -> bool
|
|
209
|
+
raise NotImplementedError
|
|
210
|
+
|
|
211
|
+
@staticmethod
|
|
212
|
+
def of(integrator):
|
|
213
|
+
# type: (Gatherer.Integrator) -> Gatherer.Integrator
|
|
214
|
+
pass
|
|
215
|
+
|
|
216
|
+
@staticmethod
|
|
217
|
+
def ofGreedy(integrator):
|
|
218
|
+
# type: (Gatherer.Integrator) -> Gatherer.Integrator
|
|
219
|
+
pass
|
|
220
|
+
|
|
221
|
+
def andThen(self, next):
|
|
222
|
+
# type: (Gatherer) -> Gatherer
|
|
223
|
+
pass
|
|
224
|
+
|
|
225
|
+
def combiner(self):
|
|
226
|
+
# type: () -> BinaryOperator
|
|
227
|
+
pass
|
|
228
|
+
|
|
229
|
+
@staticmethod
|
|
230
|
+
def defaultCombiner():
|
|
231
|
+
# type: () -> BinaryOperator
|
|
232
|
+
pass
|
|
233
|
+
|
|
234
|
+
@staticmethod
|
|
235
|
+
def defaultFinisher():
|
|
236
|
+
# type: () -> BiConsumer
|
|
237
|
+
pass
|
|
238
|
+
|
|
239
|
+
@staticmethod
|
|
240
|
+
def defaultInitializer():
|
|
241
|
+
# type: () -> Supplier
|
|
242
|
+
pass
|
|
243
|
+
|
|
244
|
+
def finisher(self):
|
|
245
|
+
# type: () -> BiConsumer
|
|
246
|
+
pass
|
|
247
|
+
|
|
248
|
+
def initializer(self):
|
|
249
|
+
# type: () -> Supplier
|
|
250
|
+
pass
|
|
251
|
+
|
|
252
|
+
def integrator(self):
|
|
253
|
+
# type: () -> Gatherer.Integrator
|
|
254
|
+
pass
|
|
255
|
+
|
|
256
|
+
@staticmethod
|
|
257
|
+
def of(*args):
|
|
258
|
+
# type: (*Any) -> Gatherer
|
|
259
|
+
pass
|
|
260
|
+
|
|
261
|
+
@staticmethod
|
|
262
|
+
def ofSequential(*args):
|
|
263
|
+
# type: (*Any) -> Gatherer
|
|
264
|
+
pass
|
|
265
|
+
|
|
266
|
+
|
|
267
|
+
class Gatherers(object):
|
|
268
|
+
@staticmethod
|
|
269
|
+
def fold(supplier, accumulator):
|
|
270
|
+
# type: (Supplier, BiFunction) -> Gatherer
|
|
271
|
+
pass
|
|
272
|
+
|
|
273
|
+
@staticmethod
|
|
274
|
+
def mapConcurrent(maxConcurrency, mapper):
|
|
275
|
+
# type: (int, Function) -> Gatherer
|
|
276
|
+
pass
|
|
277
|
+
|
|
278
|
+
@staticmethod
|
|
279
|
+
def scan(supplier, accumulator):
|
|
280
|
+
# type: (Supplier, BiFunction) -> Gatherer
|
|
281
|
+
pass
|
|
282
|
+
|
|
283
|
+
@staticmethod
|
|
284
|
+
def windowFixed(windowSize):
|
|
285
|
+
# type: (int) -> Gatherer
|
|
286
|
+
pass
|
|
287
|
+
|
|
288
|
+
@staticmethod
|
|
289
|
+
def windowSliding(windowSize):
|
|
290
|
+
# type: (int) -> Gatherer
|
|
291
|
+
pass
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: java-api
|
|
3
|
-
Version:
|
|
3
|
+
Version: 25.26.1
|
|
4
4
|
Summary: Java API Specification
|
|
5
5
|
Home-page: https://github.com/ignition-devs/java-api
|
|
6
6
|
Author: César Román
|
|
7
7
|
Author-email: cesar@coatl.dev
|
|
8
8
|
License: MIT
|
|
9
|
-
Project-URL: Source, https://github.com/ignition-devs/java-api/tree/
|
|
10
|
-
Project-URL: Documentation, https://docs.oracle.com/en/java/javase/
|
|
9
|
+
Project-URL: Source, https://github.com/ignition-devs/java-api/tree/25
|
|
10
|
+
Project-URL: Documentation, https://docs.oracle.com/en/java/javase/25/docs/api/index.html
|
|
11
11
|
Project-URL: Funding, https://github.com/sponsors/cesarcoatl
|
|
12
12
|
Project-URL: Tracker, https://github.com/ignition-devs/java-api/issues
|
|
13
13
|
Keywords: coatl.dev,ignition,inductive automation,java
|
|
@@ -40,7 +40,7 @@ Requires-Dist: typing
|
|
|
40
40
|
[](https://github.com/orgs/ignition-devs/discussions)
|
|
41
41
|
|
|
42
42
|
java-api is a Python package that allows developers to get code completion
|
|
43
|
-
for Java
|
|
43
|
+
for Java 25 API Specification functions and classes in their IDE of choice.
|
|
44
44
|
|
|
45
45
|
## Table of contents
|
|
46
46
|
|
|
@@ -114,7 +114,7 @@ This project consists of the following packages:
|
|
|
114
114
|
|
|
115
115
|
These packages include supporting Java classes and interfaces. For more
|
|
116
116
|
information, see documentation here:
|
|
117
|
-
<https://docs.oracle.com/en/java/javase/
|
|
117
|
+
<https://docs.oracle.com/en/java/javase/25/docs/api/index.html>.
|
|
118
118
|
|
|
119
119
|
## Contributing
|
|
120
120
|
|
|
@@ -5,16 +5,16 @@ java/awt/geom/__init__.py,SHA256=aYwEU-vRJQyTTygQuzjF44YQGO2I1jGTxpYRHJInLKI,254
|
|
|
5
5
|
java/awt/image/__init__.py,SHA256=X8ycKnpLb5IagTy11RYm5C503_vNPiWRTaSLnFKU9po,277
|
|
6
6
|
java/awt/print/__init__.py,SHA256=qo80_7FFoXSqBkMFyiMqPKB-iwVfsvlcwdVuP7u2f7k,1698
|
|
7
7
|
java/beans/__init__.py,SHA256=ibOy3bc4N84kfDrw4Sxqj_BYZgYUvHN9XFybMqJ5cIM,1086
|
|
8
|
-
java/io/__init__.py,SHA256=
|
|
9
|
-
java/lang/__init__.py,SHA256=
|
|
10
|
-
java/lang/reflect/__init__.py,SHA256=
|
|
11
|
-
java/math/__init__.py,SHA256=
|
|
12
|
-
java/net/__init__.py,SHA256=
|
|
13
|
-
java/net/http/__init__.py,SHA256=
|
|
14
|
-
java/nio/__init__.py,SHA256=
|
|
8
|
+
java/io/__init__.py,SHA256=unoZyvby2UXblJLwhJIttCmmSfcWgC3ys1i9xM3MM20,9725
|
|
9
|
+
java/lang/__init__.py,SHA256=AuddtWgkmYfT2-5fz-dzhF1NohC32e8-v2UdbFc8ufs,29692
|
|
10
|
+
java/lang/reflect/__init__.py,SHA256=RsTX9DAy2Qvr_itr_9VrTIF0XLi9rsHloKaF6IiIKPo,5109
|
|
11
|
+
java/math/__init__.py,SHA256=Glt6ruo42UTPWCCywRqlmfs3XQSfxXC6M5QH4yznv_A,2149
|
|
12
|
+
java/net/__init__.py,SHA256=Xzzs9lCW9mLzDqSy8UFsWdo70l3FSfTgtX2DSCm1cz8,11256
|
|
13
|
+
java/net/http/__init__.py,SHA256=JNWjMCrw40hOnR25CZn6y0y4MoCEVJ-ocnThUlSxkGY,714
|
|
14
|
+
java/nio/__init__.py,SHA256=3meU1SfdrL0DlgufdQdeFLUTlf2IdCBb8PSIfolwq-I,12571
|
|
15
15
|
java/nio/channels/__init__.py,SHA256=SEwJ8RDEmzadHd_mTF2LtLh6tO4eeMgmB7oo2iISBOM,7201
|
|
16
|
-
java/nio/charset/__init__.py,SHA256=
|
|
17
|
-
java/nio/file/__init__.py,SHA256=
|
|
16
|
+
java/nio/charset/__init__.py,SHA256=Vw4p13J7EVbRoDGz36XQDApRppBsK-da2URAiMHtnqQ,3110
|
|
17
|
+
java/nio/file/__init__.py,SHA256=_jGr-UU02DEbzOcsppB7F4MfK_5fT2gljg56l9MpJwc,17319
|
|
18
18
|
java/nio/file/attribute/__init__.py,SHA256=wiqoNyqIIxBlwc_8la2HLYURw9uZ6dACraZWK0kZlFw,3120
|
|
19
19
|
java/org/__init__.py,SHA256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
20
20
|
java/org/jdesktop/__init__.py,SHA256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
@@ -22,25 +22,25 @@ java/org/jdesktop/core/__init__.py,SHA256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3
|
|
|
22
22
|
java/org/jdesktop/core/animation/__init__.py,SHA256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
23
23
|
java/org/jdesktop/core/animation/timing/__init__.py,SHA256=pOMTOZ5_TMMroLieQhNGIzy6f9TWj89tTWs7bGervOE,273
|
|
24
24
|
java/security/__init__.py,SHA256=LTk7M6PgC9lgAxdFG_Jqbhvcb8kGfOq9CdEKrkkwI3U,617
|
|
25
|
-
java/text/__init__.py,SHA256=
|
|
26
|
-
java/time/__init__.py,SHA256=
|
|
27
|
-
java/time/chrono/__init__.py,SHA256=
|
|
28
|
-
java/time/format/__init__.py,SHA256=
|
|
25
|
+
java/text/__init__.py,SHA256=Qbrafl2EVMfEeXzq5zK0-WV7mJFgzUQ3BmAV98e6HII,14519
|
|
26
|
+
java/time/__init__.py,SHA256=uLPAo-c0ukLU8p6IdpverGh_rCrO1LCiHa04SDFg_Sw,12498
|
|
27
|
+
java/time/chrono/__init__.py,SHA256=qO3LK4V4KdA3wS-VuNbkwFKvn7DI_UfGeCgLd6bhhHA,7658
|
|
28
|
+
java/time/format/__init__.py,SHA256=iqnNyC4zDYlaf1pfca_UlVkd_hBfGYbYRndyE4tcDjw,2292
|
|
29
29
|
java/time/temporal/__init__.py,SHA256=0_iPeETT9IEmw2fQy6UTuIMuvElXPR1FsZeMQ_WOuDo,8958
|
|
30
|
-
java/util/__init__.py,SHA256=
|
|
31
|
-
java/util/concurrent/__init__.py,SHA256=
|
|
30
|
+
java/util/__init__.py,SHA256=Y2axb5yc1YMFEnAC-o_dKfR2KVHpvmbkHmkH9hjX9NU,36507
|
|
31
|
+
java/util/concurrent/__init__.py,SHA256=x6XXnRhIEDqO87uDn1iKBBxKgCoNsvsnp_3b7w1hQzQ,4429
|
|
32
32
|
java/util/function/__init__.py,SHA256=fCZXNHdnf6yLM9TADabNaDTccP9ESr-U5njy7tYXr20,2992
|
|
33
|
-
java/util/regex/__init__.py,SHA256=
|
|
34
|
-
java/util/stream/__init__.py,SHA256=
|
|
33
|
+
java/util/regex/__init__.py,SHA256=lDNbfLyV-QllkilcHURTXNAo7xzzBMn4SF04Aiab0Mg,5169
|
|
34
|
+
java/util/stream/__init__.py,SHA256=CG6osisSR8c75p1IVVAd0iIN3KBIPDzvZnzOvULGG70,6089
|
|
35
35
|
javax/__init__.py,SHA256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
36
36
|
javax/security/__init__.py,SHA256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
37
|
-
javax/security/auth/__init__.py,SHA256=
|
|
37
|
+
javax/security/auth/__init__.py,SHA256=bu0qGQG4oyYhZMDhvRj7bOXGututSKPeO468f_zz9j8,446
|
|
38
38
|
javax/swing/__init__.py,SHA256=8KcCYh314Woye128yQe0I4zdssIvpm4b5zYYQIbduzU,12325
|
|
39
39
|
javax/swing/event/__init__.py,SHA256=d4DTi36deUvh4DRps76FJeV3dc4P3UJ4FGO_AGZrzMk,1201
|
|
40
40
|
javax/swing/plaf/__init__.py,SHA256=mujUSR0nHMp_xFgYyJmTgFSjMRTFCZnTTebN7A-Q4v8,646
|
|
41
41
|
javax/swing/text/__init__.py,SHA256=2NyK8jNMvcZHsjXxvnDLVzHnpOQmE7Wy-5LXXRLfvq8,440
|
|
42
|
-
java_api-
|
|
43
|
-
java_api-
|
|
44
|
-
java_api-
|
|
45
|
-
java_api-
|
|
46
|
-
java_api-
|
|
42
|
+
java_api-25.26.1.dist-info/LICENSE,SHA256=jan5VkSLS7c68CWDQD0qjximES0nbOpwPRd88k3eOXU,1066
|
|
43
|
+
java_api-25.26.1.dist-info/METADATA,SHA256=PT1Uq3oJ-sXFVFsAliXRCOn7SjJEibWAunUKaPo7cME,5080
|
|
44
|
+
java_api-25.26.1.dist-info/WHEEL,SHA256=1VPi6hfNQaRRNuEdK_3dv9o8COtLGnHWJghhj4CQ28k,92
|
|
45
|
+
java_api-25.26.1.dist-info/top_level.txt,SHA256=ULMl8dxVE3DpTgZToR95hVaQmkl-LPtCbMSiiQAmdck,11
|
|
46
|
+
java_api-25.26.1.dist-info/RECORD,,
|
javax/security/auth/__init__.py
CHANGED
|
@@ -12,3 +12,13 @@ class Subject(Object):
|
|
|
12
12
|
# type: (*Any) -> None
|
|
13
13
|
super(Subject, self).__init__()
|
|
14
14
|
print(args)
|
|
15
|
+
|
|
16
|
+
@staticmethod
|
|
17
|
+
def callAs(subject, action):
|
|
18
|
+
# type: (Subject, Any) -> Any
|
|
19
|
+
pass
|
|
20
|
+
|
|
21
|
+
@staticmethod
|
|
22
|
+
def current():
|
|
23
|
+
# type: () -> Subject
|
|
24
|
+
pass
|
|
File without changes
|
|
File without changes
|
|
File without changes
|