java-api 17.26.4__py2-none-any.whl → 17.26.6__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/lang/__init__.py +163 -4
- {java_api-17.26.4.dist-info → java_api-17.26.6.dist-info}/METADATA +2 -2
- {java_api-17.26.4.dist-info → java_api-17.26.6.dist-info}/RECORD +6 -6
- {java_api-17.26.4.dist-info → java_api-17.26.6.dist-info}/LICENSE +0 -0
- {java_api-17.26.4.dist-info → java_api-17.26.6.dist-info}/WHEEL +0 -0
- {java_api-17.26.4.dist-info → java_api-17.26.6.dist-info}/top_level.txt +0 -0
java/lang/__init__.py
CHANGED
|
@@ -22,12 +22,14 @@ __all__ = [
|
|
|
22
22
|
"Number",
|
|
23
23
|
"Object",
|
|
24
24
|
"Readable",
|
|
25
|
+
"Record",
|
|
25
26
|
"Runnable",
|
|
26
27
|
"RuntimeException",
|
|
27
28
|
"StackTraceElement",
|
|
28
29
|
"String",
|
|
29
30
|
"StringBuffer",
|
|
30
31
|
"StringBuilder",
|
|
32
|
+
"System",
|
|
31
33
|
"Thread",
|
|
32
34
|
"Throwable",
|
|
33
35
|
"UnsupportedOperationException",
|
|
@@ -35,14 +37,17 @@ __all__ = [
|
|
|
35
37
|
|
|
36
38
|
import __builtin__ as builtins
|
|
37
39
|
import array
|
|
40
|
+
import os
|
|
38
41
|
import time
|
|
39
42
|
from typing import TYPE_CHECKING, Any, List, Optional, Union
|
|
40
43
|
|
|
41
44
|
from java.lang.reflect import Type
|
|
42
45
|
|
|
43
46
|
if TYPE_CHECKING:
|
|
47
|
+
from java.io import InputStream, PrintStream
|
|
44
48
|
from java.nio import CharBuffer
|
|
45
|
-
from java.
|
|
49
|
+
from java.nio.channels import Channel
|
|
50
|
+
from java.util import Iterator, Properties, Spliterator
|
|
46
51
|
from java.util.function import Consumer
|
|
47
52
|
from java.util.stream import IntStream, Stream
|
|
48
53
|
|
|
@@ -682,6 +687,153 @@ class StringBuilder(Object, CharSequence):
|
|
|
682
687
|
pass
|
|
683
688
|
|
|
684
689
|
|
|
690
|
+
class System(Object):
|
|
691
|
+
"""The System class contains several useful class fields and
|
|
692
|
+
methods.
|
|
693
|
+
|
|
694
|
+
It cannot be instantiated. Among the facilities provided by the
|
|
695
|
+
System class are standard input, standard output, and error output
|
|
696
|
+
streams; access to externally defined properties and environment
|
|
697
|
+
variables; a means of loading files and libraries; and a utility
|
|
698
|
+
method for quickly copying a portion of an array.
|
|
699
|
+
"""
|
|
700
|
+
|
|
701
|
+
err = None # type: PrintStream
|
|
702
|
+
in_ = None # type: InputStream
|
|
703
|
+
out = None # type: PrintStream
|
|
704
|
+
|
|
705
|
+
@staticmethod
|
|
706
|
+
def arraycopy(src, srcPos, dest, destPos, length):
|
|
707
|
+
# type: (Any, int, Any, int, int) -> None
|
|
708
|
+
pass
|
|
709
|
+
|
|
710
|
+
@staticmethod
|
|
711
|
+
def clearProperty(key):
|
|
712
|
+
# type: (Union[str, unicode]) -> Union[str, unicode]
|
|
713
|
+
pass
|
|
714
|
+
|
|
715
|
+
@staticmethod
|
|
716
|
+
def console():
|
|
717
|
+
# type: () -> Any
|
|
718
|
+
pass
|
|
719
|
+
|
|
720
|
+
@staticmethod
|
|
721
|
+
def currentTimeMillis():
|
|
722
|
+
# type: () -> long
|
|
723
|
+
return long(time.time() * 1000)
|
|
724
|
+
|
|
725
|
+
@staticmethod
|
|
726
|
+
def exit(status):
|
|
727
|
+
# type: (int) -> None
|
|
728
|
+
pass
|
|
729
|
+
|
|
730
|
+
@staticmethod
|
|
731
|
+
def gc():
|
|
732
|
+
# type: () -> None
|
|
733
|
+
pass
|
|
734
|
+
|
|
735
|
+
@staticmethod
|
|
736
|
+
def getenv(name=None):
|
|
737
|
+
# type: (Optional[Union[str, unicode]]) -> Any
|
|
738
|
+
return dict(os.environ) if name is None else os.environ.get(str(name))
|
|
739
|
+
|
|
740
|
+
@staticmethod
|
|
741
|
+
def getLogger(name, bundle=None):
|
|
742
|
+
# type: (Union[str, unicode], Optional[Any]) -> Any
|
|
743
|
+
pass
|
|
744
|
+
|
|
745
|
+
@staticmethod
|
|
746
|
+
def getProperties():
|
|
747
|
+
# type: () -> Properties
|
|
748
|
+
pass
|
|
749
|
+
|
|
750
|
+
@staticmethod
|
|
751
|
+
def getProperty(
|
|
752
|
+
key, # type: Union[str, unicode]
|
|
753
|
+
def_=None, # type: Optional[Union[str, unicode]]
|
|
754
|
+
):
|
|
755
|
+
# type: (...) -> Union[str, unicode]
|
|
756
|
+
pass
|
|
757
|
+
|
|
758
|
+
@staticmethod
|
|
759
|
+
def getSecurityManager():
|
|
760
|
+
# type: () -> Any
|
|
761
|
+
pass
|
|
762
|
+
|
|
763
|
+
@staticmethod
|
|
764
|
+
def identityHashCode(x):
|
|
765
|
+
# type: (Object) -> int
|
|
766
|
+
return id(x)
|
|
767
|
+
|
|
768
|
+
@staticmethod
|
|
769
|
+
def inheritedChannel():
|
|
770
|
+
# type: () -> Channel
|
|
771
|
+
pass
|
|
772
|
+
|
|
773
|
+
@staticmethod
|
|
774
|
+
def lineSeparator():
|
|
775
|
+
# type: () -> Union[str, unicode]
|
|
776
|
+
return os.linesep
|
|
777
|
+
|
|
778
|
+
@staticmethod
|
|
779
|
+
def load(filename):
|
|
780
|
+
# type: (Union[str, unicode]) -> None
|
|
781
|
+
pass
|
|
782
|
+
|
|
783
|
+
@staticmethod
|
|
784
|
+
def loadLibrary(libname):
|
|
785
|
+
# type: (Union[str, unicode]) -> None
|
|
786
|
+
pass
|
|
787
|
+
|
|
788
|
+
@staticmethod
|
|
789
|
+
def mapLibraryName(libname):
|
|
790
|
+
# type: (Union[str, unicode]) -> Union[str, unicode]
|
|
791
|
+
pass
|
|
792
|
+
|
|
793
|
+
@staticmethod
|
|
794
|
+
def nanoTime():
|
|
795
|
+
# type: () -> long
|
|
796
|
+
return long(time.time() * 1000000000)
|
|
797
|
+
|
|
798
|
+
@staticmethod
|
|
799
|
+
def runFinalization():
|
|
800
|
+
# type: () -> None
|
|
801
|
+
pass
|
|
802
|
+
|
|
803
|
+
@staticmethod
|
|
804
|
+
def setErr(err):
|
|
805
|
+
# type: (PrintStream) -> None
|
|
806
|
+
pass
|
|
807
|
+
|
|
808
|
+
@staticmethod
|
|
809
|
+
def setIn(in_):
|
|
810
|
+
# type: (InputStream) -> None
|
|
811
|
+
pass
|
|
812
|
+
|
|
813
|
+
@staticmethod
|
|
814
|
+
def setOut(out):
|
|
815
|
+
# type: (PrintStream) -> None
|
|
816
|
+
pass
|
|
817
|
+
|
|
818
|
+
@staticmethod
|
|
819
|
+
def setProperties(props):
|
|
820
|
+
# type: (Properties) -> None
|
|
821
|
+
pass
|
|
822
|
+
|
|
823
|
+
@staticmethod
|
|
824
|
+
def setProperty(
|
|
825
|
+
key, # type: Union[str, unicode]
|
|
826
|
+
value, # type: Union[str, unicode]
|
|
827
|
+
):
|
|
828
|
+
# type: (...) -> Union[str, unicode]
|
|
829
|
+
pass
|
|
830
|
+
|
|
831
|
+
@staticmethod
|
|
832
|
+
def setSecurityManager(sm):
|
|
833
|
+
# type: (Any) -> None
|
|
834
|
+
pass
|
|
835
|
+
|
|
836
|
+
|
|
685
837
|
class Throwable(Object, builtins.Exception):
|
|
686
838
|
"""The Throwable class is the superclass of all errors and
|
|
687
839
|
exceptions in the Java language.
|
|
@@ -855,10 +1007,17 @@ class UnsupportedOperationException(RuntimeException):
|
|
|
855
1007
|
super(UnsupportedOperationException, self).__init__(message, cause)
|
|
856
1008
|
|
|
857
1009
|
|
|
1010
|
+
class Record(Object):
|
|
1011
|
+
def __init__(self):
|
|
1012
|
+
# type: () -> None
|
|
1013
|
+
super(Record, self).__init__()
|
|
1014
|
+
|
|
1015
|
+
|
|
858
1016
|
class Thread(Object):
|
|
859
|
-
"""A thread is a thread of execution in a program.
|
|
860
|
-
|
|
861
|
-
|
|
1017
|
+
"""A thread is a thread of execution in a program.
|
|
1018
|
+
|
|
1019
|
+
The Java Virtual Machine allows an application to have multiple
|
|
1020
|
+
threads of execution running concurrently.
|
|
862
1021
|
|
|
863
1022
|
Every thread has a name for identification purposes. More than one
|
|
864
1023
|
thread may have the same name. If a name is not specified when a
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: java-api
|
|
3
|
-
Version: 17.26.
|
|
3
|
+
Version: 17.26.6
|
|
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/
|
|
9
|
+
Project-URL: Source, https://github.com/ignition-devs/java-api/tree/17
|
|
10
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
12
|
Project-URL: Tracker, https://github.com/ignition-devs/java-api/issues
|
|
@@ -6,7 +6,7 @@ java/awt/image/__init__.py,SHA256=X8ycKnpLb5IagTy11RYm5C503_vNPiWRTaSLnFKU9po,27
|
|
|
6
6
|
java/awt/print/__init__.py,SHA256=qo80_7FFoXSqBkMFyiMqPKB-iwVfsvlcwdVuP7u2f7k,1698
|
|
7
7
|
java/beans/__init__.py,SHA256=ibOy3bc4N84kfDrw4Sxqj_BYZgYUvHN9XFybMqJ5cIM,1086
|
|
8
8
|
java/io/__init__.py,SHA256=gAD_8mawEhIGzORlIMrSISypQ9jG6quEzsvDmUGu1UU,9301
|
|
9
|
-
java/lang/__init__.py,SHA256=
|
|
9
|
+
java/lang/__init__.py,SHA256=UZzJlLsuV7Mw5OJr0Iz-vecJoYrZoQ3tUUsgrnlOWsw,24153
|
|
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
|
|
@@ -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.26.
|
|
43
|
-
java_api-17.26.
|
|
44
|
-
java_api-17.26.
|
|
45
|
-
java_api-17.26.
|
|
46
|
-
java_api-17.26.
|
|
42
|
+
java_api-17.26.6.dist-info/LICENSE,SHA256=jan5VkSLS7c68CWDQD0qjximES0nbOpwPRd88k3eOXU,1066
|
|
43
|
+
java_api-17.26.6.dist-info/METADATA,SHA256=vol6uD27wZpsNf5uTYUU2uajKhLbP5t_244ukMRi4rU,5080
|
|
44
|
+
java_api-17.26.6.dist-info/WHEEL,SHA256=1VPi6hfNQaRRNuEdK_3dv9o8COtLGnHWJghhj4CQ28k,92
|
|
45
|
+
java_api-17.26.6.dist-info/top_level.txt,SHA256=ULMl8dxVE3DpTgZToR95hVaQmkl-LPtCbMSiiQAmdck,11
|
|
46
|
+
java_api-17.26.6.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|