java-api 17.25.0b6__py2-none-any.whl → 17.26.4__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 +3 -2
- java/lang/__init__.py +11 -5
- java/util/__init__.py +7 -54
- java/util/function/__init__.py +22 -0
- java/util/stream/__init__.py +62 -2
- {java_api-17.25.0b6.dist-info → java_api-17.26.4.dist-info}/LICENSE +1 -1
- {java_api-17.25.0b6.dist-info → java_api-17.26.4.dist-info}/METADATA +11 -11
- {java_api-17.25.0b6.dist-info → java_api-17.26.4.dist-info}/RECORD +10 -10
- {java_api-17.25.0b6.dist-info → java_api-17.26.4.dist-info}/WHEEL +0 -0
- {java_api-17.25.0b6.dist-info → java_api-17.26.4.dist-info}/top_level.txt +0 -0
java/io/__init__.py
CHANGED
|
@@ -42,6 +42,7 @@ from java.lang import (
|
|
|
42
42
|
Readable,
|
|
43
43
|
Throwable,
|
|
44
44
|
)
|
|
45
|
+
from java.nio import CharBuffer
|
|
45
46
|
from java.nio.channels import FileChannel
|
|
46
47
|
from java.nio.charset import Charset, CharsetDecoder
|
|
47
48
|
|
|
@@ -334,8 +335,8 @@ class Reader(Object, Readable, Closeable):
|
|
|
334
335
|
# type: () -> Reader
|
|
335
336
|
pass
|
|
336
337
|
|
|
337
|
-
def read(self,
|
|
338
|
-
# type: (
|
|
338
|
+
def read(self, cb):
|
|
339
|
+
# type: (CharBuffer) -> int
|
|
339
340
|
pass
|
|
340
341
|
|
|
341
342
|
def ready(self):
|
java/lang/__init__.py
CHANGED
|
@@ -44,6 +44,7 @@ if TYPE_CHECKING:
|
|
|
44
44
|
from java.nio import CharBuffer
|
|
45
45
|
from java.util import Iterator, Spliterator
|
|
46
46
|
from java.util.function import Consumer
|
|
47
|
+
from java.util.stream import IntStream, Stream
|
|
47
48
|
|
|
48
49
|
|
|
49
50
|
class Object(object):
|
|
@@ -119,10 +120,12 @@ class CharSequence(object):
|
|
|
119
120
|
# type: (int) -> str
|
|
120
121
|
raise NotImplementedError
|
|
121
122
|
|
|
122
|
-
def chars(self):
|
|
123
|
+
def chars(self):
|
|
124
|
+
# type: () -> IntStream
|
|
123
125
|
pass
|
|
124
126
|
|
|
125
|
-
def codePoints(self):
|
|
127
|
+
def codePoints(self):
|
|
128
|
+
# type: () -> IntStream
|
|
126
129
|
pass
|
|
127
130
|
|
|
128
131
|
@staticmethod
|
|
@@ -291,7 +294,8 @@ class String(unicode):
|
|
|
291
294
|
# type: (int) -> unicode
|
|
292
295
|
pass
|
|
293
296
|
|
|
294
|
-
def chars(self):
|
|
297
|
+
def chars(self):
|
|
298
|
+
# type: () -> IntStream
|
|
295
299
|
pass
|
|
296
300
|
|
|
297
301
|
def codePointAt(self, index):
|
|
@@ -306,7 +310,8 @@ class String(unicode):
|
|
|
306
310
|
# type: (int, int) -> int
|
|
307
311
|
pass
|
|
308
312
|
|
|
309
|
-
def codePoints(self):
|
|
313
|
+
def codePoints(self):
|
|
314
|
+
# type: () -> IntStream
|
|
310
315
|
pass
|
|
311
316
|
|
|
312
317
|
@staticmethod
|
|
@@ -392,7 +397,8 @@ class String(unicode):
|
|
|
392
397
|
# type: () -> int
|
|
393
398
|
return len(self)
|
|
394
399
|
|
|
395
|
-
def lines(self):
|
|
400
|
+
def lines(self):
|
|
401
|
+
# type: () -> Stream
|
|
396
402
|
pass
|
|
397
403
|
|
|
398
404
|
def matches(self, regex):
|
java/util/__init__.py
CHANGED
|
@@ -31,7 +31,6 @@ __all__ = [
|
|
|
31
31
|
"Map",
|
|
32
32
|
"Properties",
|
|
33
33
|
"Spliterator",
|
|
34
|
-
"Stream",
|
|
35
34
|
"TimeZone",
|
|
36
35
|
"UUID",
|
|
37
36
|
]
|
|
@@ -54,7 +53,6 @@ from java.util.function import (
|
|
|
54
53
|
Consumer,
|
|
55
54
|
Function,
|
|
56
55
|
Predicate,
|
|
57
|
-
Supplier,
|
|
58
56
|
ToDoubleFunction,
|
|
59
57
|
ToIntFunction,
|
|
60
58
|
ToLongFunction,
|
|
@@ -64,6 +62,7 @@ if TYPE_CHECKING:
|
|
|
64
62
|
from java.io import InputStream, OutputStream
|
|
65
63
|
from java.nio import ByteBuffer
|
|
66
64
|
from java.time import Instant, ZonedDateTime, ZoneId
|
|
65
|
+
from java.util.stream import Stream
|
|
67
66
|
|
|
68
67
|
|
|
69
68
|
class Collection(object):
|
|
@@ -466,58 +465,7 @@ class Spliterator(object):
|
|
|
466
465
|
raise NotImplementedError
|
|
467
466
|
|
|
468
467
|
|
|
469
|
-
class
|
|
470
|
-
|
|
471
|
-
class Builder(Consumer):
|
|
472
|
-
def accept(self, t):
|
|
473
|
-
# type: (Any) -> None
|
|
474
|
-
raise NotImplementedError
|
|
475
|
-
|
|
476
|
-
def add(self, t):
|
|
477
|
-
# type: (Any) -> Stream.Builder
|
|
478
|
-
pass
|
|
479
|
-
|
|
480
|
-
def build(self):
|
|
481
|
-
# type: () -> Stream
|
|
482
|
-
raise NotImplementedError
|
|
483
|
-
|
|
484
|
-
@staticmethod
|
|
485
|
-
def builder():
|
|
486
|
-
# type: () -> Builder
|
|
487
|
-
pass
|
|
488
|
-
|
|
489
|
-
@staticmethod
|
|
490
|
-
def concat(a, b):
|
|
491
|
-
# type: (Stream, Stream) -> Stream
|
|
492
|
-
pass
|
|
493
|
-
|
|
494
|
-
@staticmethod
|
|
495
|
-
def empty():
|
|
496
|
-
# type: () -> Stream
|
|
497
|
-
pass
|
|
498
|
-
|
|
499
|
-
@staticmethod
|
|
500
|
-
def generate(s):
|
|
501
|
-
# type: (Supplier) -> Stream
|
|
502
|
-
pass
|
|
503
|
-
|
|
504
|
-
@staticmethod
|
|
505
|
-
def iterate(*args):
|
|
506
|
-
# type: (*Any) -> Stream
|
|
507
|
-
pass
|
|
508
|
-
|
|
509
|
-
@staticmethod
|
|
510
|
-
def of(*args):
|
|
511
|
-
# type: (*Any) -> Stream
|
|
512
|
-
pass
|
|
513
|
-
|
|
514
|
-
@staticmethod
|
|
515
|
-
def ofNullable(t):
|
|
516
|
-
# type: (Any) -> Stream
|
|
517
|
-
pass
|
|
518
|
-
|
|
519
|
-
|
|
520
|
-
class Arrays(Object):
|
|
468
|
+
class Arrays(object):
|
|
521
469
|
@staticmethod
|
|
522
470
|
def asList(a):
|
|
523
471
|
# type: (Any) -> List[Any]
|
|
@@ -607,6 +555,11 @@ class Arrays(Object):
|
|
|
607
555
|
# type: (Iterable[Any], Optional[int], Optional[int]) -> Stream
|
|
608
556
|
pass
|
|
609
557
|
|
|
558
|
+
@staticmethod
|
|
559
|
+
def toString(a):
|
|
560
|
+
# type: (List[Any]) -> Union[str, unicode]
|
|
561
|
+
pass
|
|
562
|
+
|
|
610
563
|
|
|
611
564
|
class AbstractCollection(Object, Collection):
|
|
612
565
|
def add(self, e):
|
java/util/function/__init__.py
CHANGED
|
@@ -5,6 +5,8 @@ __all__ = [
|
|
|
5
5
|
"BinaryOperator",
|
|
6
6
|
"Consumer",
|
|
7
7
|
"Function",
|
|
8
|
+
"IntConsumer",
|
|
9
|
+
"IntPredicate",
|
|
8
10
|
"Predicate",
|
|
9
11
|
"Supplier",
|
|
10
12
|
"ToDoubleFunction",
|
|
@@ -92,6 +94,26 @@ class Function(object):
|
|
|
92
94
|
pass
|
|
93
95
|
|
|
94
96
|
|
|
97
|
+
class IntConsumer(object):
|
|
98
|
+
def accept(self, value):
|
|
99
|
+
# type: (int) -> None
|
|
100
|
+
raise NotImplementedError
|
|
101
|
+
|
|
102
|
+
def andThen(self, after):
|
|
103
|
+
# type: (IntConsumer) -> IntConsumer
|
|
104
|
+
pass
|
|
105
|
+
|
|
106
|
+
|
|
107
|
+
class IntPredicate(object):
|
|
108
|
+
def negate(self):
|
|
109
|
+
# type: () -> IntPredicate
|
|
110
|
+
pass
|
|
111
|
+
|
|
112
|
+
def test(self, value):
|
|
113
|
+
# type: (int) -> bool
|
|
114
|
+
raise NotImplementedError
|
|
115
|
+
|
|
116
|
+
|
|
95
117
|
class Predicate(object):
|
|
96
118
|
@staticmethod
|
|
97
119
|
def isEqual(targetRef):
|
java/util/stream/__init__.py
CHANGED
|
@@ -1,10 +1,17 @@
|
|
|
1
|
-
__all__ = ["BaseStream", "Collector", "Stream"]
|
|
1
|
+
__all__ = ["BaseStream", "Collector", "IntStream", "Stream"]
|
|
2
2
|
|
|
3
3
|
from typing import Any, Iterable, Set
|
|
4
4
|
|
|
5
5
|
from java.lang import AutoCloseable, Enum, Runnable
|
|
6
6
|
from java.util import Iterator, Spliterator
|
|
7
|
-
from java.util.function import
|
|
7
|
+
from java.util.function import (
|
|
8
|
+
BiConsumer,
|
|
9
|
+
BinaryOperator,
|
|
10
|
+
Consumer,
|
|
11
|
+
Function,
|
|
12
|
+
IntConsumer,
|
|
13
|
+
Supplier,
|
|
14
|
+
)
|
|
8
15
|
|
|
9
16
|
|
|
10
17
|
class BaseStream(AutoCloseable):
|
|
@@ -75,6 +82,59 @@ class Collector(object):
|
|
|
75
82
|
pass
|
|
76
83
|
|
|
77
84
|
|
|
85
|
+
class IntStream(BaseStream):
|
|
86
|
+
|
|
87
|
+
class Builder(IntConsumer):
|
|
88
|
+
def accept(self, value):
|
|
89
|
+
# type: (int) -> None
|
|
90
|
+
raise NotImplementedError
|
|
91
|
+
|
|
92
|
+
def add(self, t):
|
|
93
|
+
# type: (int) -> IntStream.Builder
|
|
94
|
+
pass
|
|
95
|
+
|
|
96
|
+
def build(self):
|
|
97
|
+
# type: () -> IntStream
|
|
98
|
+
raise NotImplementedError
|
|
99
|
+
|
|
100
|
+
class IntMapMultiConsumer(object):
|
|
101
|
+
def accept(self, value, ic):
|
|
102
|
+
# type: (int, IntConsumer) -> None
|
|
103
|
+
raise NotImplementedError
|
|
104
|
+
|
|
105
|
+
def close(self):
|
|
106
|
+
# type: () -> None
|
|
107
|
+
pass
|
|
108
|
+
|
|
109
|
+
def isParallel(self):
|
|
110
|
+
# type: () -> bool
|
|
111
|
+
return True
|
|
112
|
+
|
|
113
|
+
def iterator(self):
|
|
114
|
+
# type: () -> Iterator
|
|
115
|
+
pass
|
|
116
|
+
|
|
117
|
+
def onClose(self, closeHandler):
|
|
118
|
+
# type: (Runnable) -> Any
|
|
119
|
+
pass
|
|
120
|
+
|
|
121
|
+
def parallel(self):
|
|
122
|
+
# type: () -> Any
|
|
123
|
+
pass
|
|
124
|
+
|
|
125
|
+
def sequential(self):
|
|
126
|
+
# type: () -> Any
|
|
127
|
+
pass
|
|
128
|
+
|
|
129
|
+
def spliterator(self):
|
|
130
|
+
# type: () -> Spliterator
|
|
131
|
+
pass
|
|
132
|
+
|
|
133
|
+
def unordered(self):
|
|
134
|
+
# type: () -> Any
|
|
135
|
+
pass
|
|
136
|
+
|
|
137
|
+
|
|
78
138
|
class Stream(BaseStream):
|
|
79
139
|
|
|
80
140
|
class Builder(Consumer):
|
|
@@ -18,4 +18,4 @@ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
|
18
18
|
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
19
|
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
20
|
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
-
SOFTWARE.
|
|
21
|
+
SOFTWARE.
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: java-api
|
|
3
|
-
Version: 17.
|
|
4
|
-
Summary: Java
|
|
5
|
-
Home-page: https://github.com/ignition-devs/java-api
|
|
3
|
+
Version: 17.26.4
|
|
4
|
+
Summary: Java API Specification
|
|
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
|
|
10
|
-
Project-URL: Documentation, https://docs.
|
|
9
|
+
Project-URL: Source, https://github.com/ignition-devs/java-api/tree/main
|
|
10
|
+
Project-URL: Documentation, https://docs.oracle.com/en/java/javase/17/docs/api/index.html
|
|
11
11
|
Project-URL: Funding, https://github.com/sponsors/cesarcoatl
|
|
12
|
-
Project-URL: Tracker, https://github.com/ignition-devs/java-api
|
|
12
|
+
Project-URL: Tracker, https://github.com/ignition-devs/java-api/issues
|
|
13
13
|
Keywords: coatl.dev,ignition,inductive automation,java
|
|
14
14
|
Platform: UNKNOWN
|
|
15
15
|
Classifier: Development Status :: 5 - Production/Stable
|
|
@@ -35,8 +35,8 @@ Requires-Dist: typing
|
|
|
35
35
|
[](https://pypi.org/project/java-api/)
|
|
36
36
|
[](https://pypi.org/project/java-api/)
|
|
37
37
|
[](https://pepy.tech/projects/java-api)
|
|
38
|
-
[](https://results.pre-commit.ci/latest/github/ignition-devs/java-api/main)
|
|
39
|
+
[](https://github.com/ignition-devs/java-api/actions/workflows/ci.yml)
|
|
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
|
|
@@ -139,11 +139,11 @@ See the [LICENSE].
|
|
|
139
139
|
This project has adopted the [Microsoft Open Source Code of Conduct].
|
|
140
140
|
|
|
141
141
|
<!-- Links -->
|
|
142
|
-
[CONTRIBUTING.md]: https://github.com/ignition-devs/java-api
|
|
143
|
-
[CONTRIBUTORS]: https://github.com/ignition-devs/java-api
|
|
142
|
+
[CONTRIBUTING.md]: https://github.com/ignition-devs/java-api/blob/main/CONTRIBUTING.md#contributing-to-java-api
|
|
143
|
+
[CONTRIBUTORS]: https://github.com/ignition-devs/java-api/graphs/contributors
|
|
144
144
|
[Discussions]: https://github.com/orgs/ignition-devs/discussions
|
|
145
145
|
[`java-api-stubs`]: https://pypi.org/project/java-api-stubs/
|
|
146
|
-
[LICENSE]: https://github.com/ignition-devs/java-api
|
|
146
|
+
[LICENSE]: https://github.com/ignition-devs/java-api/blob/main/LICENSE
|
|
147
147
|
[Microsoft Open Source Code of Conduct]: https://opensource.microsoft.com/codeofconduct/
|
|
148
148
|
[Python 2.7.18]: https://www.python.org/downloads/release/python-2718/
|
|
149
149
|
|
|
@@ -5,8 +5,8 @@ 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=
|
|
8
|
+
java/io/__init__.py,SHA256=gAD_8mawEhIGzORlIMrSISypQ9jG6quEzsvDmUGu1UU,9301
|
|
9
|
+
java/lang/__init__.py,SHA256=HYVARPXhKmP9ohnm1rKGl-MAJj2nXNCRlYPNIxc1M1I,20553
|
|
10
10
|
java/lang/reflect/__init__.py,SHA256=1JbQrNW001Ixelukj3ZBoshgaNiAglkTQbDuzzo51FA,170
|
|
11
11
|
java/math/__init__.py,SHA256=gzab0BiZlBO3qAmiN6TPDbIwqXMLdBwBRbidWybSulo,2020
|
|
12
12
|
java/net/__init__.py,SHA256=_Iu8_w2wul09Vkp8YJGMvBlg1SyZmkf0LZiS9e8O-wk,11135
|
|
@@ -27,11 +27,11 @@ java/time/__init__.py,SHA256=2fdyxml6hQM_MchluwWeNEr3ara5gU9_RSpIrq_LsLA,12268
|
|
|
27
27
|
java/time/chrono/__init__.py,SHA256=Ex3FlEQWEG1zW2yyefLeM5rJ7SOEvkWZtqkJMD16PPg,7584
|
|
28
28
|
java/time/format/__init__.py,SHA256=zpOYyIPc6JeRfiORstcUPU25-rTOzz5jR3Rb1WocbYk,2154
|
|
29
29
|
java/time/temporal/__init__.py,SHA256=0_iPeETT9IEmw2fQy6UTuIMuvElXPR1FsZeMQ_WOuDo,8958
|
|
30
|
-
java/util/__init__.py,SHA256=
|
|
30
|
+
java/util/__init__.py,SHA256=_puf2X1Bv8XD8niy5rs1BBWrSVsFNSTcLeHhDoR8qrg,32207
|
|
31
31
|
java/util/concurrent/__init__.py,SHA256=1FG4SNedSAKHRkdJZxTZwIgdcNOIwBqYMEa13cq-qBo,3295
|
|
32
|
-
java/util/function/__init__.py,SHA256=
|
|
32
|
+
java/util/function/__init__.py,SHA256=fCZXNHdnf6yLM9TADabNaDTccP9ESr-U5njy7tYXr20,2992
|
|
33
33
|
java/util/regex/__init__.py,SHA256=YHPXiIvC6GP7dXs0mEV0Kz4vdklW8aLUSKKaRR5csWs,4489
|
|
34
|
-
java/util/stream/__init__.py,SHA256=
|
|
34
|
+
java/util/stream/__init__.py,SHA256=URg-W92_XCVFBM2jAgtxK86wHo3LUnpjbGF9XDSF5Fg,3811
|
|
35
35
|
javax/__init__.py,SHA256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
36
36
|
javax/security/__init__.py,SHA256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
37
37
|
javax/security/auth/__init__.py,SHA256=EmJC26NEuKCgAf2QOBofizLkeH5kej7VjxQaQWCzN1Y,262
|
|
@@ -39,8 +39,8 @@ 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-17.
|
|
43
|
-
java_api-17.
|
|
44
|
-
java_api-17.
|
|
45
|
-
java_api-17.
|
|
46
|
-
java_api-17.
|
|
42
|
+
java_api-17.26.4.dist-info/LICENSE,SHA256=jan5VkSLS7c68CWDQD0qjximES0nbOpwPRd88k3eOXU,1066
|
|
43
|
+
java_api-17.26.4.dist-info/METADATA,SHA256=o6rHZgcLXhEk56BMlf53mvDJg2stTS9Hq2L4MOlXOaQ,5082
|
|
44
|
+
java_api-17.26.4.dist-info/WHEEL,SHA256=1VPi6hfNQaRRNuEdK_3dv9o8COtLGnHWJghhj4CQ28k,92
|
|
45
|
+
java_api-17.26.4.dist-info/top_level.txt,SHA256=ULMl8dxVE3DpTgZToR95hVaQmkl-LPtCbMSiiQAmdck,11
|
|
46
|
+
java_api-17.26.4.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|