java-api-stubs 17.26.5__tar.gz → 25.26.1__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.
- java_api_stubs-25.26.1/CHANGELOG.md +5 -0
- {java_api_stubs-17.26.5/stubs/java_api_stubs.egg-info → java_api_stubs-25.26.1}/PKG-INFO +4 -4
- {java_api_stubs-17.26.5 → java_api_stubs-25.26.1}/pyproject.toml +5 -5
- {java_api_stubs-17.26.5 → java_api_stubs-25.26.1}/stubs/java/io/__init__.pyi +7 -1
- {java_api_stubs-17.26.5 → java_api_stubs-25.26.1}/stubs/java/lang/__init__.pyi +161 -8
- java_api_stubs-25.26.1/stubs/java/lang/reflect/__init__.pyi +103 -0
- {java_api_stubs-17.26.5 → java_api_stubs-25.26.1}/stubs/java/math/__init__.pyi +2 -0
- {java_api_stubs-17.26.5 → java_api_stubs-25.26.1}/stubs/java/net/__init__.pyi +2 -0
- java_api_stubs-25.26.1/stubs/java/net/http/__init__.pyi +16 -0
- {java_api_stubs-17.26.5 → java_api_stubs-25.26.1}/stubs/java/nio/__init__.pyi +3 -0
- {java_api_stubs-17.26.5 → java_api_stubs-25.26.1}/stubs/java/nio/charset/__init__.pyi +3 -1
- {java_api_stubs-17.26.5 → java_api_stubs-25.26.1}/stubs/java/nio/file/__init__.pyi +3 -1
- {java_api_stubs-17.26.5 → java_api_stubs-25.26.1}/stubs/java/text/__init__.pyi +28 -1
- {java_api_stubs-17.26.5 → java_api_stubs-25.26.1}/stubs/java/time/__init__.pyi +3 -0
- {java_api_stubs-17.26.5 → java_api_stubs-25.26.1}/stubs/java/time/chrono/__init__.pyi +1 -0
- {java_api_stubs-17.26.5 → java_api_stubs-25.26.1}/stubs/java/time/format/__init__.pyi +4 -0
- {java_api_stubs-17.26.5 → java_api_stubs-25.26.1}/stubs/java/util/__init__.pyi +69 -0
- {java_api_stubs-17.26.5 → java_api_stubs-25.26.1}/stubs/java/util/concurrent/__init__.pyi +27 -1
- {java_api_stubs-17.26.5 → java_api_stubs-25.26.1}/stubs/java/util/regex/__init__.pyi +16 -6
- {java_api_stubs-17.26.5 → java_api_stubs-25.26.1}/stubs/java/util/stream/__init__.pyi +44 -0
- {java_api_stubs-17.26.5 → java_api_stubs-25.26.1/stubs/java_api_stubs.egg-info}/PKG-INFO +4 -4
- java_api_stubs-25.26.1/stubs/javax/security/auth/__init__.pyi +10 -0
- java_api_stubs-17.26.5/CHANGELOG.md +0 -37
- java_api_stubs-17.26.5/stubs/java/lang/reflect/__init__.pyi +0 -4
- java_api_stubs-17.26.5/stubs/java/net/http/__init__.pyi +0 -5
- java_api_stubs-17.26.5/stubs/javax/security/auth/__init__.pyi +0 -6
- {java_api_stubs-17.26.5 → java_api_stubs-25.26.1}/LICENSE +0 -0
- {java_api_stubs-17.26.5 → java_api_stubs-25.26.1}/MANIFEST.in +0 -0
- {java_api_stubs-17.26.5 → java_api_stubs-25.26.1}/README.md +0 -0
- {java_api_stubs-17.26.5 → java_api_stubs-25.26.1}/setup.cfg +0 -0
- {java_api_stubs-17.26.5 → java_api_stubs-25.26.1}/stubs/java/__init__.pyi +0 -0
- {java_api_stubs-17.26.5 → java_api_stubs-25.26.1}/stubs/java/awt/__init__.pyi +0 -0
- {java_api_stubs-17.26.5 → java_api_stubs-25.26.1}/stubs/java/awt/event/__init__.pyi +0 -0
- {java_api_stubs-17.26.5 → java_api_stubs-25.26.1}/stubs/java/awt/geom/__init__.pyi +0 -0
- {java_api_stubs-17.26.5 → java_api_stubs-25.26.1}/stubs/java/awt/image/__init__.pyi +0 -0
- {java_api_stubs-17.26.5 → java_api_stubs-25.26.1}/stubs/java/awt/print/__init__.pyi +0 -0
- {java_api_stubs-17.26.5 → java_api_stubs-25.26.1}/stubs/java/beans/__init__.pyi +0 -0
- {java_api_stubs-17.26.5 → java_api_stubs-25.26.1}/stubs/java/nio/channels/__init__.pyi +0 -0
- {java_api_stubs-17.26.5 → java_api_stubs-25.26.1}/stubs/java/nio/file/attribute/__init__.pyi +0 -0
- {java_api_stubs-17.26.5 → java_api_stubs-25.26.1}/stubs/java/org/__init__.pyi +0 -0
- {java_api_stubs-17.26.5 → java_api_stubs-25.26.1}/stubs/java/org/jdesktop/__init__.pyi +0 -0
- {java_api_stubs-17.26.5 → java_api_stubs-25.26.1}/stubs/java/org/jdesktop/core/__init__.pyi +0 -0
- {java_api_stubs-17.26.5 → java_api_stubs-25.26.1}/stubs/java/org/jdesktop/core/animation/__init__.pyi +0 -0
- {java_api_stubs-17.26.5 → java_api_stubs-25.26.1}/stubs/java/org/jdesktop/core/animation/timing/__init__.pyi +0 -0
- {java_api_stubs-17.26.5 → java_api_stubs-25.26.1}/stubs/java/py.typed +0 -0
- {java_api_stubs-17.26.5 → java_api_stubs-25.26.1}/stubs/java/security/__init__.pyi +0 -0
- {java_api_stubs-17.26.5 → java_api_stubs-25.26.1}/stubs/java/time/temporal/__init__.pyi +0 -0
- {java_api_stubs-17.26.5 → java_api_stubs-25.26.1}/stubs/java/util/function/__init__.pyi +0 -0
- {java_api_stubs-17.26.5 → java_api_stubs-25.26.1}/stubs/java_api_stubs.egg-info/SOURCES.txt +0 -0
- {java_api_stubs-17.26.5 → java_api_stubs-25.26.1}/stubs/java_api_stubs.egg-info/dependency_links.txt +0 -0
- {java_api_stubs-17.26.5 → java_api_stubs-25.26.1}/stubs/java_api_stubs.egg-info/top_level.txt +0 -0
- {java_api_stubs-17.26.5 → java_api_stubs-25.26.1}/stubs/javax/__init__.pyi +0 -0
- {java_api_stubs-17.26.5 → java_api_stubs-25.26.1}/stubs/javax/py.typed +0 -0
- {java_api_stubs-17.26.5 → java_api_stubs-25.26.1}/stubs/javax/security/__init__.pyi +0 -0
- {java_api_stubs-17.26.5 → java_api_stubs-25.26.1}/stubs/javax/swing/__init__.pyi +0 -0
- {java_api_stubs-17.26.5 → java_api_stubs-25.26.1}/stubs/javax/swing/event/__init__.pyi +0 -0
- {java_api_stubs-17.26.5 → java_api_stubs-25.26.1}/stubs/javax/swing/plaf/__init__.pyi +0 -0
- {java_api_stubs-17.26.5 → java_api_stubs-25.26.1}/stubs/javax/swing/text/__init__.pyi +0 -0
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: java-api-stubs
|
|
3
|
-
Version:
|
|
4
|
-
Summary: Java
|
|
3
|
+
Version: 25.26.1
|
|
4
|
+
Summary: Java 25 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/
|
|
7
|
+
Project-URL: Documentation, https://docs.oracle.com/en/java/javase/25/docs/api/index.html
|
|
8
8
|
Project-URL: Funding, https://github.com/sponsors/cesarcoatl
|
|
9
9
|
Project-URL: Homepage, https://github.com/ignition-devs/java-api
|
|
10
|
-
Project-URL: Source, https://github.com/ignition-devs/java-api/tree/
|
|
10
|
+
Project-URL: Source, https://github.com/ignition-devs/java-api/tree/25
|
|
11
11
|
Project-URL: Tracker, https://github.com/ignition-devs/java-api/issues
|
|
12
12
|
Keywords: coatl.dev,ignition,inductive automation,java
|
|
13
13
|
Classifier: Development Status :: 5 - Production/Stable
|
|
@@ -6,8 +6,8 @@ requires = [
|
|
|
6
6
|
|
|
7
7
|
[project]
|
|
8
8
|
name = "java-api-stubs"
|
|
9
|
-
version = "
|
|
10
|
-
description = "Java
|
|
9
|
+
version = "25.26.1"
|
|
10
|
+
description = "Java 25 API Specification stubs for ignition-api"
|
|
11
11
|
readme = "README.md"
|
|
12
12
|
keywords = [
|
|
13
13
|
"coatl.dev",
|
|
@@ -35,13 +35,13 @@ classifiers = [
|
|
|
35
35
|
"Typing :: Stubs Only",
|
|
36
36
|
"Typing :: Typed",
|
|
37
37
|
]
|
|
38
|
-
urls.Documentation = "https://docs.oracle.com/en/java/javase/
|
|
38
|
+
urls.Documentation = "https://docs.oracle.com/en/java/javase/25/docs/api/index.html"
|
|
39
39
|
urls.Funding = "https://github.com/sponsors/cesarcoatl"
|
|
40
40
|
urls.Homepage = "https://github.com/ignition-devs/java-api"
|
|
41
|
-
urls.Source = "https://github.com/ignition-devs/java-api/tree/
|
|
41
|
+
urls.Source = "https://github.com/ignition-devs/java-api/tree/25"
|
|
42
42
|
urls.Tracker = "https://github.com/ignition-devs/java-api/issues"
|
|
43
43
|
|
|
44
44
|
[tool.setuptools]
|
|
45
|
-
include-package-data = true
|
|
46
45
|
package-dir = { "" = "stubs" }
|
|
46
|
+
include-package-data = true
|
|
47
47
|
package-data."*" = [ "*.pyi", "py.typed" ]
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
from typing import Any, Optional, Union
|
|
1
|
+
from typing import Any, List, Optional, Union
|
|
2
2
|
|
|
3
3
|
from java.lang import (
|
|
4
4
|
Appendable,
|
|
@@ -72,6 +72,7 @@ class PrintStream(FilterOutputStream):
|
|
|
72
72
|
def __init__(self, *args: Any) -> None: ...
|
|
73
73
|
def append(self, *args: Any) -> PrintStream: ...
|
|
74
74
|
def checkError(self) -> bool: ...
|
|
75
|
+
def charset(self) -> Charset: ...
|
|
75
76
|
def format(self, *args: Any) -> PrintStream: ...
|
|
76
77
|
def print(self, arg: Any) -> None: ...
|
|
77
78
|
def printf(self, *args: Any) -> None: ...
|
|
@@ -100,6 +101,7 @@ class FileInputStream(InputStream):
|
|
|
100
101
|
def __init__(self, *args: Any) -> None: ...
|
|
101
102
|
def getChannel(self) -> FileChannel: ...
|
|
102
103
|
def getFD(self) -> FileDescriptor: ...
|
|
104
|
+
def transferTo(self, out: OutputStream) -> long: ...
|
|
103
105
|
|
|
104
106
|
class IOException(Exception):
|
|
105
107
|
def __init__(
|
|
@@ -113,7 +115,11 @@ class Reader(Object, Readable, Closeable):
|
|
|
113
115
|
def markSupported(self) -> bool: ...
|
|
114
116
|
@staticmethod
|
|
115
117
|
def nullReader() -> Reader: ...
|
|
118
|
+
@staticmethod
|
|
119
|
+
def of(csq: CharSequence) -> Reader: ...
|
|
116
120
|
def read(self, cb: CharBuffer) -> int: ...
|
|
121
|
+
def readAllAsString(self) -> Union[str, unicode]: ...
|
|
122
|
+
def readAllLines(self) -> List[Union[str, unicode]]: ...
|
|
117
123
|
def ready(self) -> bool: ...
|
|
118
124
|
def reset(self) -> None: ...
|
|
119
125
|
def skip(self, n: long) -> long: ...
|
|
@@ -1,10 +1,14 @@
|
|
|
1
1
|
import __builtin__ as builtins
|
|
2
|
-
from typing import Any, List, Optional, Union
|
|
2
|
+
from typing import Any, List, Optional, Set, Union
|
|
3
3
|
|
|
4
|
-
from java.
|
|
4
|
+
from java.io import InputStream, PrintStream
|
|
5
|
+
from java.lang.reflect import AccessFlag, Type
|
|
5
6
|
from java.nio import CharBuffer
|
|
6
|
-
from java.
|
|
7
|
-
from java.
|
|
7
|
+
from java.nio.channels import Channel
|
|
8
|
+
from java.time import Duration
|
|
9
|
+
from java.util import Iterator, Properties, Spliterator
|
|
10
|
+
from java.util.concurrent import ThreadFactory
|
|
11
|
+
from java.util.function import Consumer, Supplier
|
|
8
12
|
from java.util.stream import IntStream, Stream
|
|
9
13
|
|
|
10
14
|
class Object:
|
|
@@ -35,6 +39,9 @@ class CharSequence:
|
|
|
35
39
|
def codePoints(self) -> IntStream: ...
|
|
36
40
|
@staticmethod
|
|
37
41
|
def compare(cs1: CharSequence, cs2: CharSequence) -> int: ...
|
|
42
|
+
def getChars(
|
|
43
|
+
self, srcBegin: int, srcEnd: int, dst: object, dstBegin: int
|
|
44
|
+
) -> None: ...
|
|
38
45
|
def length(self) -> int: ...
|
|
39
46
|
def subSequence(self, start: int, end: int) -> CharSequence: ...
|
|
40
47
|
def toString(self) -> Union[str, unicode]: ...
|
|
@@ -54,8 +61,11 @@ class Runnable:
|
|
|
54
61
|
def run(self) -> None: ...
|
|
55
62
|
|
|
56
63
|
class Class(Object, Type):
|
|
64
|
+
def accessFlags(self) -> Set[AccessFlag]: ...
|
|
57
65
|
def asSubClass(self, clazz: Class) -> Any: ...
|
|
58
66
|
def cast(self, obj: Object) -> Any: ...
|
|
67
|
+
@staticmethod
|
|
68
|
+
def forPrimitiveName(name: Union[str, unicode]) -> Class: ...
|
|
59
69
|
def getTypeName(self) -> Union[str, unicode]: ...
|
|
60
70
|
|
|
61
71
|
class Enum(Object):
|
|
@@ -113,7 +123,10 @@ class String(unicode):
|
|
|
113
123
|
def getClass(self) -> Class: ...
|
|
114
124
|
def hashCode(self) -> int: ...
|
|
115
125
|
def indexOf(
|
|
116
|
-
self,
|
|
126
|
+
self,
|
|
127
|
+
arg: Union[int, String],
|
|
128
|
+
fromIndex: Optional[int] = ...,
|
|
129
|
+
toIndex: Optional[int] = ...,
|
|
117
130
|
) -> int: ...
|
|
118
131
|
def intern(self) -> String: ...
|
|
119
132
|
def isBlank(self) -> bool: ...
|
|
@@ -131,6 +144,9 @@ class String(unicode):
|
|
|
131
144
|
def repeat(self, count: int) -> String: ...
|
|
132
145
|
def replaceAll(self, regex: String, replacement: String) -> String: ...
|
|
133
146
|
def replaceFirst(self, regex: String, replacement: String) -> String: ...
|
|
147
|
+
def splitWithDelimiters(
|
|
148
|
+
self, regex: String, limit: int
|
|
149
|
+
) -> List[Union[str, unicode]]: ...
|
|
134
150
|
def startsWith(self, prefix: String, offset: int = ...) -> bool: ...
|
|
135
151
|
def stripLeading(self) -> String: ...
|
|
136
152
|
def stripTrailing(self) -> String: ...
|
|
@@ -157,12 +173,15 @@ class StringBuffer(Object, CharSequence):
|
|
|
157
173
|
def delete(self, start: int, end: int) -> StringBuffer: ...
|
|
158
174
|
def deleteCharAt(self, index: int) -> StringBuffer: ...
|
|
159
175
|
def ensureCapacity(self, minimumCapacity: int) -> None: ...
|
|
160
|
-
def getChars(
|
|
176
|
+
def getChars(
|
|
177
|
+
self, srcBegin: int, srcEnd: int, dst: object, dstBegin: int
|
|
178
|
+
) -> None: ...
|
|
161
179
|
def indexOf(self, string: str, fromIndex: int = ...) -> int: ...
|
|
162
180
|
def insert(self, *args: Any) -> StringBuffer: ...
|
|
163
181
|
def lastIndexOf(self, string: str, fromIndex: int = ...) -> int: ...
|
|
164
182
|
def length(self) -> int: ...
|
|
165
183
|
def offsetByCodePoints(self, index: int, codePointOffset: int) -> int: ...
|
|
184
|
+
def repeat(self, *args: Any) -> StringBuffer: ...
|
|
166
185
|
def replace(self, start: int, end: int, string: str) -> StringBuffer: ...
|
|
167
186
|
def reverse(self) -> StringBuffer: ...
|
|
168
187
|
def setCharAt(self, index: int, ch: str) -> None: ...
|
|
@@ -183,12 +202,15 @@ class StringBuilder(Object, CharSequence):
|
|
|
183
202
|
def delete(self, start: int, end: int) -> StringBuilder: ...
|
|
184
203
|
def deleteCharAt(self, index: int) -> StringBuilder: ...
|
|
185
204
|
def ensureCapacity(self, minimumCapacity: int) -> None: ...
|
|
186
|
-
def getChars(
|
|
205
|
+
def getChars(
|
|
206
|
+
self, srcBegin: int, srcEnd: int, dst: object, dstBegin: int
|
|
207
|
+
) -> None: ...
|
|
187
208
|
def indexOf(self, str_: Union[str, unicode], fromIndex: int = ...) -> int: ...
|
|
188
209
|
def insert(self, *args: Any) -> StringBuilder: ...
|
|
189
210
|
def lastIndexOf(self, str_: Union[str, unicode], fromIndex: int = ...) -> int: ...
|
|
190
211
|
def length(self) -> int: ...
|
|
191
212
|
def offsetByCodePoints(self, index: int, codePointOffset: int) -> int: ...
|
|
213
|
+
def repeat(self, *args: Any) -> StringBuilder: ...
|
|
192
214
|
def replace(self, start: int, end: int, str_: int) -> StringBuilder: ...
|
|
193
215
|
def reverse(self) -> StringBuilder: ...
|
|
194
216
|
def setCharAt(self, index: int, ch: str) -> None: ...
|
|
@@ -197,6 +219,67 @@ class StringBuilder(Object, CharSequence):
|
|
|
197
219
|
def substring(self, start: int, end: int = ...) -> Union[str, unicode]: ...
|
|
198
220
|
def trimToSize(self) -> None: ...
|
|
199
221
|
|
|
222
|
+
class System(Object):
|
|
223
|
+
err: PrintStream
|
|
224
|
+
in_: InputStream
|
|
225
|
+
out: PrintStream
|
|
226
|
+
@staticmethod
|
|
227
|
+
def arraycopy(
|
|
228
|
+
src: Any, srcPos: int, dest: Any, destPos: int, length: int
|
|
229
|
+
) -> None: ...
|
|
230
|
+
@staticmethod
|
|
231
|
+
def clearProperty(key: Union[str, unicode]) -> Union[str, unicode]: ...
|
|
232
|
+
@staticmethod
|
|
233
|
+
def console() -> Any: ...
|
|
234
|
+
@staticmethod
|
|
235
|
+
def currentTimeMillis() -> long: ...
|
|
236
|
+
@staticmethod
|
|
237
|
+
def exit(status: int) -> None: ...
|
|
238
|
+
@staticmethod
|
|
239
|
+
def gc() -> None: ...
|
|
240
|
+
@staticmethod
|
|
241
|
+
def getenv(name: Optional[Union[str, unicode]] = ...) -> Any: ...
|
|
242
|
+
@staticmethod
|
|
243
|
+
def getLogger(name: Union[str, unicode], bundle: Optional[Any] = ...) -> Any: ...
|
|
244
|
+
@staticmethod
|
|
245
|
+
def getProperties() -> Properties: ...
|
|
246
|
+
@staticmethod
|
|
247
|
+
def getProperty(
|
|
248
|
+
key: Union[str, unicode], def_: Optional[Union[str, unicode]] = ...
|
|
249
|
+
) -> Union[str, unicode]: ...
|
|
250
|
+
@staticmethod
|
|
251
|
+
def getSecurityManager() -> Any: ...
|
|
252
|
+
@staticmethod
|
|
253
|
+
def identityHashCode(x: Object) -> int: ...
|
|
254
|
+
@staticmethod
|
|
255
|
+
def inheritedChannel() -> Channel: ...
|
|
256
|
+
@staticmethod
|
|
257
|
+
def lineSeparator() -> Union[str, unicode]: ...
|
|
258
|
+
@staticmethod
|
|
259
|
+
def load(filename: Union[str, unicode]) -> None: ...
|
|
260
|
+
@staticmethod
|
|
261
|
+
def loadLibrary(libname: Union[str, unicode]) -> None: ...
|
|
262
|
+
@staticmethod
|
|
263
|
+
def mapLibraryName(libname: Union[str, unicode]) -> Union[str, unicode]: ...
|
|
264
|
+
@staticmethod
|
|
265
|
+
def nanoTime() -> long: ...
|
|
266
|
+
@staticmethod
|
|
267
|
+
def runFinalization() -> None: ...
|
|
268
|
+
@staticmethod
|
|
269
|
+
def setErr(err: PrintStream) -> None: ...
|
|
270
|
+
@staticmethod
|
|
271
|
+
def setIn(in_: InputStream) -> None: ...
|
|
272
|
+
@staticmethod
|
|
273
|
+
def setOut(out: PrintStream) -> None: ...
|
|
274
|
+
@staticmethod
|
|
275
|
+
def setProperties(props: Properties) -> None: ...
|
|
276
|
+
@staticmethod
|
|
277
|
+
def setProperty(
|
|
278
|
+
key: Union[str, unicode], value: Union[str, unicode]
|
|
279
|
+
) -> Union[str, unicode]: ...
|
|
280
|
+
@staticmethod
|
|
281
|
+
def setSecurityManager(sm: Any) -> None: ...
|
|
282
|
+
|
|
200
283
|
class Throwable(Object, builtins.Exception):
|
|
201
284
|
def __init__(
|
|
202
285
|
self, message: Optional[str] = ..., cause: Optional[Throwable] = ...
|
|
@@ -256,9 +339,79 @@ class UnsupportedOperationException(RuntimeException):
|
|
|
256
339
|
self, message: Optional[str] = ..., cause: Optional[Throwable] = ...
|
|
257
340
|
) -> None: ...
|
|
258
341
|
|
|
342
|
+
class MatchException(RuntimeException):
|
|
343
|
+
def __init__(
|
|
344
|
+
self, message: Optional[str] = ..., cause: Optional[Throwable] = ...
|
|
345
|
+
) -> None: ...
|
|
346
|
+
|
|
347
|
+
class WrongThreadException(RuntimeException):
|
|
348
|
+
def __init__(
|
|
349
|
+
self, message: Optional[str] = ..., cause: Optional[Throwable] = ...
|
|
350
|
+
) -> None: ...
|
|
351
|
+
|
|
259
352
|
class Record(Object):
|
|
260
353
|
def __init__(self) -> None: ...
|
|
261
354
|
|
|
355
|
+
class ScopedValue(Object):
|
|
356
|
+
class CallableOp:
|
|
357
|
+
def call(self) -> Any: ...
|
|
358
|
+
|
|
359
|
+
class Carrier:
|
|
360
|
+
def call(self, op: ScopedValue.CallableOp) -> Any: ...
|
|
361
|
+
def get(self, key: ScopedValue) -> Any: ...
|
|
362
|
+
def run(self, op: Runnable) -> None: ...
|
|
363
|
+
def where(self, key: ScopedValue, value: Any) -> ScopedValue.Carrier: ...
|
|
364
|
+
|
|
365
|
+
def get(self) -> Any: ...
|
|
366
|
+
def isBound(self) -> bool: ...
|
|
367
|
+
@staticmethod
|
|
368
|
+
def newInstance() -> ScopedValue: ...
|
|
369
|
+
def orElse(self, other: Any) -> Any: ...
|
|
370
|
+
def orElseThrow(self, supplier: Optional[Supplier] = ...) -> Any: ...
|
|
371
|
+
@staticmethod
|
|
372
|
+
def where(key: ScopedValue, value: Any) -> ScopedValue.Carrier: ...
|
|
373
|
+
|
|
262
374
|
class Thread(Object):
|
|
375
|
+
class Builder:
|
|
376
|
+
def factory(self) -> ThreadFactory: ...
|
|
377
|
+
def inheritInheritableThreadLocals(self, inherit: bool) -> Thread.Builder: ...
|
|
378
|
+
def name(self, *args: Any) -> Thread.Builder: ...
|
|
379
|
+
def start(self, task: Runnable) -> Thread: ...
|
|
380
|
+
def uncaughtExceptionHandler(self, handler: Any) -> Thread.Builder: ...
|
|
381
|
+
def unstarted(self, task: Runnable) -> Thread: ...
|
|
382
|
+
|
|
383
|
+
class OfPlatform(Builder):
|
|
384
|
+
def daemon(self, on: Optional[bool] = ...) -> Thread.OfPlatform: ...
|
|
385
|
+
def group(self, group: Any) -> Thread.OfPlatform: ...
|
|
386
|
+
def inheritInheritableThreadLocals(
|
|
387
|
+
self, inherit: bool
|
|
388
|
+
) -> Thread.OfPlatform: ...
|
|
389
|
+
def name(self, *args: Any) -> Thread.OfPlatform: ...
|
|
390
|
+
def priority(self, priority: int) -> Thread.OfPlatform: ...
|
|
391
|
+
def stackSize(self, stackSize: long) -> Thread.OfPlatform: ...
|
|
392
|
+
def uncaughtExceptionHandler(self, handler: Any) -> Thread.OfPlatform: ...
|
|
393
|
+
|
|
394
|
+
class OfVirtual(Builder):
|
|
395
|
+
def inheritInheritableThreadLocals(self, inherit: bool) -> Thread.OfVirtual: ...
|
|
396
|
+
def name(self, *args: Any) -> Thread.OfVirtual: ...
|
|
397
|
+
def uncaughtExceptionHandler(self, handler: Any) -> Thread.OfVirtual: ...
|
|
398
|
+
|
|
399
|
+
def isVirtual(self) -> bool: ...
|
|
400
|
+
def join(self, *args: Any) -> Optional[bool]: ...
|
|
401
|
+
@staticmethod
|
|
402
|
+
def ofPlatform() -> Thread.OfPlatform: ...
|
|
403
|
+
@staticmethod
|
|
404
|
+
def ofVirtual() -> Thread.OfVirtual: ...
|
|
405
|
+
@staticmethod
|
|
406
|
+
def sleep(millis: Union[long, Duration], nanos: int = ...) -> None: ...
|
|
407
|
+
@staticmethod
|
|
408
|
+
def startVirtualThread(task: Runnable) -> Thread: ...
|
|
409
|
+
def threadId(self) -> long: ...
|
|
410
|
+
|
|
411
|
+
class IO:
|
|
412
|
+
@staticmethod
|
|
413
|
+
def print(obj: Optional[Object] = ...) -> None: ...
|
|
414
|
+
@staticmethod
|
|
415
|
+
def println(obj: Optional[Object] = ...) -> None: ...
|
|
263
416
|
@staticmethod
|
|
264
|
-
def
|
|
417
|
+
def readln(prompt: Optional[Union[str, unicode]] = ...) -> Union[str, unicode]: ...
|
|
@@ -0,0 +1,103 @@
|
|
|
1
|
+
from typing import Any, List, Optional, Set, Union
|
|
2
|
+
|
|
3
|
+
class Type:
|
|
4
|
+
def getTypeName(self) -> Union[str, unicode]: ...
|
|
5
|
+
|
|
6
|
+
class AccessFlag:
|
|
7
|
+
class Location:
|
|
8
|
+
CLASS: AccessFlag.Location
|
|
9
|
+
FIELD: AccessFlag.Location
|
|
10
|
+
METHOD: AccessFlag.Location
|
|
11
|
+
INNER_CLASS: AccessFlag.Location
|
|
12
|
+
METHOD_PARAMETER: AccessFlag.Location
|
|
13
|
+
MODULE: AccessFlag.Location
|
|
14
|
+
MODULE_REQUIRES: AccessFlag.Location
|
|
15
|
+
MODULE_EXPORTS: AccessFlag.Location
|
|
16
|
+
MODULE_OPENS: AccessFlag.Location
|
|
17
|
+
def flagsMask(
|
|
18
|
+
self, classFileFormatVersion: Optional[ClassFileFormatVersion] = ...
|
|
19
|
+
) -> int: ...
|
|
20
|
+
def flags(
|
|
21
|
+
self, classFileFormatVersion: Optional[ClassFileFormatVersion] = ...
|
|
22
|
+
) -> Set[AccessFlag]: ...
|
|
23
|
+
@staticmethod
|
|
24
|
+
def values() -> List[AccessFlag.Location]: ...
|
|
25
|
+
@staticmethod
|
|
26
|
+
def valueOf(name: Union[str, unicode]) -> AccessFlag.Location: ...
|
|
27
|
+
|
|
28
|
+
PUBLIC: AccessFlag
|
|
29
|
+
PRIVATE: AccessFlag
|
|
30
|
+
PROTECTED: AccessFlag
|
|
31
|
+
STATIC: AccessFlag
|
|
32
|
+
FINAL: AccessFlag
|
|
33
|
+
SUPER: AccessFlag
|
|
34
|
+
OPEN: AccessFlag
|
|
35
|
+
TRANSITIVE: AccessFlag
|
|
36
|
+
SYNCHRONIZED: AccessFlag
|
|
37
|
+
STATIC_PHASE: AccessFlag
|
|
38
|
+
VOLATILE: AccessFlag
|
|
39
|
+
BRIDGE: AccessFlag
|
|
40
|
+
TRANSIENT: AccessFlag
|
|
41
|
+
VARARGS: AccessFlag
|
|
42
|
+
NATIVE: AccessFlag
|
|
43
|
+
INTERFACE: AccessFlag
|
|
44
|
+
ABSTRACT: AccessFlag
|
|
45
|
+
STRICT: AccessFlag
|
|
46
|
+
SYNTHETIC: AccessFlag
|
|
47
|
+
ANNOTATION: AccessFlag
|
|
48
|
+
ENUM: AccessFlag
|
|
49
|
+
MANDATED: AccessFlag
|
|
50
|
+
MODULE: AccessFlag
|
|
51
|
+
def locations(
|
|
52
|
+
self, classFileFormatVersion: Optional[ClassFileFormatVersion] = ...
|
|
53
|
+
) -> Set[AccessFlag.Location]: ...
|
|
54
|
+
def mask(self) -> int: ...
|
|
55
|
+
@staticmethod
|
|
56
|
+
def maskToAccessFlags(
|
|
57
|
+
mask: int,
|
|
58
|
+
location: AccessFlag.Location,
|
|
59
|
+
classFileFormatVersion: Optional[ClassFileFormatVersion] = ...,
|
|
60
|
+
) -> Set[AccessFlag]: ...
|
|
61
|
+
def sourceModifier(self) -> bool: ...
|
|
62
|
+
@staticmethod
|
|
63
|
+
def values() -> List[AccessFlag]: ...
|
|
64
|
+
@staticmethod
|
|
65
|
+
def valueOf(name: Union[str, unicode]) -> AccessFlag: ...
|
|
66
|
+
|
|
67
|
+
class ClassFileFormatVersion:
|
|
68
|
+
RELEASE_0: ClassFileFormatVersion
|
|
69
|
+
RELEASE_1: ClassFileFormatVersion
|
|
70
|
+
RELEASE_2: ClassFileFormatVersion
|
|
71
|
+
RELEASE_3: ClassFileFormatVersion
|
|
72
|
+
RELEASE_4: ClassFileFormatVersion
|
|
73
|
+
RELEASE_5: ClassFileFormatVersion
|
|
74
|
+
RELEASE_6: ClassFileFormatVersion
|
|
75
|
+
RELEASE_7: ClassFileFormatVersion
|
|
76
|
+
RELEASE_8: ClassFileFormatVersion
|
|
77
|
+
RELEASE_9: ClassFileFormatVersion
|
|
78
|
+
RELEASE_10: ClassFileFormatVersion
|
|
79
|
+
RELEASE_11: ClassFileFormatVersion
|
|
80
|
+
RELEASE_12: ClassFileFormatVersion
|
|
81
|
+
RELEASE_13: ClassFileFormatVersion
|
|
82
|
+
RELEASE_14: ClassFileFormatVersion
|
|
83
|
+
RELEASE_15: ClassFileFormatVersion
|
|
84
|
+
RELEASE_16: ClassFileFormatVersion
|
|
85
|
+
RELEASE_17: ClassFileFormatVersion
|
|
86
|
+
RELEASE_18: ClassFileFormatVersion
|
|
87
|
+
RELEASE_19: ClassFileFormatVersion
|
|
88
|
+
RELEASE_20: ClassFileFormatVersion
|
|
89
|
+
RELEASE_21: ClassFileFormatVersion
|
|
90
|
+
RELEASE_22: ClassFileFormatVersion
|
|
91
|
+
RELEASE_23: ClassFileFormatVersion
|
|
92
|
+
RELEASE_24: ClassFileFormatVersion
|
|
93
|
+
RELEASE_25: ClassFileFormatVersion
|
|
94
|
+
@staticmethod
|
|
95
|
+
def fromMajor(major: int) -> ClassFileFormatVersion: ...
|
|
96
|
+
@staticmethod
|
|
97
|
+
def latest() -> ClassFileFormatVersion: ...
|
|
98
|
+
def major(self) -> int: ...
|
|
99
|
+
def runtimeVersion(self) -> Any: ...
|
|
100
|
+
@staticmethod
|
|
101
|
+
def values() -> List[ClassFileFormatVersion]: ...
|
|
102
|
+
@staticmethod
|
|
103
|
+
def valueOf(arg: Any) -> ClassFileFormatVersion: ...
|
|
@@ -5,6 +5,7 @@ from java.lang import Enum, Number, Object
|
|
|
5
5
|
class BigDecimal(Number):
|
|
6
6
|
ONE: BigDecimal
|
|
7
7
|
TEN: BigDecimal
|
|
8
|
+
TWO: BigDecimal
|
|
8
9
|
ZERO: BigDecimal
|
|
9
10
|
def __init__(self, *args: Any) -> None: ...
|
|
10
11
|
def doubleValue(self) -> float: ...
|
|
@@ -22,6 +23,7 @@ class BigInteger(Number):
|
|
|
22
23
|
def floatValue(self) -> float: ...
|
|
23
24
|
def intValue(self) -> int: ...
|
|
24
25
|
def longValue(self) -> long: ...
|
|
26
|
+
def parallelMultiply(self, val: BigInteger) -> BigInteger: ...
|
|
25
27
|
|
|
26
28
|
class MathContext(Object):
|
|
27
29
|
def __init__(self, *args: Any) -> None: ...
|
|
@@ -93,6 +93,8 @@ class InetAddress(Object):
|
|
|
93
93
|
def isMulticastAddress(self) -> bool: ...
|
|
94
94
|
def isReachable(self, *args: Any) -> bool: ...
|
|
95
95
|
def isSiteLocalAddress(self) -> bool: ...
|
|
96
|
+
@staticmethod
|
|
97
|
+
def ofLiteral(ipAddressString: Union[str, unicode]) -> InetAddress: ...
|
|
96
98
|
|
|
97
99
|
class InetSocketAddress(SocketAddress):
|
|
98
100
|
def __init__(self, *args: Any) -> None: ...
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
from typing import Optional
|
|
2
|
+
|
|
3
|
+
from java.lang import Object
|
|
4
|
+
from java.time import Duration
|
|
5
|
+
|
|
6
|
+
class HttpResponse:
|
|
7
|
+
def connectionLabel(self) -> Optional[str]: ...
|
|
8
|
+
|
|
9
|
+
class HttpClient(Object):
|
|
10
|
+
def awaitTermination(self, duration: Duration) -> bool: ...
|
|
11
|
+
def close(self) -> None: ...
|
|
12
|
+
def isTerminated(self) -> bool: ...
|
|
13
|
+
def shutdown(self) -> None: ...
|
|
14
|
+
def shutdownNow(self) -> None: ...
|
|
15
|
+
|
|
16
|
+
class HttpRequest(Object): ...
|
|
@@ -82,6 +82,9 @@ class CharBuffer(Buffer, Appendable, CharSequence):
|
|
|
82
82
|
def compareTo(self, that: CharBuffer) -> int: ...
|
|
83
83
|
def duplicate(self) -> CharBuffer: ...
|
|
84
84
|
def get(self, *args: Any) -> CharBuffer: ...
|
|
85
|
+
def getChars(
|
|
86
|
+
self, srcBegin: int, srcEnd: int, dst: object, dstBegin: int
|
|
87
|
+
) -> None: ...
|
|
85
88
|
def hasArray(self) -> bool: ...
|
|
86
89
|
def isDirect(self) -> bool: ...
|
|
87
90
|
def isReadOnly(self) -> bool: ...
|
|
@@ -17,7 +17,9 @@ class Charset(Object):
|
|
|
17
17
|
def displayName(self, locale: Optional[Locale]) -> Union[str, unicode]: ...
|
|
18
18
|
def encode(self, arg: Union[Charset, str, unicode]) -> ByteBuffer: ...
|
|
19
19
|
@staticmethod
|
|
20
|
-
def forName(
|
|
20
|
+
def forName(
|
|
21
|
+
charsetName: Union[str, unicode], fallback: Optional[Charset] = ...
|
|
22
|
+
) -> Charset: ...
|
|
21
23
|
def isRegistered(self) -> bool: ...
|
|
22
24
|
@staticmethod
|
|
23
25
|
def isSupported(charsetName: Union[str, unicode]) -> bool: ...
|
|
@@ -284,7 +284,9 @@ class Path(Watchable):
|
|
|
284
284
|
def of(*args: Any) -> Path: ...
|
|
285
285
|
def register(self, *args: Any) -> WatchKey: ...
|
|
286
286
|
def relativize(self, other: Path) -> Path: ...
|
|
287
|
-
def resolve(
|
|
287
|
+
def resolve(
|
|
288
|
+
self, other: Union[Path, str, unicode], *more: Union[Path, str, unicode]
|
|
289
|
+
) -> Path: ...
|
|
288
290
|
def resolveSibling(self, other: Path) -> Path: ...
|
|
289
291
|
def startsWith(self, other: Path) -> bool: ...
|
|
290
292
|
def subpath(self, beginIndex: int, endIndex: int) -> Path: ...
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
from typing import Any, Dict, List, Optional, Set, Union
|
|
2
2
|
|
|
3
|
-
from java.lang import Number, Object, StringBuffer
|
|
3
|
+
from java.lang import Enum, Number, Object, StringBuffer
|
|
4
4
|
from java.math import RoundingMode
|
|
5
5
|
from java.util import Calendar, Currency, Date, Locale, TimeZone
|
|
6
6
|
|
|
@@ -178,6 +178,7 @@ class NumberFormat(Format):
|
|
|
178
178
|
def getRoundingMode(self) -> RoundingMode: ...
|
|
179
179
|
def isGroupingUsed(self) -> bool: ...
|
|
180
180
|
def isParseIntegerOnly(self) -> bool: ...
|
|
181
|
+
def isStrict(self) -> bool: ...
|
|
181
182
|
def parse(self, source: Union[str, unicode]) -> Number: ...
|
|
182
183
|
def setCurrency(self, currency: Currency) -> None: ...
|
|
183
184
|
def setGroupingUsed(self, newValue: bool) -> None: ...
|
|
@@ -185,6 +186,7 @@ class NumberFormat(Format):
|
|
|
185
186
|
def setMaximumIntegerDigits(self, newValue: int) -> None: ...
|
|
186
187
|
def setMinimumFractionDigits(self, newValue: int) -> None: ...
|
|
187
188
|
def setMinimumIntegerDigits(self, newValue: int) -> None: ...
|
|
189
|
+
def setStrict(self, strict: bool) -> None: ...
|
|
188
190
|
def setParseIntegerOnly(self, value: bool) -> None: ...
|
|
189
191
|
def setRoundingMode(self, roundingMode: RoundingMode) -> None: ...
|
|
190
192
|
|
|
@@ -209,3 +211,28 @@ class SimpleDateFormat(DateFormat):
|
|
|
209
211
|
def setDateFormatSymbols(self, newFormatSymbols: DateFormatSymbols) -> None: ...
|
|
210
212
|
def toLocalizedPattern(self) -> Union[str, unicode]: ...
|
|
211
213
|
def toPattern(self) -> Union[str, unicode]: ...
|
|
214
|
+
def toString(self) -> Union[str, unicode]: ...
|
|
215
|
+
|
|
216
|
+
class ListFormat(Format):
|
|
217
|
+
class Type(Enum):
|
|
218
|
+
STANDARD: ListFormat.Type
|
|
219
|
+
OR: ListFormat.Type
|
|
220
|
+
UNIT: ListFormat.Type
|
|
221
|
+
|
|
222
|
+
class Style(Enum):
|
|
223
|
+
FULL: ListFormat.Style
|
|
224
|
+
SHORT: ListFormat.Style
|
|
225
|
+
NARROW: ListFormat.Style
|
|
226
|
+
|
|
227
|
+
@staticmethod
|
|
228
|
+
def getAvailableLocales() -> List[Locale]: ...
|
|
229
|
+
@staticmethod
|
|
230
|
+
def getInstance(*args: Any) -> ListFormat: ...
|
|
231
|
+
def format(self, *args: Any) -> Union[str, unicode]: ...
|
|
232
|
+
def getLocale(self) -> Locale: ...
|
|
233
|
+
def getPatterns(self) -> List[Union[str, unicode]]: ...
|
|
234
|
+
def parse(self, source: Union[str, unicode]) -> List[Union[str, unicode]]: ...
|
|
235
|
+
def parseObject(
|
|
236
|
+
self, source: Union[str, unicode], pos: Optional[ParsePosition] = ...
|
|
237
|
+
) -> Any: ...
|
|
238
|
+
def toString(self) -> Union[str, unicode]: ...
|
|
@@ -45,6 +45,7 @@ class DayOfWeek(Enum, TemporalAccessor, TemporalAdjuster):
|
|
|
45
45
|
|
|
46
46
|
class Duration(Object):
|
|
47
47
|
ZERO: Duration
|
|
48
|
+
def isPositive(self) -> bool: ...
|
|
48
49
|
def toDays(self) -> long: ...
|
|
49
50
|
def toDaysPart(self) -> long: ...
|
|
50
51
|
def toHours(self) -> long: ...
|
|
@@ -72,6 +73,7 @@ class Instant(Object):
|
|
|
72
73
|
) -> Instant: ...
|
|
73
74
|
@staticmethod
|
|
74
75
|
def parse(text: CharSequence) -> Instant: ...
|
|
76
|
+
def until(self, endExclusive: Instant) -> Duration: ...
|
|
75
77
|
|
|
76
78
|
class LocalDate(Object, Temporal, TemporalAdjuster, Comparable):
|
|
77
79
|
EPOCH: LocalDate
|
|
@@ -174,6 +176,7 @@ class ZoneOffset(Object):
|
|
|
174
176
|
MAX: ZoneOffset
|
|
175
177
|
MIN: ZoneOffset
|
|
176
178
|
UTC: ZoneOffset
|
|
179
|
+
def normalized(self) -> ZoneId: ...
|
|
177
180
|
@staticmethod
|
|
178
181
|
def of(offsetId: Union[str, unicode]) -> ZoneOffset: ...
|
|
179
182
|
@staticmethod
|
|
@@ -90,6 +90,7 @@ class Chronology(Comparable):
|
|
|
90
90
|
def getId(self) -> Union[str, unicode]: ...
|
|
91
91
|
def hashCode(self) -> int: ...
|
|
92
92
|
def isLeapYear(self, prolepticYear: long) -> bool: ...
|
|
93
|
+
def isIsoBased(self) -> bool: ...
|
|
93
94
|
def prolepticYear(self, era: Era, yearOfEra: int) -> int: ...
|
|
94
95
|
def range(self, field: ChronoField) -> ValueRange: ...
|
|
95
96
|
def resolveDate(
|
|
@@ -23,6 +23,10 @@ class DateTimeFormatter(Object):
|
|
|
23
23
|
def format(self, temporal: TemporalAccessor) -> Union[str, unicode]: ...
|
|
24
24
|
def formatTo(self, temporal: TemporalAccessor, appendable: Appendable) -> None: ...
|
|
25
25
|
def getChronology(self) -> Chronology: ...
|
|
26
|
+
@staticmethod
|
|
27
|
+
def ofLocalizedPattern(
|
|
28
|
+
requestedTemplate: Union[str, unicode],
|
|
29
|
+
) -> DateTimeFormatter: ...
|
|
26
30
|
|
|
27
31
|
class ResolverStyle(Enum):
|
|
28
32
|
LENIENT: ResolverStyle
|
|
@@ -125,6 +125,54 @@ class Map:
|
|
|
125
125
|
def size(self) -> int: ...
|
|
126
126
|
def values(self) -> Collection: ...
|
|
127
127
|
|
|
128
|
+
class SequencedCollection(Collection):
|
|
129
|
+
def add(self, e: Any) -> bool: ...
|
|
130
|
+
def addAll(self, c: Collection) -> bool: ...
|
|
131
|
+
def addFirst(self, e: Any) -> None: ...
|
|
132
|
+
def addLast(self, e: Any) -> None: ...
|
|
133
|
+
def clear(self) -> None: ...
|
|
134
|
+
def contains(self, o: Object) -> bool: ...
|
|
135
|
+
def containsAll(self, c: Collection) -> bool: ...
|
|
136
|
+
def equals(self, o: Object) -> bool: ...
|
|
137
|
+
def getFirst(self) -> Any: ...
|
|
138
|
+
def getLast(self) -> Any: ...
|
|
139
|
+
def hashCode(self) -> int: ...
|
|
140
|
+
def isEmpty(self) -> bool: ...
|
|
141
|
+
def iterator(self) -> Iterator: ...
|
|
142
|
+
def remove(self, o: Object) -> bool: ...
|
|
143
|
+
def removeAll(self, c: Collection) -> bool: ...
|
|
144
|
+
def removeFirst(self) -> Any: ...
|
|
145
|
+
def removeLast(self) -> Any: ...
|
|
146
|
+
def retainAll(self, v: Collection) -> bool: ...
|
|
147
|
+
def reversed(self) -> SequencedCollection: ...
|
|
148
|
+
def size(self) -> int: ...
|
|
149
|
+
|
|
150
|
+
class SequencedSet(SequencedCollection):
|
|
151
|
+
def reversed(self) -> SequencedSet: ...
|
|
152
|
+
|
|
153
|
+
class SequencedMap(Map):
|
|
154
|
+
def clear(self) -> None: ...
|
|
155
|
+
def containsKey(self, key: Object) -> bool: ...
|
|
156
|
+
def containsValue(self, value: Object) -> bool: ...
|
|
157
|
+
def entrySet(self) -> Set[Map.Entry]: ...
|
|
158
|
+
def firstEntry(self) -> Map.Entry: ...
|
|
159
|
+
def get(self, key: Object) -> Any: ...
|
|
160
|
+
def isEmpty(self) -> bool: ...
|
|
161
|
+
def keySet(self) -> Set[Any]: ...
|
|
162
|
+
def lastEntry(self) -> Map.Entry: ...
|
|
163
|
+
def pollFirstEntry(self) -> Map.Entry: ...
|
|
164
|
+
def pollLastEntry(self) -> Map.Entry: ...
|
|
165
|
+
def put(self, key: Any, value: Any) -> Any: ...
|
|
166
|
+
def putAll(self, m: Mapping[Any, Any]) -> None: ...
|
|
167
|
+
def putFirst(self, k: Any, v: Any) -> Any: ...
|
|
168
|
+
def putLast(self, k: Any, v: Any) -> Any: ...
|
|
169
|
+
def reversed(self) -> SequencedMap: ...
|
|
170
|
+
def sequencedEntrySet(self) -> SequencedSet: ...
|
|
171
|
+
def sequencedKeySet(self) -> SequencedSet: ...
|
|
172
|
+
def sequencedValues(self) -> SequencedCollection: ...
|
|
173
|
+
def size(self) -> int: ...
|
|
174
|
+
def values(self) -> Collection: ...
|
|
175
|
+
|
|
128
176
|
class Spliterator:
|
|
129
177
|
CONCURRENT: int
|
|
130
178
|
DISTINCT: int
|
|
@@ -229,8 +277,15 @@ class AbstractMap(Object, Map):
|
|
|
229
277
|
|
|
230
278
|
class ArrayList(AbstractList):
|
|
231
279
|
def __init__(self, *args: Any) -> None: ...
|
|
280
|
+
def addFirst(self, e: Any) -> None: ...
|
|
281
|
+
def addLast(self, e: Any) -> None: ...
|
|
232
282
|
def ensureCapacity(self, minCapacity: int) -> None: ...
|
|
233
283
|
def get(self, index: int) -> Any: ...
|
|
284
|
+
def getFirst(self) -> Any: ...
|
|
285
|
+
def getLast(self) -> Any: ...
|
|
286
|
+
def removeFirst(self) -> Any: ...
|
|
287
|
+
def removeLast(self) -> Any: ...
|
|
288
|
+
def reversed(self) -> SequencedCollection: ...
|
|
234
289
|
def trimToSize(self) -> None: ...
|
|
235
290
|
|
|
236
291
|
class Base64(Object):
|
|
@@ -369,6 +424,8 @@ class ConcurrentModificationException(RuntimeException):
|
|
|
369
424
|
) -> None: ...
|
|
370
425
|
|
|
371
426
|
class Currency(Object):
|
|
427
|
+
@staticmethod
|
|
428
|
+
def availableCurrencies() -> Stream: ...
|
|
372
429
|
@staticmethod
|
|
373
430
|
def getAvailableCurrencies() -> Set[Currency]: ...
|
|
374
431
|
def getCurrencyCode(self) -> Union[str, unicode]: ...
|
|
@@ -412,6 +469,8 @@ class GregorianCalendar(Calendar):
|
|
|
412
469
|
|
|
413
470
|
class HashMap(AbstractMap, Map):
|
|
414
471
|
def __init__(self, *args: Any) -> None: ...
|
|
472
|
+
@staticmethod
|
|
473
|
+
def newHashMap(numMappings: int) -> HashMap: ...
|
|
415
474
|
def entrySet(self) -> Set[Map.Entry]: ...
|
|
416
475
|
|
|
417
476
|
class Hashtable(Dictionary, Map):
|
|
@@ -461,6 +520,14 @@ class Locale(Object):
|
|
|
461
520
|
def __init__(
|
|
462
521
|
self, language: str, country: Optional[str] = ..., variant: Optional[str] = ...
|
|
463
522
|
) -> None: ...
|
|
523
|
+
@staticmethod
|
|
524
|
+
def availableLocales() -> Stream: ...
|
|
525
|
+
@staticmethod
|
|
526
|
+
def caseFoldLanguageTag(
|
|
527
|
+
languageTag: Union[str, unicode],
|
|
528
|
+
) -> Union[str, unicode]: ...
|
|
529
|
+
@staticmethod
|
|
530
|
+
def of(*args: Any) -> Locale: ...
|
|
464
531
|
|
|
465
532
|
class Properties(Hashtable):
|
|
466
533
|
def __init__(self, *args: Any) -> None: ...
|
|
@@ -469,6 +536,8 @@ class TimeZone(Object):
|
|
|
469
536
|
LONG: int
|
|
470
537
|
SHORT: int
|
|
471
538
|
def __init__(self) -> None: ...
|
|
539
|
+
@staticmethod
|
|
540
|
+
def availableIDs(rawOffset: Optional[int] = ...) -> Stream: ...
|
|
472
541
|
def clone(self) -> Object: ...
|
|
473
542
|
@staticmethod
|
|
474
543
|
def getAvailableIDs(
|
|
@@ -1,6 +1,14 @@
|
|
|
1
1
|
from typing import Any, List, Optional
|
|
2
2
|
|
|
3
|
-
from java.lang import
|
|
3
|
+
from java.lang import (
|
|
4
|
+
Comparable,
|
|
5
|
+
Enum,
|
|
6
|
+
Object,
|
|
7
|
+
Runnable,
|
|
8
|
+
RuntimeException,
|
|
9
|
+
Thread,
|
|
10
|
+
Throwable,
|
|
11
|
+
)
|
|
4
12
|
from java.time.temporal import ChronoUnit
|
|
5
13
|
|
|
6
14
|
class Delayed(Comparable):
|
|
@@ -11,12 +19,21 @@ class Executor:
|
|
|
11
19
|
def execute(self, command: Runnable) -> None: ...
|
|
12
20
|
|
|
13
21
|
class Future:
|
|
22
|
+
class State(Enum):
|
|
23
|
+
RUNNING: Future.State
|
|
24
|
+
SUCCESS: Future.State
|
|
25
|
+
FAILED: Future.State
|
|
26
|
+
CANCELLED: Future.State
|
|
27
|
+
|
|
14
28
|
def cancel(self, mayInterruptIfRunning: bool) -> bool: ...
|
|
29
|
+
def exceptionNow(self) -> Throwable: ...
|
|
15
30
|
def get(
|
|
16
31
|
self, timeout: Optional[long] = ..., unit: Optional[TimeUnit] = ...
|
|
17
32
|
) -> Any: ...
|
|
18
33
|
def isCancelled(self) -> bool: ...
|
|
19
34
|
def isDone(self) -> bool: ...
|
|
35
|
+
def resultNow(self) -> Any: ...
|
|
36
|
+
def state(self) -> Future.State: ...
|
|
20
37
|
|
|
21
38
|
class ScheduledFuture(Delayed, Future):
|
|
22
39
|
def cancel(self, mayInterruptIfRunning: bool) -> bool: ...
|
|
@@ -30,6 +47,15 @@ class ScheduledFuture(Delayed, Future):
|
|
|
30
47
|
|
|
31
48
|
class CompletableFuture(Object):
|
|
32
49
|
def __init__(self) -> None: ...
|
|
50
|
+
def exceptionNow(self) -> Throwable: ...
|
|
51
|
+
def resultNow(self) -> Any: ...
|
|
52
|
+
def state(self) -> Future.State: ...
|
|
53
|
+
|
|
54
|
+
class StructureViolationException(RuntimeException):
|
|
55
|
+
def __init__(self, message: Optional[str] = ...) -> None: ...
|
|
56
|
+
|
|
57
|
+
class ThreadFactory:
|
|
58
|
+
def newThread(self, r: Runnable) -> Thread: ...
|
|
33
59
|
|
|
34
60
|
class TimeUnit(Enum):
|
|
35
61
|
DAYS: TimeUnit
|
|
@@ -1,13 +1,17 @@
|
|
|
1
|
-
from typing import Any, List, Optional, Union
|
|
1
|
+
from typing import Any, Dict, List, Optional, Union
|
|
2
2
|
|
|
3
3
|
from java.lang import CharSequence, Object, StringBuffer, StringBuilder
|
|
4
4
|
from java.util.function import Function, Predicate
|
|
5
5
|
|
|
6
6
|
class MatchResult:
|
|
7
|
-
def end(self, group:
|
|
8
|
-
def group(
|
|
7
|
+
def end(self, group: Union[int, str, unicode, None] = ...) -> int: ...
|
|
8
|
+
def group(
|
|
9
|
+
self, group: Union[int, str, unicode, None] = ...
|
|
10
|
+
) -> Union[str, unicode]: ...
|
|
9
11
|
def groupCount(self) -> int: ...
|
|
10
|
-
def
|
|
12
|
+
def hasMatch(self) -> bool: ...
|
|
13
|
+
def namedGroups(self) -> Dict[Union[str, unicode], int]: ...
|
|
14
|
+
def start(self, group: Union[int, str, unicode, None] = ...) -> int: ...
|
|
11
15
|
|
|
12
16
|
class Matcher(Object, MatchResult):
|
|
13
17
|
def appendReplacement(
|
|
@@ -16,17 +20,19 @@ class Matcher(Object, MatchResult):
|
|
|
16
20
|
def appendTail(
|
|
17
21
|
self, sb: Union[StringBuffer, StringBuilder]
|
|
18
22
|
) -> Union[StringBuffer, StringBuilder]: ...
|
|
19
|
-
def end(self, group:
|
|
23
|
+
def end(self, group: Union[int, str, unicode, None] = ...) -> int: ...
|
|
20
24
|
def find(self, start: Optional[int] = ...) -> bool: ...
|
|
21
25
|
def group(
|
|
22
26
|
self, group: Union[int, str, unicode, None] = ...
|
|
23
27
|
) -> Union[str, unicode]: ...
|
|
24
28
|
def groupCount(self) -> int: ...
|
|
25
29
|
def hasAnchoringBounds(self) -> bool: ...
|
|
30
|
+
def hasMatch(self) -> bool: ...
|
|
26
31
|
def hasTransparentBounds(self) -> bool: ...
|
|
27
32
|
def hitEnd(self) -> bool: ...
|
|
28
33
|
def lookingAt(self) -> bool: ...
|
|
29
34
|
def matches(self) -> bool: ...
|
|
35
|
+
def namedGroups(self) -> Dict[Union[str, unicode], int]: ...
|
|
30
36
|
def pattern(self) -> Pattern: ...
|
|
31
37
|
@staticmethod
|
|
32
38
|
def quoteReplacement(s: Union[str, unicode]) -> Union[str, unicode]: ...
|
|
@@ -40,7 +46,7 @@ class Matcher(Object, MatchResult):
|
|
|
40
46
|
def requireEnd(self) -> bool: ...
|
|
41
47
|
def reset(self, input: Optional[CharSequence] = ...) -> Matcher: ...
|
|
42
48
|
def results(self) -> Any: ...
|
|
43
|
-
def start(self, group:
|
|
49
|
+
def start(self, group: Union[int, str, unicode, None] = ...) -> int: ...
|
|
44
50
|
def toMatchResult(self) -> MatchResult: ...
|
|
45
51
|
def useAnchoringBounds(self, b: bool) -> Matcher: ...
|
|
46
52
|
def usePattern(self, newPattern: Pattern) -> Matcher: ...
|
|
@@ -64,6 +70,7 @@ class Pattern(Object):
|
|
|
64
70
|
def matcher(self, input: CharSequence) -> Matcher: ...
|
|
65
71
|
@staticmethod
|
|
66
72
|
def matches(regex: Union[str, unicode], input: CharSequence) -> bool: ...
|
|
73
|
+
def namedGroups(self) -> Dict[Union[str, unicode], int]: ...
|
|
67
74
|
def pattern(self) -> Union[str, unicode]: ...
|
|
68
75
|
@staticmethod
|
|
69
76
|
def quote(s: Union[str, unicode]) -> Union[str, unicode]: ...
|
|
@@ -71,3 +78,6 @@ class Pattern(Object):
|
|
|
71
78
|
self, input: CharSequence, limit: Optional[int] = ...
|
|
72
79
|
) -> List[Union[str, unicode]]: ...
|
|
73
80
|
def splitAsStream(self, input: CharSequence) -> Any: ...
|
|
81
|
+
def splitWithDelimiters(
|
|
82
|
+
self, input: CharSequence, limit: int
|
|
83
|
+
) -> List[Union[str, unicode]]: ...
|
|
@@ -4,6 +4,7 @@ from java.lang import AutoCloseable, Enum, Runnable
|
|
|
4
4
|
from java.util import Iterator, Spliterator
|
|
5
5
|
from java.util.function import (
|
|
6
6
|
BiConsumer,
|
|
7
|
+
BiFunction,
|
|
7
8
|
BinaryOperator,
|
|
8
9
|
Consumer,
|
|
9
10
|
Function,
|
|
@@ -61,6 +62,7 @@ class Stream(BaseStream):
|
|
|
61
62
|
@staticmethod
|
|
62
63
|
def builder() -> Stream.Builder: ...
|
|
63
64
|
def close(self) -> None: ...
|
|
65
|
+
def gather(self, gatherer: Gatherer) -> Stream: ...
|
|
64
66
|
def isParallel(self) -> bool: ...
|
|
65
67
|
def iterator(self) -> Iterator: ...
|
|
66
68
|
def onClose(self, closeHandler: Runnable) -> Any: ...
|
|
@@ -68,3 +70,45 @@ class Stream(BaseStream):
|
|
|
68
70
|
def sequential(self) -> Any: ...
|
|
69
71
|
def spliterator(self) -> Spliterator: ...
|
|
70
72
|
def unordered(self) -> Any: ...
|
|
73
|
+
|
|
74
|
+
class Gatherer:
|
|
75
|
+
class Downstream:
|
|
76
|
+
def isRejecting(self) -> bool: ...
|
|
77
|
+
def push(self, element: Any) -> bool: ...
|
|
78
|
+
|
|
79
|
+
class Integrator:
|
|
80
|
+
def integrate(
|
|
81
|
+
self, state: Any, element: Any, downstream: Gatherer.Downstream
|
|
82
|
+
) -> bool: ...
|
|
83
|
+
@staticmethod
|
|
84
|
+
def of(integrator: Gatherer.Integrator) -> Gatherer.Integrator: ...
|
|
85
|
+
@staticmethod
|
|
86
|
+
def ofGreedy(integrator: Gatherer.Integrator) -> Gatherer.Integrator: ...
|
|
87
|
+
|
|
88
|
+
def andThen(self, next: Gatherer) -> Gatherer: ...
|
|
89
|
+
def combiner(self) -> BinaryOperator: ...
|
|
90
|
+
@staticmethod
|
|
91
|
+
def defaultCombiner() -> BinaryOperator: ...
|
|
92
|
+
@staticmethod
|
|
93
|
+
def defaultFinisher() -> BiConsumer: ...
|
|
94
|
+
@staticmethod
|
|
95
|
+
def defaultInitializer() -> Supplier: ...
|
|
96
|
+
def finisher(self) -> BiConsumer: ...
|
|
97
|
+
def initializer(self) -> Supplier: ...
|
|
98
|
+
def integrator(self) -> Gatherer.Integrator: ...
|
|
99
|
+
@staticmethod
|
|
100
|
+
def of(*args: Any) -> Gatherer: ...
|
|
101
|
+
@staticmethod
|
|
102
|
+
def ofSequential(*args: Any) -> Gatherer: ...
|
|
103
|
+
|
|
104
|
+
class Gatherers:
|
|
105
|
+
@staticmethod
|
|
106
|
+
def fold(supplier: Supplier, accumulator: BiFunction) -> Gatherer: ...
|
|
107
|
+
@staticmethod
|
|
108
|
+
def mapConcurrent(maxConcurrency: int, mapper: Function) -> Gatherer: ...
|
|
109
|
+
@staticmethod
|
|
110
|
+
def scan(supplier: Supplier, accumulator: BiFunction) -> Gatherer: ...
|
|
111
|
+
@staticmethod
|
|
112
|
+
def windowFixed(windowSize: int) -> Gatherer: ...
|
|
113
|
+
@staticmethod
|
|
114
|
+
def windowSliding(windowSize: int) -> Gatherer: ...
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: java-api-stubs
|
|
3
|
-
Version:
|
|
4
|
-
Summary: Java
|
|
3
|
+
Version: 25.26.1
|
|
4
|
+
Summary: Java 25 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/
|
|
7
|
+
Project-URL: Documentation, https://docs.oracle.com/en/java/javase/25/docs/api/index.html
|
|
8
8
|
Project-URL: Funding, https://github.com/sponsors/cesarcoatl
|
|
9
9
|
Project-URL: Homepage, https://github.com/ignition-devs/java-api
|
|
10
|
-
Project-URL: Source, https://github.com/ignition-devs/java-api/tree/
|
|
10
|
+
Project-URL: Source, https://github.com/ignition-devs/java-api/tree/25
|
|
11
11
|
Project-URL: Tracker, https://github.com/ignition-devs/java-api/issues
|
|
12
12
|
Keywords: coatl.dev,ignition,inductive automation,java
|
|
13
13
|
Classifier: Development Status :: 5 - Production/Stable
|
|
@@ -1,37 +0,0 @@
|
|
|
1
|
-
## 17.26.5 (2026-04-27)
|
|
2
|
-
|
|
3
|
-
### Refactor
|
|
4
|
-
|
|
5
|
-
- **java**: add lang.Record class (#26)
|
|
6
|
-
|
|
7
|
-
## 17.26.4 (2026-04-16)
|
|
8
|
-
|
|
9
|
-
### Fix
|
|
10
|
-
|
|
11
|
-
- **io**: update Reader.read to respect Liskov Substitution Principle (#23)
|
|
12
|
-
|
|
13
|
-
## 17.26.0 (2026-01-20)
|
|
14
|
-
|
|
15
|
-
### Fix
|
|
16
|
-
|
|
17
|
-
- **util**: remove Stream class (#14)
|
|
18
|
-
|
|
19
|
-
## 17.25.0 (2025-12-16)
|
|
20
|
-
|
|
21
|
-
## 17.25.0b6 (2025-12-10)
|
|
22
|
-
|
|
23
|
-
## 17.25.0b5 (2025-12-08)
|
|
24
|
-
|
|
25
|
-
## 17.25.0b4 (2025-12-08)
|
|
26
|
-
|
|
27
|
-
## 17.25.0b3 (2025-12-08)
|
|
28
|
-
|
|
29
|
-
## 17.25.0b2 (2025-12-08)
|
|
30
|
-
|
|
31
|
-
## 17.25.0b1 (2025-12-05)
|
|
32
|
-
|
|
33
|
-
### Refactor
|
|
34
|
-
|
|
35
|
-
- **java**: set class attribute constants (#1)
|
|
36
|
-
|
|
37
|
-
## 17.25.0b0 (2025-12-05)
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{java_api_stubs-17.26.5 → java_api_stubs-25.26.1}/stubs/java/nio/file/attribute/__init__.pyi
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{java_api_stubs-17.26.5 → java_api_stubs-25.26.1}/stubs/java_api_stubs.egg-info/dependency_links.txt
RENAMED
|
File without changes
|
{java_api_stubs-17.26.5 → java_api_stubs-25.26.1}/stubs/java_api_stubs.egg-info/top_level.txt
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|