java-api-stubs 17.25.0b6__tar.gz → 17.26.4__tar.gz

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.
Files changed (54) hide show
  1. {java_api_stubs-17.25.0b6 → java_api_stubs-17.26.4}/CHANGELOG.md +14 -0
  2. {java_api_stubs-17.25.0b6 → java_api_stubs-17.26.4}/LICENSE +1 -1
  3. {java_api_stubs-17.25.0b6/stubs/java_api_stubs.egg-info → java_api_stubs-17.26.4}/PKG-INFO +9 -8
  4. {java_api_stubs-17.25.0b6 → java_api_stubs-17.26.4}/README.md +4 -4
  5. {java_api_stubs-17.25.0b6 → java_api_stubs-17.26.4}/pyproject.toml +7 -8
  6. {java_api_stubs-17.25.0b6 → java_api_stubs-17.26.4}/stubs/java/io/__init__.pyi +2 -1
  7. {java_api_stubs-17.25.0b6 → java_api_stubs-17.26.4}/stubs/java/lang/__init__.pyi +6 -5
  8. {java_api_stubs-17.25.0b6 → java_api_stubs-17.26.4}/stubs/java/util/__init__.pyi +4 -23
  9. {java_api_stubs-17.25.0b6 → java_api_stubs-17.26.4}/stubs/java/util/function/__init__.pyi +8 -0
  10. {java_api_stubs-17.25.0b6 → java_api_stubs-17.26.4}/stubs/java/util/stream/__init__.pyi +26 -1
  11. {java_api_stubs-17.25.0b6 → java_api_stubs-17.26.4/stubs/java_api_stubs.egg-info}/PKG-INFO +9 -8
  12. {java_api_stubs-17.25.0b6 → java_api_stubs-17.26.4}/MANIFEST.in +0 -0
  13. {java_api_stubs-17.25.0b6 → java_api_stubs-17.26.4}/setup.cfg +0 -0
  14. {java_api_stubs-17.25.0b6 → java_api_stubs-17.26.4}/stubs/java/__init__.pyi +0 -0
  15. {java_api_stubs-17.25.0b6 → java_api_stubs-17.26.4}/stubs/java/awt/__init__.pyi +0 -0
  16. {java_api_stubs-17.25.0b6 → java_api_stubs-17.26.4}/stubs/java/awt/event/__init__.pyi +0 -0
  17. {java_api_stubs-17.25.0b6 → java_api_stubs-17.26.4}/stubs/java/awt/geom/__init__.pyi +0 -0
  18. {java_api_stubs-17.25.0b6 → java_api_stubs-17.26.4}/stubs/java/awt/image/__init__.pyi +0 -0
  19. {java_api_stubs-17.25.0b6 → java_api_stubs-17.26.4}/stubs/java/awt/print/__init__.pyi +0 -0
  20. {java_api_stubs-17.25.0b6 → java_api_stubs-17.26.4}/stubs/java/beans/__init__.pyi +0 -0
  21. {java_api_stubs-17.25.0b6 → java_api_stubs-17.26.4}/stubs/java/lang/reflect/__init__.pyi +0 -0
  22. {java_api_stubs-17.25.0b6 → java_api_stubs-17.26.4}/stubs/java/math/__init__.pyi +0 -0
  23. {java_api_stubs-17.25.0b6 → java_api_stubs-17.26.4}/stubs/java/net/__init__.pyi +0 -0
  24. {java_api_stubs-17.25.0b6 → java_api_stubs-17.26.4}/stubs/java/net/http/__init__.pyi +0 -0
  25. {java_api_stubs-17.25.0b6 → java_api_stubs-17.26.4}/stubs/java/nio/__init__.pyi +0 -0
  26. {java_api_stubs-17.25.0b6 → java_api_stubs-17.26.4}/stubs/java/nio/channels/__init__.pyi +0 -0
  27. {java_api_stubs-17.25.0b6 → java_api_stubs-17.26.4}/stubs/java/nio/charset/__init__.pyi +0 -0
  28. {java_api_stubs-17.25.0b6 → java_api_stubs-17.26.4}/stubs/java/nio/file/__init__.pyi +0 -0
  29. {java_api_stubs-17.25.0b6 → java_api_stubs-17.26.4}/stubs/java/nio/file/attribute/__init__.pyi +0 -0
  30. {java_api_stubs-17.25.0b6 → java_api_stubs-17.26.4}/stubs/java/org/__init__.pyi +0 -0
  31. {java_api_stubs-17.25.0b6 → java_api_stubs-17.26.4}/stubs/java/org/jdesktop/__init__.pyi +0 -0
  32. {java_api_stubs-17.25.0b6 → java_api_stubs-17.26.4}/stubs/java/org/jdesktop/core/__init__.pyi +0 -0
  33. {java_api_stubs-17.25.0b6 → java_api_stubs-17.26.4}/stubs/java/org/jdesktop/core/animation/__init__.pyi +0 -0
  34. {java_api_stubs-17.25.0b6 → java_api_stubs-17.26.4}/stubs/java/org/jdesktop/core/animation/timing/__init__.pyi +0 -0
  35. {java_api_stubs-17.25.0b6 → java_api_stubs-17.26.4}/stubs/java/py.typed +0 -0
  36. {java_api_stubs-17.25.0b6 → java_api_stubs-17.26.4}/stubs/java/security/__init__.pyi +0 -0
  37. {java_api_stubs-17.25.0b6 → java_api_stubs-17.26.4}/stubs/java/text/__init__.pyi +0 -0
  38. {java_api_stubs-17.25.0b6 → java_api_stubs-17.26.4}/stubs/java/time/__init__.pyi +0 -0
  39. {java_api_stubs-17.25.0b6 → java_api_stubs-17.26.4}/stubs/java/time/chrono/__init__.pyi +0 -0
  40. {java_api_stubs-17.25.0b6 → java_api_stubs-17.26.4}/stubs/java/time/format/__init__.pyi +0 -0
  41. {java_api_stubs-17.25.0b6 → java_api_stubs-17.26.4}/stubs/java/time/temporal/__init__.pyi +0 -0
  42. {java_api_stubs-17.25.0b6 → java_api_stubs-17.26.4}/stubs/java/util/concurrent/__init__.pyi +0 -0
  43. {java_api_stubs-17.25.0b6 → java_api_stubs-17.26.4}/stubs/java/util/regex/__init__.pyi +0 -0
  44. {java_api_stubs-17.25.0b6 → java_api_stubs-17.26.4}/stubs/java_api_stubs.egg-info/SOURCES.txt +0 -0
  45. {java_api_stubs-17.25.0b6 → java_api_stubs-17.26.4}/stubs/java_api_stubs.egg-info/dependency_links.txt +0 -0
  46. {java_api_stubs-17.25.0b6 → java_api_stubs-17.26.4}/stubs/java_api_stubs.egg-info/top_level.txt +0 -0
  47. {java_api_stubs-17.25.0b6 → java_api_stubs-17.26.4}/stubs/javax/__init__.pyi +0 -0
  48. {java_api_stubs-17.25.0b6 → java_api_stubs-17.26.4}/stubs/javax/py.typed +0 -0
  49. {java_api_stubs-17.25.0b6 → java_api_stubs-17.26.4}/stubs/javax/security/__init__.pyi +0 -0
  50. {java_api_stubs-17.25.0b6 → java_api_stubs-17.26.4}/stubs/javax/security/auth/__init__.pyi +0 -0
  51. {java_api_stubs-17.25.0b6 → java_api_stubs-17.26.4}/stubs/javax/swing/__init__.pyi +0 -0
  52. {java_api_stubs-17.25.0b6 → java_api_stubs-17.26.4}/stubs/javax/swing/event/__init__.pyi +0 -0
  53. {java_api_stubs-17.25.0b6 → java_api_stubs-17.26.4}/stubs/javax/swing/plaf/__init__.pyi +0 -0
  54. {java_api_stubs-17.25.0b6 → java_api_stubs-17.26.4}/stubs/javax/swing/text/__init__.pyi +0 -0
@@ -1,3 +1,17 @@
1
+ ## 17.26.4 (2026-04-16)
2
+
3
+ ### Fix
4
+
5
+ - **io**: update Reader.read to respect Liskov Substitution Principle (#23)
6
+
7
+ ## 17.26.0 (2026-01-20)
8
+
9
+ ### Fix
10
+
11
+ - **util**: remove Stream class (#14)
12
+
13
+ ## 17.25.0 (2025-12-16)
14
+
1
15
  ## 17.25.0b6 (2025-12-10)
2
16
 
3
17
  ## 17.25.0b5 (2025-12-08)
@@ -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,13 +1,14 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: java-api-stubs
3
- Version: 17.25.0b6
3
+ Version: 17.26.4
4
4
  Summary: Java 17 API Specification stubs for ignition-api
5
5
  Author-email: César Román <cesar@coatl.dev>
6
6
  License-Expression: MIT
7
+ Project-URL: Documentation, https://docs.oracle.com/en/java/javase/17/docs/api/index.html
7
8
  Project-URL: Funding, https://github.com/sponsors/cesarcoatl
8
- Project-URL: Homepage, https://github.com/ignition-devs/java-api-17
9
- Project-URL: Source, https://github.com/ignition-devs/java-api-17
10
- Project-URL: Tracker, https://github.com/ignition-devs/java-api-17/issues
9
+ Project-URL: Homepage, https://github.com/ignition-devs/java-api
10
+ Project-URL: Source, https://github.com/ignition-devs/java-api/tree/main
11
+ Project-URL: Tracker, https://github.com/ignition-devs/java-api/issues
11
12
  Keywords: coatl.dev,ignition,inductive automation,java
12
13
  Classifier: Development Status :: 5 - Production/Stable
13
14
  Classifier: Intended Audience :: Developers
@@ -91,10 +92,10 @@ See [CODE_OF_CONDUCT.md].
91
92
 
92
93
  <!-- Links -->
93
94
  [CODE_OF_CONDUCT.md]: https://github.com/ignition-devs/.github/blob/main/CODE_OF_CONDUCT.md
94
- [CONTRIBUTING.md]: https://github.com/ignition-devs/java-api-17/blob/main/CONTRIBUTING.md
95
- [contributors]: https://github.com/ignition-devs/java-api-17/graphs/contributors
95
+ [CONTRIBUTING.md]: https://github.com/ignition-devs/java-api/blob/main/CONTRIBUTING.md
96
+ [contributors]: https://github.com/ignition-devs/java-api/graphs/contributors
96
97
  [Discussions]: https://github.com/orgs/ignition-devs/discussions
97
- [`java-api`]: https://github.com/ignition-devs/java-api-17
98
- [LICENSE]: https://github.com/ignition-devs/java-api-17/blob/main/LICENSE
98
+ [`java-api`]: https://github.com/ignition-devs/java-api
99
+ [LICENSE]: https://github.com/ignition-devs/java-api/blob/main/LICENSE
99
100
  [`stubgen`]: https://coatl-mypy.readthedocs.io/en/v0.971/stubgen.html
100
101
  [stubs]: https://www.python.org/dev/peps/pep-484/
@@ -60,10 +60,10 @@ See [CODE_OF_CONDUCT.md].
60
60
 
61
61
  <!-- Links -->
62
62
  [CODE_OF_CONDUCT.md]: https://github.com/ignition-devs/.github/blob/main/CODE_OF_CONDUCT.md
63
- [CONTRIBUTING.md]: https://github.com/ignition-devs/java-api-17/blob/main/CONTRIBUTING.md
64
- [contributors]: https://github.com/ignition-devs/java-api-17/graphs/contributors
63
+ [CONTRIBUTING.md]: https://github.com/ignition-devs/java-api/blob/main/CONTRIBUTING.md
64
+ [contributors]: https://github.com/ignition-devs/java-api/graphs/contributors
65
65
  [Discussions]: https://github.com/orgs/ignition-devs/discussions
66
- [`java-api`]: https://github.com/ignition-devs/java-api-17
67
- [LICENSE]: https://github.com/ignition-devs/java-api-17/blob/main/LICENSE
66
+ [`java-api`]: https://github.com/ignition-devs/java-api
67
+ [LICENSE]: https://github.com/ignition-devs/java-api/blob/main/LICENSE
68
68
  [`stubgen`]: https://coatl-mypy.readthedocs.io/en/v0.971/stubgen.html
69
69
  [stubs]: https://www.python.org/dev/peps/pep-484/
@@ -1,12 +1,12 @@
1
1
  [build-system]
2
2
  build-backend = "setuptools.build_meta"
3
3
  requires = [
4
- "setuptools",
4
+ "setuptools>=61.2",
5
5
  ]
6
6
 
7
7
  [project]
8
8
  name = "java-api-stubs"
9
- version = "17.25.0b6"
9
+ version = "17.26.4"
10
10
  description = "Java 17 API Specification stubs for ignition-api"
11
11
  readme = "README.md"
12
12
  keywords = [
@@ -35,14 +35,13 @@ classifiers = [
35
35
  "Typing :: Stubs Only",
36
36
  "Typing :: Typed",
37
37
  ]
38
+ urls.Documentation = "https://docs.oracle.com/en/java/javase/17/docs/api/index.html"
38
39
  urls.Funding = "https://github.com/sponsors/cesarcoatl"
39
- urls.Homepage = "https://github.com/ignition-devs/java-api-17"
40
- urls.Source = "https://github.com/ignition-devs/java-api-17"
41
- urls.Tracker = "https://github.com/ignition-devs/java-api-17/issues"
40
+ urls.Homepage = "https://github.com/ignition-devs/java-api"
41
+ urls.Source = "https://github.com/ignition-devs/java-api/tree/main"
42
+ urls.Tracker = "https://github.com/ignition-devs/java-api/issues"
42
43
 
43
44
  [tool.setuptools]
44
45
  include-package-data = true
45
46
  package-dir = { "" = "stubs" }
46
-
47
- [tool.setuptools.package-data]
48
- "*" = [ "*.pyi", "py.typed" ]
47
+ package-data."*" = [ "*.pyi", "py.typed" ]
@@ -9,6 +9,7 @@ from java.lang import (
9
9
  Readable,
10
10
  Throwable,
11
11
  )
12
+ from java.nio import CharBuffer
12
13
  from java.nio.channels import FileChannel
13
14
  from java.nio.charset import Charset, CharsetDecoder
14
15
 
@@ -112,7 +113,7 @@ class Reader(Object, Readable, Closeable):
112
113
  def markSupported(self) -> bool: ...
113
114
  @staticmethod
114
115
  def nullReader() -> Reader: ...
115
- def read(self, *args: Any) -> int: ...
116
+ def read(self, cb: CharBuffer) -> int: ...
116
117
  def ready(self) -> bool: ...
117
118
  def reset(self) -> None: ...
118
119
  def skip(self, n: long) -> long: ...
@@ -5,6 +5,7 @@ from java.lang.reflect import Type
5
5
  from java.nio import CharBuffer
6
6
  from java.util import Iterator, Spliterator
7
7
  from java.util.function import Consumer
8
+ from java.util.stream import IntStream, Stream
8
9
 
9
10
  class Object:
10
11
  def __init__(self) -> None: ...
@@ -30,8 +31,8 @@ class AutoCloseable:
30
31
 
31
32
  class CharSequence:
32
33
  def charAt(self, index: int) -> str: ...
33
- def chars(self) -> None: ...
34
- def codePoints(self) -> None: ...
34
+ def chars(self) -> IntStream: ...
35
+ def codePoints(self) -> IntStream: ...
35
36
  @staticmethod
36
37
  def compare(cs1: CharSequence, cs2: CharSequence) -> int: ...
37
38
  def length(self) -> int: ...
@@ -88,11 +89,11 @@ class String(unicode):
88
89
  def __new__(cls, *args: Any) -> Any: ...
89
90
  def __init__(self, *args: Any) -> None: ...
90
91
  def charAt(self, index: int) -> unicode: ...
91
- def chars(self) -> None: ...
92
+ def chars(self) -> IntStream: ...
92
93
  def codePointAt(self, index: int) -> int: ...
93
94
  def codePointBefore(self, index: int) -> int: ...
94
95
  def codePointCount(self, beginIndex: int, endIndex: int) -> int: ...
95
- def codePoints(self) -> None: ...
96
+ def codePoints(self) -> IntStream: ...
96
97
  @staticmethod
97
98
  def compare(cs1: CharSequence, cs2: CharSequence) -> int: ...
98
99
  def compareTo(self, anotherString: String) -> int: ...
@@ -121,7 +122,7 @@ class String(unicode):
121
122
  self, arg: Union[int, String], fromIndex: Optional[int] = ...
122
123
  ) -> int: ...
123
124
  def length(self) -> int: ...
124
- def lines(self) -> None: ...
125
+ def lines(self) -> Stream: ...
125
126
  def matches(self, regex: String) -> bool: ...
126
127
  def notify(self) -> None: ...
127
128
  def notifyAll(self) -> None: ...
@@ -9,11 +9,11 @@ from java.util.function import (
9
9
  Consumer,
10
10
  Function,
11
11
  Predicate,
12
- Supplier,
13
12
  ToDoubleFunction,
14
13
  ToIntFunction,
15
14
  ToLongFunction,
16
15
  )
16
+ from java.util.stream import Stream
17
17
 
18
18
  class Collection:
19
19
  def add(self, e: Any) -> bool: ...
@@ -143,28 +143,7 @@ class Spliterator:
143
143
  def tryAdvance(self, action: Consumer) -> bool: ...
144
144
  def trySplit(self) -> Spliterator: ...
145
145
 
146
- class Stream:
147
- class Builder(Consumer):
148
- def accept(self, t: Any) -> None: ...
149
- def add(self, t: Any) -> Stream.Builder: ...
150
- def build(self) -> Stream: ...
151
-
152
- @staticmethod
153
- def builder() -> Builder: ...
154
- @staticmethod
155
- def concat(a: Stream, b: Stream) -> Stream: ...
156
- @staticmethod
157
- def empty() -> Stream: ...
158
- @staticmethod
159
- def generate(s: Supplier) -> Stream: ...
160
- @staticmethod
161
- def iterate(*args: Any) -> Stream: ...
162
- @staticmethod
163
- def of(*args: Any) -> Stream: ...
164
- @staticmethod
165
- def ofNullable(t: Any) -> Stream: ...
166
-
167
- class Arrays(Object):
146
+ class Arrays:
168
147
  @staticmethod
169
148
  def asList(a: Any) -> List[Any]: ...
170
149
  @staticmethod
@@ -211,6 +190,8 @@ class Arrays(Object):
211
190
  startInclusive: Optional[int] = ...,
212
191
  endExclusive: Optional[int] = ...,
213
192
  ) -> Stream: ...
193
+ @staticmethod
194
+ def toString(a: List[Any]) -> Union[str, unicode]: ...
214
195
 
215
196
  class AbstractCollection(Object, Collection):
216
197
  def add(self, e: Any) -> bool: ...
@@ -32,6 +32,14 @@ class Function:
32
32
  @staticmethod
33
33
  def identity() -> Function: ...
34
34
 
35
+ class IntConsumer:
36
+ def accept(self, value: int) -> None: ...
37
+ def andThen(self, after: IntConsumer) -> IntConsumer: ...
38
+
39
+ class IntPredicate:
40
+ def negate(self) -> IntPredicate: ...
41
+ def test(self, value: int) -> bool: ...
42
+
35
43
  class Predicate:
36
44
  @staticmethod
37
45
  def isEqual(targetRef: Object) -> Predicate: ...
@@ -2,7 +2,14 @@ from typing import Any, Iterable, Set
2
2
 
3
3
  from java.lang import AutoCloseable, Enum, Runnable
4
4
  from java.util import Iterator, Spliterator
5
- from java.util.function import BiConsumer, BinaryOperator, Consumer, Function, Supplier
5
+ from java.util.function import (
6
+ BiConsumer,
7
+ BinaryOperator,
8
+ Consumer,
9
+ Function,
10
+ IntConsumer,
11
+ Supplier,
12
+ )
6
13
 
7
14
  class BaseStream(AutoCloseable):
8
15
  def close(self) -> None: ...
@@ -27,6 +34,24 @@ class Collector:
27
34
  def of(*args: Any) -> Collector: ...
28
35
  def supplier(self) -> Supplier: ...
29
36
 
37
+ class IntStream(BaseStream):
38
+ class Builder(IntConsumer):
39
+ def accept(self, value: int) -> None: ...
40
+ def add(self, t: int) -> IntStream.Builder: ...
41
+ def build(self) -> IntStream: ...
42
+
43
+ class IntMapMultiConsumer:
44
+ def accept(self, value: int, ic: IntConsumer) -> None: ...
45
+
46
+ def close(self) -> None: ...
47
+ def isParallel(self) -> bool: ...
48
+ def iterator(self) -> Iterator: ...
49
+ def onClose(self, closeHandler: Runnable) -> Any: ...
50
+ def parallel(self) -> Any: ...
51
+ def sequential(self) -> Any: ...
52
+ def spliterator(self) -> Spliterator: ...
53
+ def unordered(self) -> Any: ...
54
+
30
55
  class Stream(BaseStream):
31
56
  class Builder(Consumer):
32
57
  def accept(self, t: Any) -> None: ...
@@ -1,13 +1,14 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: java-api-stubs
3
- Version: 17.25.0b6
3
+ Version: 17.26.4
4
4
  Summary: Java 17 API Specification stubs for ignition-api
5
5
  Author-email: César Román <cesar@coatl.dev>
6
6
  License-Expression: MIT
7
+ Project-URL: Documentation, https://docs.oracle.com/en/java/javase/17/docs/api/index.html
7
8
  Project-URL: Funding, https://github.com/sponsors/cesarcoatl
8
- Project-URL: Homepage, https://github.com/ignition-devs/java-api-17
9
- Project-URL: Source, https://github.com/ignition-devs/java-api-17
10
- Project-URL: Tracker, https://github.com/ignition-devs/java-api-17/issues
9
+ Project-URL: Homepage, https://github.com/ignition-devs/java-api
10
+ Project-URL: Source, https://github.com/ignition-devs/java-api/tree/main
11
+ Project-URL: Tracker, https://github.com/ignition-devs/java-api/issues
11
12
  Keywords: coatl.dev,ignition,inductive automation,java
12
13
  Classifier: Development Status :: 5 - Production/Stable
13
14
  Classifier: Intended Audience :: Developers
@@ -91,10 +92,10 @@ See [CODE_OF_CONDUCT.md].
91
92
 
92
93
  <!-- Links -->
93
94
  [CODE_OF_CONDUCT.md]: https://github.com/ignition-devs/.github/blob/main/CODE_OF_CONDUCT.md
94
- [CONTRIBUTING.md]: https://github.com/ignition-devs/java-api-17/blob/main/CONTRIBUTING.md
95
- [contributors]: https://github.com/ignition-devs/java-api-17/graphs/contributors
95
+ [CONTRIBUTING.md]: https://github.com/ignition-devs/java-api/blob/main/CONTRIBUTING.md
96
+ [contributors]: https://github.com/ignition-devs/java-api/graphs/contributors
96
97
  [Discussions]: https://github.com/orgs/ignition-devs/discussions
97
- [`java-api`]: https://github.com/ignition-devs/java-api-17
98
- [LICENSE]: https://github.com/ignition-devs/java-api-17/blob/main/LICENSE
98
+ [`java-api`]: https://github.com/ignition-devs/java-api
99
+ [LICENSE]: https://github.com/ignition-devs/java-api/blob/main/LICENSE
99
100
  [`stubgen`]: https://coatl-mypy.readthedocs.io/en/v0.971/stubgen.html
100
101
  [stubs]: https://www.python.org/dev/peps/pep-484/