From 0175963deaeb9de893abb9255430a0d3d98d4ebf Mon Sep 17 00:00:00 2001 From: Orlovsky Maxim Date: Wed, 28 Dec 2022 14:59:36 +0300 Subject: [PATCH 1/7] [Migrator] Added java api list in table form Signed-off-by: Orlovsky Maxim --- migrator/docs/java-api-list.md | 2539 +++++++++++++++----------------- 1 file changed, 1150 insertions(+), 1389 deletions(-) diff --git a/migrator/docs/java-api-list.md b/migrator/docs/java-api-list.md index 7a769fd4e..94f684c84 100644 --- a/migrator/docs/java-api-list.md +++ b/migrator/docs/java-api-list.md @@ -92,1487 +92,1248 @@ - [java.lang.Thread.UncaughtExceptionHandler](#javalangthreaduncaughtexceptionhandler) - [java.lang.Boolean](#javalangboolean) - [java.lang.Byte](#javalangbyte) + - [java.lang.Character](#javalangcharacter) + - [java.lang.Double](#javalangdouble) + - [java.lang.Float](#javalangfloat) + - [java.lang.Integer](#javalanginteger) + - [java.lang.Long](#javalanglong) + - [java.lang.Math](#javalangmath) + - [java.lang.Number](#javalangnumber) + - [java.lang.Object](#javalangobject) + - [java.lang.Runtime](#javalangruntime) + - [java.lang.Short](#javalangshort) + - [java.lang.String](#javalangstring) + - [java.lang.StringBuilder](#javalangstringbuilder) + - [java.lang.System](#javalangsystem) +- [java.lang.reflect](#javalangreflect) +- [java.nio](#javanio) +- [java.text](#javatext) +- [java.util](#javautil) + - [java.util.Map](#javautilmap) + - [java.util.Set](#javautilset) + - [java.util.Arrays](#javautilarrays) -## java.io +## java.io -### java.io.Closeable +### java.io.Closeable -### java.io.DataInput +### java.io.DataInput -### java.io.DataOutput +### java.io.DataOutput -### java.io.Externalizable +### java.io.Externalizable -### java.io.FileFilter +### java.io.FileFilter -### java.io.FilenameFilter +### java.io.FilenameFilter -### java.io.Flushable +### java.io.Flushable -### java.io.ObjectInput +### java.io.ObjectInput -### java.io.ObjectInputValidation +### java.io.ObjectInputValidation -### java.io.ObjectOutput +### java.io.ObjectOutput -### java.io.ObjectStreamConstants +### java.io.ObjectStreamConstants -### java.io.Serializable +### java.io.Serializable -### java.io.BufferedInputStream +### java.io.BufferedInputStream -### java.io.BufferedOutputStream +### java.io.BufferedOutputStream -### java.io.BufferedReader +### java.io.BufferedReader -### java.io.BufferedWriter +### java.io.BufferedWriter -### java.io.ByteArrayInputStream +### java.io.ByteArrayInputStream -### java.io.ByteArrayOutputStream +### java.io.ByteArrayOutputStream -### java.io.CharArrayReader +### java.io.CharArrayReader -### java.io.CharArrayWriter +### java.io.CharArrayWriter -### java.io.Console +### java.io.Console -### java.io.DataInputStream +### java.io.DataInputStream -### java.io.DataOutputStream +### java.io.DataOutputStream -### java.io.File +### java.io.File -### java.io.FileDescriptor +### java.io.FileDescriptor -### java.io.FileInputStream +### java.io.FileInputStream -### java.io.FileOutputStream +### java.io.FileOutputStream -### java.io.FilePermission +### java.io.FilePermission -### java.io.FileReader +### java.io.FileReader -### java.io.FileWriter +### java.io.FileWriter -### java.io.FilterInputStream +### java.io.FilterInputStream -### java.io.FilterOutputStream +### java.io.FilterOutputStream -### java.io.FilterReader +### java.io.FilterReader -### java.io.FilterWriter +### java.io.FilterWriter -### java.io.InputStream +### java.io.InputStream -### java.io.InputStreamReader +### java.io.InputStreamReader -### java.io.LineNumberInputStream +### java.io.LineNumberInputStream -### java.io.LineNumberReader +### java.io.LineNumberReader -### java.io.ObjectInputStream +### java.io.ObjectInputStream -### java.io.ObjectInputStream.GetField +### java.io.ObjectInputStream.GetField -### java.io.ObjectOutputStream +### java.io.ObjectOutputStream -### java.io.ObjectOutputStream.PutField +### java.io.ObjectOutputStream.PutField -### java.io.ObjectStreamClass +### java.io.ObjectStreamClass -### java.io.ObjectStreamField +### java.io.ObjectStreamField -### java.io.OutputStream +### java.io.OutputStream -### java.io.OutputStreamWriter +### java.io.OutputStreamWriter -### java.io.PipedInputStream +### java.io.PipedInputStream -### java.io.PipedOutputStream +### java.io.PipedOutputStream -### java.io.PipedReader +### java.io.PipedReader -### java.io.PipedWriter +### java.io.PipedWriter -### java.io.PrintStream +### java.io.PrintStream -### java.io.PrintWriter +### java.io.PrintWriter -### java.io.PushbackInputStream +### java.io.PushbackInputStream -### java.io.PushbackReader +### java.io.PushbackReader -### java.io.RandomAccessFile +### java.io.RandomAccessFile -### java.io.Reader +### java.io.Reader -### java.io.SequenceInputStream +### java.io.SequenceInputStream -### java.io.SerializablePermission +### java.io.SerializablePermission -### java.io.StreamTokenizer +### java.io.StreamTokenizer -### java.io.StringBufferInputStream +### java.io.StringBufferInputStream -### java.io.StringReader +### java.io.StringReader -### java.io.StringWriter +### java.io.StringWriter -### java.io.Writer +### java.io.Writer -### java.io.CharConversionException +### java.io.CharConversionException -### java.io.EOFException +### java.io.EOFException -### java.io.FileNotFoundException +### java.io.FileNotFoundException -### java.io.InterruptedIOException +### java.io.InterruptedIOException -### java.io.InvalidClassException +### java.io.InvalidClassException -### java.io.InvalidObjectException +### java.io.InvalidObjectException -### java.io.IOException +### java.io.IOException -### java.io.NotActiveException +### java.io.NotActiveException -### java.io.NotSerializableException +### java.io.NotSerializableException -### java.io.ObjectStreamException +### java.io.ObjectStreamException -### java.io.OptionalDataException +### java.io.OptionalDataException -### java.io.StreamCorruptedException +### java.io.StreamCorruptedException -### java.io.SyncFailedException +### java.io.SyncFailedException -### java.io.UncheckedIOException +### java.io.UncheckedIOException -### java.io.UnsupportedEncodingException +### java.io.UnsupportedEncodingException -### java.io.UTFDataFormatException +### java.io.UTFDataFormatException -### java.io.WriteAbortedException +### java.io.WriteAbortedException -### java.io.IOError +### java.io.IOError -## java.lang +## java.lang -### java.lang.Appendable +### java.lang.Appendable -### java.lang.AutoCloseable +### java.lang.AutoCloseable -### java.lang.CharSequence +### java.lang.CharSequence -### java.lang.Cloneable +### java.lang.Cloneable -### java.lang.Comparable +### java.lang.Comparable -### java.lang.Iterable +### java.lang.Iterable -### java.lang.Readable +### java.lang.Readable -### java.lang.Runnable +### java.lang.Runnable -### java.lang.Thread.UncaughtExceptionHandler +### java.lang.Thread.UncaughtExceptionHandler -### java.lang.Boolean +### java.lang.Boolean -| Type | Java | ArkTS | Status | -| ----------- | ----------------------------------------------- | ------------------------------ | ------ | -| Module | java.lang.Comparable | std.core.Comparable | | -| Member | static Boolean FALSE | | Done | -| Member | static Boolean TRUE | | Done | -| Member | static Class TYPE | | | -| Constructor | Boolean(boolean value) | | Done | -| Constructor | Boolean(String s) | | | -| Method | boolean booleanValue() | unboxed(): boolean | | -| Method | static int compare(boolean x, boolean y) | compareTo(other: Boolean): int | | -| Method | int compareTo(Boolean b) | | Done | -| Method | boolean equals(Object obj) | | Done | -| Method | static boolean getBoolean(String name) | | | -| Method | int hashCode() | | Done | -| Method | static int hashCode(boolean value) | hashCode(): int | | -| Method | static boolean logicalAnd(boolean a, boolean b) | | | -| Method | static boolean logicalOr(boolean a, boolean b) | | | -| Method | static boolean logicalXor(boolean a, boolean b) | | | -| Method | static boolean parseBoolean(String s) | | | -| Method | String toString() | | Done | -| Method | static String toString(boolean b) | toString(): String | | -| Method | static Boolean valueOf(boolean b) | | Done | -| Method | static Boolean valueOf(String s) | | | - -### java.lang.Byte -| Type | Java | ArkTS | Status | -| ---- | ------------------------------------------ | ---------------------------------- | ------ | -| | java.lang.Byte | std.core.Byte | | -| | static int BYTES | BYTE_SIZE | | -| | static byte MAX_VALUE | | Done | -| | static byte MIN_VALUE | | Done | -| | static int SIZE | BIT_SIZE | | -| | static Class TYPE | | | -| | Byte(byte value) | | Done | -| | Byte(String s) | | | -| | byte byteValue() | | Done | -| | static int compare(byte x, byte y) | new Byte(x).compareTo(new Byte(y)) | | -| | int compareTo(Byte anotherByte) | | Done | -| | static Byte decode(String nm) | | | -| | double doubleValue() | | Done | -| | boolean equals(Object obj) | | Done | -| | float floatValue() | | Done | -| | int hashCode() | | Done | -| | static int hashCode(byte value) | | | -| | int intValue() | | Done | -| | long longValue() | | Done | -| | static byte parseByte(String s) | | | -| | static byte parseByte(String s, int radix) | | | -| | short shortValue() | | Done | -| | String toString() | | Done | -| | static String toString(byte b) | new Byte(b).toString() | | -| | static int toUnsignedInt(byte x) | | | -| | static long toUnsignedLong(byte x) | | | -| | static Byte valueOf(byte b) | | | -| | static Byte valueOf(String s) | | | -| | static Byte valueOf(String s, int radix) | | | - -==> std.core.Character - -| Type | Java | ArkTS | Status | -| ---- | --------------------------------------------------------------------------------------------- | ----------------------------------------- | ------ | -| | static int BYTES | | | -| | static byte COMBINING_SPACING_MARK | | | -| | static byte CONNECTOR_PUNCTUATION | | | -| | static byte CONTROL | | | -| | static byte CURRENCY_SYMBOL | | | -| | static byte DASH_PUNCTUATION | | | -| | static byte DECIMAL_DIGIT_NUMBER | | | -| | static byte DIRECTIONALITY_ARABIC_NUMBER | | | -| | static byte DIRECTIONALITY_BOUNDARY_NEUTRAL | | | -| | static byte DIRECTIONALITY_COMMON_NUMBER_SEPARATOR | | | -| | static byte DIRECTIONALITY_EUROPEAN_NUMBER | | | -| | static byte DIRECTIONALITY_EUROPEAN_NUMBER_SEPARATOR | | | -| | static byte DIRECTIONALITY_EUROPEAN_NUMBER_TERMINATOR | | | -| | static byte DIRECTIONALITY_LEFT_TO_RIGHT | | | -| | static byte DIRECTIONALITY_LEFT_TO_RIGHT_EMBEDDING | | | -| | static byte DIRECTIONALITY_LEFT_TO_RIGHT_OVERRIDE | | | -| | static byte DIRECTIONALITY_NONSPACING_MARK | | | -| | static byte DIRECTIONALITY_OTHER_NEUTRALS | | | -| | static byte DIRECTIONALITY_PARAGRAPH_SEPARATOR | | | -| | static byte DIRECTIONALITY_POP_DIRECTIONAL_FORMAT | | | -| | static byte DIRECTIONALITY_RIGHT_TO_LEFT | | | -| | static byte DIRECTIONALITY_RIGHT_TO_LEFT_ARABIC | | | -| | static byte DIRECTIONALITY_RIGHT_TO_LEFT_EMBEDDING | | | -| | static byte DIRECTIONALITY_RIGHT_TO_LEFT_OVERRIDE | | | -| | static byte DIRECTIONALITY_SEGMENT_SEPARATOR | | | -| | static byte DIRECTIONALITY_UNDEFINED | | | -| | static byte DIRECTIONALITY_WHITESPACE | | | -| | static byte ENCLOSING_MARK | | | -| | static byte END_PUNCTUATION | | | -| | static byte FINAL_QUOTE_PUNCTUATION | | | -| | static byte FORMAT | | | -| | static byte INITIAL_QUOTE_PUNCTUATION | | | -| | static byte LETTER_NUMBER | | | -| | static byte LINE_SEPARATOR | | | -| | static byte LOWERCASE_LETTER | | | -| | static byte MATH_SYMBOL | | | -| | static int MAX_CODE_POINT | | | -| | static char MAX_HIGH_SURROGATE | HIGH_SURROGATE_MAX | | -| | static char MAX_LOW_SURROGATE | LOW_SURROGATE_MAX | | -| | static int MAX_RADIX | | | -| | static char MAX_SURROGATE | | | -| | static char MAX_VALUE | | | -| | static int MIN_CODE_POINT | | | -| | static char MIN_HIGH_SURROGATE | HIGH_SURROGATE_MIN | | -| | static char MIN_LOW_SURROGATE | LOW_SURROGATE_MIN | | -| | static int MIN_RADIX | | | -| | static int MIN_SUPPLEMENTARY_CODE_POINT | | | -| | static char MIN_SURROGATE | | | -| | static char MIN_VALUE | | | -| | static byte MODIFIER_LETTER | | | -| | static byte MODIFIER_SYMBOL | | | -| | static byte NON_SPACING_MARK | | | -| | static byte OTHER_LETTER | | | -| | static byte OTHER_NUMBER | | | -| | static byte OTHER_PUNCTUATION | | | -| | static byte OTHER_SYMBOL | | | -| | static byte PARAGRAPH_SEPARATOR | | | -| | static byte PRIVATE_USE | | | -| | static int SIZE | CHAR_BIT_SIZE | | -| | static byte SPACE_SEPARATOR | | | -| | static byte START_PUNCTUATION | | | -| | static byte SURROGATE | | | -| | static byte TITLECASE_LETTER | | | -| | static Class TYPE | | | -| | static byte UNASSIGNED | | | -| | static byte UPPERCASE_LETTER | | | -| | Character(char value) | | Done | -| | static int charCount(int codePoint) | | | -| | char charValue() | | | -| | static int codePointAt(char[] a, int index) | | | -| | static int codePointAt(char[] a, int index, int limit) | | | -| | static int codePointAt(CharSequence seq, int index) | | | -| | static int codePointBefore(char[] a, int index) | | | -| | static int codePointBefore(char[] a, int index, int start) | | | -| | static int codePointBefore(CharSequence seq, int index) | | | -| | static int codePointCount(char[] a, int offset, int count) | | | -| | static int codePointCount(CharSequence seq, int beginIndex, int endIndex) | | | -| | static int compare(char x, char y) | new Char(x).compareTo(new Char(y)) | | -| | int compareTo(Character anotherCharacter) | | Done | -| | static int digit(char ch, int radix) | | | -| | static int digit(int codePoint, int radix) | | | -| | boolean equals(Object obj) | | Done | -| | static char forDigit(int digit, int radix) | | | -| | static byte getDirectionality(char ch) | | | -| | static byte getDirectionality(int codePoint) | | | -| | static String getName(int codePoint) | | | -| | static int getNumericValue(char ch) | | | -| | static int getNumericValue(int codePoint) | | | -| | static int getType(char ch) | | | -| | static int getType(int codePoint) | | | -| | int hashCode() | | Done | -| | static int hashCode(char value) | | Done | -| | static char highSurrogate(int codePoint) | static getHighSurrogate(value: int): char | | -| | static boolean isAlphabetic(int codePoint) | | | -| | static boolean isBmpCodePoint(int codePoint) | | | -| | static boolean isDefined(char ch) | | | -| | static boolean isDefined(int codePoint) | | | -| | static boolean isDigit(char ch) | static isDecDigit(value: char): boolean | | -| | static boolean isDigit(int codePoint) | | | -| | static boolean isHighSurrogate(char ch) | | Done | -| | static boolean isIdentifierIgnorable(char ch) | | | -| | static boolean isIdentifierIgnorable(int codePoint) | | | -| | static boolean isIdeographic(int codePoint) | | | -| | static boolean isISOControl(char ch) | | | -| | static boolean isISOControl(int codePoint) | | | -| | static boolean isJavaIdentifierPart(char ch) | | | -| | static boolean isJavaIdentifierPart(int codePoint) | | | -| | static boolean isJavaIdentifierStart(char ch) | | | -| | static boolean isJavaIdentifierStart(int codePoint) | | | -| | static boolean isJavaLetter(char ch) | | | -| | static boolean isJavaLetterOrDigit(char ch) | | | -| | static boolean isLetter(char ch) | | | -| | static boolean isLetter(int codePoint) | | Done | -| | static boolean isLetterOrDigit(char ch) | | | -| | static boolean isLetterOrDigit(int codePoint) | | | -| | static boolean isLowerCase(char ch) | | Done | -| | static boolean isLowerCase(int codePoint) | | | -| | static boolean isLowSurrogate(char ch) | | Done | -| | static boolean isMirrored(char ch) | | | -| | static boolean isMirrored(int codePoint) | | | -| | static boolean isSpace(char ch) | | | -| | static boolean isSpaceChar(char ch) | | | -| | static boolean isSpaceChar(int codePoint) | | | -| | static boolean isSupplementaryCodePoint(int codePoint) | | | -| | static boolean isSurrogate(char ch) | | | -| | static boolean isSurrogatePair(char high, char low) | | | -| | static boolean isTitleCase(char ch) | | | -| | static boolean isTitleCase(int codePoint) | | | -| | static boolean isUnicodeIdentifierPart(char ch) | | | -| | static boolean isUnicodeIdentifierPart(int codePoint) | | | -| | static boolean isUnicodeIdentifierStart(char ch) | | | -| | static boolean isUnicodeIdentifierStart(int codePoint) | | | -| | static boolean isUpperCase(char ch) | | Done | -| | static boolean isUpperCase(int codePoint) | | | -| | static boolean isValidCodePoint(int codePoint) | | | -| | static boolean isWhitespace(char ch) | | Done | -| | static boolean isWhitespace(int codePoint) | | | -| | static char lowSurrogate(int codePoint) | static getLowSurrogate(value: int): char | | -| | static int offsetByCodePoints(char[] a, int start, int count, int index, int codePointOffset) | | | -| | static int offsetByCodePoints(CharSequence seq, int index, int codePointOffset) | | | -| | static char reverseBytes(char ch) | | | -| | static char[] toChars(int codePoint) | | | -| | static int toChars(int codePoint, char[] dst, int dstIndex) | | | -| | static int toCodePoint(char high, char low) | | | -| | static char toLowerCase(char ch) | | Done | -| | static int toLowerCase(int codePoint) | | | -| | String toString() | | | -| | static String toString(char c) | | | -| | static char toTitleCase(char ch) | | | -| | static int toTitleCase(int codePoint) | | | -| | static char toUpperCase(char ch) | | Done | -| | static int toUpperCase(int codePoint) | | | -| | static Character valueOf(char c) | | Done | - - java.lang.Character.Subset - java.lang.Character.UnicodeBlock - java.lang.Class ==> std.core.Type ???? - java.lang.ClassLoader - java.lang.ClassValue - java.lang.Compiler - - ==> std.core.Double - - static int BYTES | BYTE_SIZE - static int MAX_EXPONENT - static double MAX_VALUE | Same - static int MIN_EXPONENT - static double MIN_NORMAL - static double MIN_VALUE | Same - static double NaN | Same - static double NEGATIVE_INFINITY | Same - static double POSITIVE_INFINITY | Same - static int SIZE | BIT_SIZE - static Class TYPE - - Double(double value) | Same - Double(String s) - byte byteValue() | Same - static int compare(double d1, double d2) | new Double(d1).compareTo(new Double(d2) - int compareTo(Double anotherDouble) | Same - static long doubleToLongBits(double value) - static long doubleToRawLongBits(double value) - double doubleValue() | Same - boolean equals(Object obj) | Same - float floatValue() | Same - int hashCode() | Same - static int hashCode(double value) - int intValue() | Same - static boolean isFinite(double d) - boolean isInfinite() - static boolean isInfinite(double v) - boolean isNaN() - static boolean isNaN(double v) - static double longBitsToDouble(long bits) - long longValue() | Same - static double max(double a, double b) - static double min(double a, double b) - static double parseDouble(String s) - short shortValue() | Same - static double sum(double a, double b) - static String toHexString(double d) - String toString() | Same - static String toString(double d) - static Double valueOf(double d) | Same - static Double valueOf(String s) - - java.lang.Enum - - ==> std.core.Float - - static int BYTES | BYTE_SIZE - static int MAX_EXPONENT - static float MAX_VALUE | Same - static int MIN_EXPONENT - static float MIN_NORMAL - static float MIN_VALUE | Same - static float NaN | Same - static float NEGATIVE_INFINITY | Same - static float POSITIVE_INFINITY | Same - static int SIZE | BIT_SIZE - static Class TYPE - - Float(double value) - Float(float value) | Same - Float(String s) - byte byteValue() | Same - static int compare(float f1, float f2) | new Float(f1).compareTo(new Float(f2)) - int compareTo(Float anotherFloat) | Same - double doubleValue() | Same - boolean equals(Object obj) | Same - static int floatToIntBits(float value) - static int floatToRawIntBits(float value) - float floatValue() | Same - int hashCode() | Same - static int hashCode(float value) | new Float(value).hashCode(); - static float intBitsToFloat(int bits) - int intValue() | Same - static boolean isFinite(float f) - boolean isInfinite() - static boolean isInfinite(float v) - boolean isNaN() - static boolean isNaN(float v) - long longValue() | Same - static float max(float a, float b) - static float min(float a, float b) - static float parseFloat(String s) - short shortValue() | Same - static float sum(float a, float b) - static String toHexString(float f) - String toString() | Same - static String toString(float f) | new Float(f).toString() - static Float valueOf(float f) | Same - static Float valueOf(String s) - - java.lang.InheritableThreadLocal - - ==> std.core.Int - - static int BYTES | BYTE_SIZE - static int MAX_VALUE | Same - static int MIN_VALUE | Same - static int SIZE | BIT_SIZE - static Class TYPE - - Integer(int value) | Same - Integer(String s) - static int bitCount(int i) - byte byteValue() | Same - static int compare(int x, int y) | new Int(x).compareTo(new Int(y)) - int compareTo(Integer anotherInteger) | Same - static int compareUnsigned(int x, int y) - static Integer decode(String nm) - static int divideUnsigned(int dividend, int divisor) - double doubleValue() | Same - boolean equals(Object obj) | Same - float floatValue() | Same - static Integer getInteger(String nm) - static Integer getInteger(String nm, int val) - static Integer getInteger(String nm, Integer val) - int hashCode() | Same - static int hashCode(int value) | new Int(value).hasCode() - static int highestOneBit(int i) - int intValue() | Same - long longValue() | Same - static int lowestOneBit(int i) - static int max(int a, int b) - static int min(int a, int b) - static int numberOfLeadingZeros(int i) - static int numberOfTrailingZeros(int i) - static int parseInt(String s) - static int parseInt(String s, int radix) - static int parseUnsignedInt(String s) - static int parseUnsignedInt(String s, int radix) - static int remainderUnsigned(int dividend, int divisor) - static int reverse(int i) - static int reverseBytes(int i) - static int rotateLeft(int i, int distance) - static int rotateRight(int i, int distance) - short shortValue() | Same - static int signum(int i) - static int sum(int a, int b) - static String toBinaryString(int i) - static String toHexString(int i) - static String toOctalString(int i) - String toString() | Same - static String toString(int i) | new Int(i).toString() - static String toString(int i, int radix) - static long toUnsignedLong(int x) - static String toUnsignedString(int i) - static String toUnsignedString(int i, int radix) - static Integer valueOf(int i) | Same - static Integer valueOf(String s) - static Integer valueOf(String s, int radix) - - - ==> std.core.Long - - static int BYTES | BYTE_SIZE - static long MAX_VALUE | Same - static long MIN_VALUE | Same - static int SIZE | BIT_SIZE - static Class TYPE - - Long(long value) | Same - Long(String s) - static int bitCount(long i) - byte byteValue() | Same - static int compare(long x, long y) | new Long(x).compareTo(new Long(y)) - int compareTo(Long anotherLong) | Same - static int compareUnsigned(long x, long y) - static Long decode(String nm) - static long divideUnsigned(long dividend, long divisor) - double doubleValue() | Same - boolean equals(Object obj) | Same - float floatValue() | Same - static Long getLong(String nm) - static Long getLong(String nm, long val) - static Long getLong(String nm, Long val) - int hashCode() | Same - static int hashCode(long value) | new Long(value).hashCode() - static long highestOneBit(long i) - int intValue() | Same - long longValue() | Same - static long lowestOneBit(long i) - static long max(long a, long b) - static long min(long a, long b) - static int numberOfLeadingZeros(long i) - static int numberOfTrailingZeros(long i) - static long parseLong(String s) - static long parseLong(String s, int radix) - static long parseUnsignedLong(String s) - static long parseUnsignedLong(String s, int radix) - static long remainderUnsigned(long dividend, long divisor) - static long reverse(long i) - static long reverseBytes(long i) - static long rotateLeft(long i, int distance) - static long rotateRight(long i, int distance) - short shortValue() | Same - static int signum(long i) - static long sum(long a, long b) - static String toBinaryString(long i) - static String toHexString(long i) - static String toOctalString(long i) - String toString() | Same - static String toString(long i) | new Long(i).toString() - static String toString(long i, int radix) - static String toUnsignedString(long i) - static String toUnsignedString(long i, int radix) - static Long valueOf(long l) | Same - static Long valueOf(String s) - static Long valueOf(String s, int radix) - - - ==> std.math.math.* - static double E - static double PI ==> std.math.math.PI; - - static double abs(double a) | Same - static float abs(float a) - static int abs(int a) - static long abs(long a) - static double acos(double a) | Same - static int addExact(int x, int y) - static long addExact(long x, long y) - static double asin(double a) | Same - static double atan(double a) | Same - static double atan2(double y, double x) | Same - static double cbrt(double a) ArktTS: function cuberoot(v: double): double - static double ceil(double a) | Same - static double copySign(double magnitude, double sign) | Same - static float copySign(float magnitude, float sign) | Same - static double cos(double a) | Same - static double cosh(double x) | Same - static int decrementExact(int a) - static long decrementExact(long a) - static double exp(double a) | Same - static double expm1(double x) | Same - static double floor(double a) | Same - static int floorDiv(int x, int y) - static long floorDiv(long x, long y) - static int floorMod(int x, int y) - static long floorMod(long x, long y) - static int getExponent(double d) - static int getExponent(float f) - static double hypot(double x, double y) | Same - static double IEEEremainder(double f1, double f2) - static int incrementExact(int a) - static long incrementExact(long a) - static double log(double a) | Same - static double log10(double a) | Same - static double log1p(double x) | Same - static double max(double a, double b) | Same - static float max(float a, float b) - static int max(int a, int b) | Same - static long max(long a, long b) - static double min(double a, double b) - static float min(float a, float b) - static int min(int a, int b) - static long min(long a, long b) - static int multiplyExact(int x, int y) - static long multiplyExact(long x, long y) - static int negateExact(int a) - static long negateExact(long a) - static double nextAfter(double start, double direction) - static float nextAfter(float start, double direction) - static double nextDown(double d) - static float nextDown(float f) - static double nextUp(double d) - static float nextUp(float f) - static double pow(double a, double b) | function power(v: double, u: double): double; - static double random() - static double rint(double a) - static long round(double a) | Same - static int round(float a) - static double scalb(double d, int scaleFactor) - static float scalb(float f, int scaleFactor) | function scalbn(v: double, n: int): double - static double signum(double d) | function sign(v: double): double { - static float signum(float f) - static double sin(double a) | Same - static double sinh(double x) | Same - static double sqrt(double a) | Same - static int subtractExact(int x, int y) - static long subtractExact(long x, long y) - static double tan(double a) | Same - static double tanh(double x) | Same - static double toDegrees(double angrad) - static int toIntExact(long value) - static double toRadians(double angdeg) - static double ulp(double d) - static float ulp(float f) - - - ==> std.core.Integral - - byte byteValue() | Same - abstract double doubleValue() | Same - abstract float floatValue() | Same - abstract int intValue() | Same - abstract long longValue() | Same - short shortValue() | Same - - - ==> std.core.Object - - Object() - protected Object clone() - boolean equals(Object obj) | Same - protected void finalize() - Class getClass() - int hashCode() | Same - void notify() - void notifyAll() - String toString() | Same - void wait() - void wait(long timeout) - void wait(long timeout, int nanos) - - java.lang.Package - java.lang.Process - java.lang.ProcessBuilder - java.lang.ProcessBuilder.Redirect - - ==> std.core.Runtime - - void addShutdownHook(Thread hook) - int availableProcessors() - Process exec(String command) - Process exec(String[] cmdarray) - Process exec(String[] cmdarray, String[] envp) - Process exec(String[] cmdarray, String[] envp, File dir) - Process exec(String command, String[] envp) - Process exec(String command, String[] envp, File dir) - void exit(int status) - long freeMemory() - void gc() - InputStream getLocalizedInputStream(InputStream in) - OutputStream getLocalizedOutputStream(OutputStream out) - static Runtime getRuntime() - void halt(int status) - void load(String filename) - void loadLibrary(String libname) | Same - long maxMemory() - boolean removeShutdownHook(Thread hook) - void runFinalization() - static void runFinalizersOnExit(boolean value) - long totalMemory() - void traceInstructions(boolean on) - void traceMethodCalls(boolean on) - - java.lang.RuntimePermission - java.lang.SecurityManager - - ==> std.core.Short - - static int BYTES | BYTE_SIZE - static short MAX_VALUE | Same - static short MIN_VALUE | Same - static int SIZE | BIT_SIZE - static Class TYPE - - Short(short value) | Same - Short(String s) - - byte byteValue() | Same - static int compare(short x, short y) new Short(x).compareTo(new Short(y)) - int compareTo(Short anotherShort) | Same - static Short decode(String nm) - double doubleValue() | Same - boolean equals(Object obj) | Same - float floatValue() | Same - int hashCode() | Same - static int hashCode(short s) | new Short(s).hashCode() - int intValue() | Same - long longValue() | Same - static short parseShort(String s) - static short parseShort(String s, int radix) - static short reverseBytes(short i) - short shortValue() | Same - String toString() | Same - static String toString(short s) | new Short(s).toString() - static int toUnsignedInt(short x) - static long toUnsignedLong(short x) - static Short valueOf(short s) | Same - static Short valueOf(String s) - static Short valueOf(String s, int radix) - - java.lang.StackTraceElement - java.lang.StrictMath - - ==> std.core.String - - static Comparator CASE_INSENSITIVE_ORDER - - String() | Same - String(byte[] bytes) - String(byte[] bytes, Charset charset) - String(byte[] ascii, int hibyte) - String(byte[] bytes, int offset, int length) - String(byte[] bytes, int offset, int length, Charset charset) - String(byte[] ascii, int hibyte, int offset, int count) - String(byte[] bytes, int offset, int length, String charsetName) - String(byte[] bytes, String charsetName) - String(char[] value) | Same - String(char[] value, int offset, int count) - String(int[] codePoints, int offset, int count) - String(String original) - String(StringBuffer buffer) - String(StringBuilder builder) - - char charAt(int index) | Same - int codePointAt(int index) | Same - int codePointBefore(int index) - int codePointCount(int beginIndex, int endIndex) | Same - int compareTo(String anotherString) | Same - int compareToIgnoreCase(String str) - String concat(String str) | Same - boolean contains(CharSequence s) | contains(str: String, fromIndex: int): boolean - boolean contentEquals(CharSequence cs) - boolean contentEquals(StringBuffer sb) | Same ????: contentEquals(sb: StringBuilder): boolean ??? StringBuffer != StringBuilder - static String copyValueOf(char[] data) - static String copyValueOf(char[] data, int offset, int count) - boolean endsWith(String suffix) | Same - boolean equals(Object anObject) | Same - boolean equalsIgnoreCase(String anotherString) - static String format(Locale l, String format, Object... args) - static String format(String format, Object... args) - byte[] getBytes() - byte[] getBytes(Charset charset) - void getBytes(int srcBegin, int srcEnd, byte[] dst, int dstBegin) - byte[] getBytes(String charsetName) - void getChars(int srcBegin, int srcEnd, char[] dst, int dstBegin) - int hashCode() | Same - int indexOf(int ch) | Same - int indexOf(int ch, int fromIndex) | Same - int indexOf(String str) | Same - int indexOf(String str, int fromIndex) | Same - String intern() - boolean isEmpty() - static String join(CharSequence delimiter, CharSequence... elements) | join(strings: String[], delim: String): String - static String join(CharSequence delimiter, Iterable elements) | join(strings: String[], delim: String): String - int lastIndexOf(int ch) | Same - int lastIndexOf(int ch, int fromIndex) | Same - int lastIndexOf(String str) | Same - int lastIndexOf(String str, int fromIndex) | Same - int length() | Same - boolean matches(String regex) - int offsetByCodePoints(int index, int codePointOffset) - boolean regionMatches(boolean ignoreCase, int toffset, String other, int ooffset, int len) - boolean regionMatches(int toffset, String other, int ooffset, int len) - String replace(char oldChar, char newChar) | Same - String replace(CharSequence target, CharSequence replacement) - String replaceAll(String regex, String replacement) - String replaceFirst(String regex, String replacement) - String[] split(String regex) - String[] split(String regex, int limit) - boolean startsWith(String prefix) | Same - boolean startsWith(String prefix, int toffset) | Same - CharSequence subSequence(int beginIndex, int endIndex) - String substring(int beginIndex) | Same - String substring(int beginIndex, int endIndex) | Same - char[] toCharArray() - String toLowerCase() | Same - String toLowerCase(Locale locale) - String toString() - String toUpperCase() | Same - String toUpperCase(Locale locale) - String trim() | Same - static String valueOf(boolean b) - static String valueOf(char c) | static StringBuilder.toString(c: char): String - static String valueOf(char[] data) - static String valueOf(char[] data, int offset, int count) - static String valueOf(double d) | static StringBuilder.toString(d: double): String - static String valueOf(float f) | static StringBuilder.toString(f: float): String - static String valueOf(int i) | static StringBuilder.toString(i: int): String - static String valueOf(long l) | static StringBuilder.toString(l: long): String - static String valueOf(Object obj) - - java.lang.StringBuffer ==> std.core.StringBuilder ???? - - ==> std.core.StringBuilder - - StringBuilder() | Same - StringBuilder(CharSequence seq) - StringBuilder(int capacity) - StringBuilder(String str) | Same - - StringBuilder append(boolean b) - StringBuilder append(char c) | Same - StringBuilder append(char[] str) - StringBuilder append(char[] str, int offset, int len) - StringBuilder append(CharSequence s) - StringBuilder append(CharSequence s, int start, int end) - StringBuilder append(double d) | Same - StringBuilder append(float f) | Same - StringBuilder append(int i) | Same - StringBuilder append(long lng) | Same - StringBuilder append(Object obj) - StringBuilder append(String str) | Same - StringBuilder append(StringBuffer sb) - StringBuilder appendCodePoint(int codePoint) - int capacity() - char charAt(int index) - int codePointAt(int index) - int codePointBefore(int index) - int codePointCount(int beginIndex, int endIndex) - StringBuilder delete(int start, int end) - StringBuilder deleteCharAt(int index) - void ensureCapacity(int minimumCapacity) - void getChars(int srcBegin, int srcEnd, char[] dst, int dstBegin) - int indexOf(String str) - int indexOf(String str, int fromIndex) - StringBuilder insert(int offset, boolean b) - StringBuilder insert(int offset, char c) - StringBuilder insert(int offset, char[] str) - StringBuilder insert(int index, char[] str, int offset, int len) - StringBuilder insert(int dstOffset, CharSequence s) - StringBuilder insert(int dstOffset, CharSequence s, int start, int end) - StringBuilder insert(int offset, double d) - StringBuilder insert(int offset, float f) - StringBuilder insert(int offset, int i) - StringBuilder insert(int offset, long l) - StringBuilder insert(int offset, Object obj) - StringBuilder insert(int offset, String str) - int lastIndexOf(String str) - int lastIndexOf(String str, int fromIndex) - int length() - int offsetByCodePoints(int index, int codePointOffset) - StringBuilder replace(int start, int end, String str) - StringBuilder reverse() - void setCharAt(int index, char ch) - void setLength(int newLength) - CharSequence subSequence(int start, int end) - String substring(int start) - String substring(int start, int end) - String toString() | Same - void trimToSize() - - - ==> std.core.System - - static PrintStream err - static InputStream in - static PrintStream out - - static void arraycopy(Object src, int srcPos, Object dest, int destPos, int length) - static String clearProperty(String key) - static Console console() - static long currentTimeMillis() - static void exit(int status) | Same - static void gc() - static Map getenv() - static String getenv(String name) - static Properties getProperties() - static String getProperty(String key) - static String getProperty(String key, String def) - static SecurityManager getSecurityManager() - static int identityHashCode(Object x) - static Channel inheritedChannel() - static String lineSeparator() - static void load(String filename) - static void loadLibrary(String libname) - static String mapLibraryName(String libname) - static long nanoTime() - static void runFinalization() - static void runFinalizersOnExit(boolean value) - static void setErr(PrintStream err) - static void setIn(InputStream in) - static void setOut(PrintStream out) - static void setProperties(Properties props) - static String setProperty(String key, String value) - static void setSecurityManager(SecurityManager s) - - java.lang.Thread - java.lang.ThreadGroup - java.lang.ThreadLocal - java.lang.Throwable - java.lang.Void - // Enums: - java.lang.haracter.UnicodeScript - java.lang.rocessBuilder.Redirect.Type - java.lang.Thread.State - // Exceptions: - java.lang.ArithmeticException ==> std.core.StdExceptions.ArithmeticException - java.lang.ArrayIndexOutOfBoundsException ==> std.core.StdExceptions.ArrayIndexOutOfBoundsException - java.lang.ArrayStoreException - java.lang.ClassCastException - java.lang.ClassNotFoundException - java.lang.CloneNotSupportedException - java.lang.EnumConstantNotPresentException - java.lang.Exception ==> std.core.Exception, std.core.Panic - java.lang.IllegalAccessException - java.lang.IllegalArgumentException - java.lang.IllegalMonitorStateException - java.lang.IllegalStateException - java.lang.IllegalThreadStateException - java.lang.IndexOutOfBoundsException - java.lang.InstantiationException - java.lang.InterruptedException - java.lang.NegativeArraySizeException - java.lang.NoSuchFieldException - java.lang.NoSuchMethodException - java.lang.NullPointerException ==> std.core.StdPanics.NullPointerPanic - java.lang.NumberFormatException - java.lang.ReflectiveOperationException - java.lang.RuntimeException - java.lang.SecurityException - java.lang.StringIndexOutOfBoundsException - java.lang.TypeNotPresentException - java.lang.UnsupportedOperationException - // Errors: - java.lang.AbstractMethodError - java.lang.AssertionError - java.lang.BootstrapMethodError - java.lang.ClassCircularityError - java.lang.ClassFormatError - java.lang.Error - java.lang.ExceptionInInitializerError - java.lang.IllegalAccessError - java.lang.IncompatibleClassChangeError - java.lang.InstantiationError - java.lang.InternalError - java.lang.LinkageError - java.lang.NoClassDefFoundError - java.lang.NoSuchFieldError - java.lang.NoSuchMethodError - java.lang.OutOfMemoryError - java.lang.StackOverflowError - java.lang.ThreadDeath - java.lang.UnknownError - java.lang.UnsatisfiedLinkError - java.lang.UnsupportedClassVersionError - java.lang.VerifyError - java.lang.VirtualMachineError - // Annotation Types: - java.lang.Deprecated - java.lang.FunctionalInterface - java.lang.Override - java.lang.SafeVarargs - java.lang.SuppressWarnings - - - // Interfaces: - java.lang.reflect.AnnotatedArrayType - java.lang.reflect.AnnotatedElement - java.lang.reflect.AnnotatedParameterizedType - java.lang.reflect.AnnotatedType - java.lang.reflect.AnnotatedTypeVariable - java.lang.reflect.AnnotatedWildcardType - java.lang.reflect.GenericArrayType - java.lang.reflect.GenericDeclaration - java.lang.reflect.InvocationHandler - java.lang.reflect.Member - java.lang.reflect.ParameterizedType - java.lang.reflect.Type ==> std.core.Types ??? - java.lang.reflect.TypeVariable - java.lang.reflect.WildcardType - // Classes: - java.lang.reflect.AccessibleObject - java.lang.reflect.Array - java.lang.reflect.Constructor - java.lang.reflect.Executable - java.lang.reflect.Field - java.lang.reflect.Method - java.lang.reflect.Modifier - java.lang.reflect.Parameter - java.lang.reflect.Proxy - java.lang.reflect.ReflectPermission - // Exceptions: - java.lang.reflect.InvocationTargetException - java.lang.reflect.MalformedParameterizedTypeException - java.lang.reflect.MalformedParametersException - java.lang.reflect.UndeclaredThrowableException - // Errors: - java.lang.reflect.GenericSignatureFormatError - - - // Classes: - java.nio.Buffer - java.nio.ByteBuffer - java.nio.ByteOrder - java.nio.CharBuffer - java.nio.DoubleBuffer - java.nio.FloatBuffer - java.nio.IntBuffer - java.nio.LongBuffer - java.nio.MappedByteBuffer - java.nio.ShortBuffer - // Exceptions: - java.nio.ufferOverflowException - java.nio.ufferUnderflowException - java.nio.nvalidMarkException - java.nio.ReadOnlyBufferException - - - // Interfaces: - java.text.AttributedCharacterIterator - java.text.CharacterIterator - // Classes: - java.text.Annotation - java.text.AttributedCharacterIterator.Attribute - java.text.AttributedString - java.text.Bidi - java.text.BreakIterator - java.text.ChoiceFormat - java.text.CollationElementIterator - java.text.CollationKey - java.text.Collator - java.text.DateFormat - java.text.DateFormat.Field - java.text.DateFormatSymbols - java.text.DecimalFormat - java.text.DecimalFormatSymbols - java.text.FieldPosition - java.text.Format - java.text.Format.Field - java.text.MessageFormat - java.text.MessageFormat.Field - java.text.Normalizer - java.text.NumberFormat - java.text.NumberFormat.Field - java.text.ParsePosition - java.text.RuleBasedCollator - java.text.SimpleDateFormat - java.text.StringCharacterIterator - // Enums: - java.text.Normalizer.Form - // Exceptions: - java.text.ParseException - - - // Interfaces: - java.util.Collection - java.util.Comparator - java.util.Deque - java.util.Enumeration - java.util.EventListener - java.util.Formattable - java.util.Iterator - java.util.List - java.util.ListIterator - - ==> std.containers.Map - // In std.containers.Map is a class and in java.util.Map is a generic interface. So at the moement - // there is no equivalent mapping. - - void clear() - default V compute(K key, BiFunction remappingFunction) - default V computeIfAbsent(K key, Function mappingFunction) - default V computeIfPresent(K key, BiFunction remappingFunction) - boolean containsKey(Object key) - boolean containsValue(Object value) - Set entrySet() - boolean equals(Object o) - default void forEach(BiConsumer action) - V get(Object key) - default V getOrDefault(Object key, V defaultValue) - int hashCode() - boolean isEmpty() - Set keySet() - default V merge(K key, V value, BiFunction remappingFunction) - V put(K key, V value) - void putAll(Map m) - default V putIfAbsent(K key, V value) - V remove(Object key) - default boolean remove(Object key, Object value) - default V replace(K key, V value) - default boolean replace(K key, V oldValue, V newValue) - default void replaceAll(BiFunction function) - int size() - Collection values() - - java.util.Map.Entry - java.util.NavigableMap - java.util.NavigableSet - java.util.Observer - java.util.PrimitiveIterator - java.util.PrimitiveIterator.OfDouble - java.util.PrimitiveIterator.OfInt - java.util.PrimitiveIterator.OfLong - java.util.Queue - java.util.RandomAccess - - ==> std.containers.Set - // In std.containers.Set is a class and in java.util.Set is a generic interface. So at the moement - // there is no equivalent mapping. - - boolean add(E e) - boolean addAll(Collection c) - void clear() - boolean contains(Object o) - boolean containsAll(Collection c) - boolean equals(Object o) - int hashCode() - boolean isEmpty() - Iterator iterator() - boolean remove(Object o) - boolean removeAll(Collection c) - boolean retainAll(Collection c) - int size() - default Spliterator spliterator() - Object[] toArray() - T[] toArray(T[] a) - - java.util.SortedMap - java.util.SortedSet - java.util.Spliterator - java.util.Spliterator.OfDouble - java.util.Spliterator.OfInt - java.util.Spliterator.OfLong - java.util.Spliterator.OfPrimitive - // Classes: - java.util.AbstractCollection - java.util.AbstractList - java.util.AbstractMap - java.util.AbstractMap.SimpleEntry - java.util.AbstractMap.SimpleImmutableEntry - java.util.AbstractQueue - java.util.AbstractSequentialList - java.util.AbstractSet - java.util.ArrayDeque - java.util.ArrayList - - ==> std.core.Array - - static List asList(T... a) - static int binarySearch(byte[] a, byte key) - static int binarySearch(byte[] a, int fromIndex, int toIndex, byte key) - static int binarySearch(char[] a, char key) - static int binarySearch(char[] a, int fromIndex, int toIndex, char key) - static int binarySearch(double[] a, double key) - static int binarySearch(double[] a, int fromIndex, int toIndex, double key) - static int binarySearch(float[] a, float key) - static int binarySearch(float[] a, int fromIndex, int toIndex, float key) - static int binarySearch(int[] a, int key) | static int binarySearch(int[] a, int key) - static int binarySearch(int[] a, int fromIndex, int toIndex, int key) | function indexOf(arr: int[], key: int, startIndex: int, endIndex: int): int - static int binarySearch(long[] a, int fromIndex, int toIndex, long key) - static int binarySearch(long[] a, long key) - static int binarySearch(Object[] a, int fromIndex, int toIndex, Object key) - static int binarySearch(Object[] a, Object key) - static int binarySearch(short[] a, int fromIndex, int toIndex, short key) - static int binarySearch(short[] a, short key) - static int binarySearch(T[] a, int fromIndex, int toIndex, T key, Comparator c) - static int binarySearch(T[] a, T key, Comparator c) - static boolean[] copyOf(boolean[] original, int newLength) - static byte[] copyOf(byte[] original, int newLength) - static char[] copyOf(char[] original, int newLength) - static double[] copyOf(double[] original, int newLength) - static float[] copyOf(float[] original, int newLength) - static int[] copyOf(int[] original, int newLength) - static long[] copyOf(long[] original, int newLength) - static short[] copyOf(short[] original, int newLength) - static T[] copyOf(T[] original, int newLength) - static T[] copyOf(U[] original, int newLength, Class newType) - static boolean[] copyOfRange(boolean[] original, int from, int to) - static byte[] copyOfRange(byte[] original, int from, int to) - static char[] copyOfRange(char[] original, int from, int to) - static double[] copyOfRange(double[] original, int from, int to) - static float[] copyOfRange(float[] original, int from, int to) - static int[] copyOfRange(int[] original, int from, int to) | function copyOf(arr: int[], startIndex: int, endIndex: int): int[] - static long[] copyOfRange(long[] original, int from, int to) - static short[] copyOfRange(short[] original, int from, int to) - static T[] copyOfRange(T[] original, int from, int to) - static T[] copyOfRange(U[] original, int from, int to, Class newType) - static boolean deepEquals(Object[] a1, Object[] a2) - static int deepHashCode(Object[] a) - static String deepToString(Object[] a) - static boolean equals(boolean[] a, boolean[] a2) - static boolean equals(byte[] a, byte[] a2) - static boolean equals(char[] a, char[] a2) - static boolean equals(double[] a, double[] a2) - static boolean equals(float[] a, float[] a2) - static boolean equals(int[] a, int[] a2) - static boolean equals(long[] a, long[] a2) - static boolean equals(Object[] a, Object[] a2) - static boolean equals(short[] a, short[] a2) - static void fill(boolean[] a, boolean val) - static void fill(boolean[] a, int fromIndex, int toIndex, boolean val) - static void fill(byte[] a, byte val) - static void fill(byte[] a, int fromIndex, int toIndex, byte val) - static void fill(char[] a, char val) - static void fill(char[] a, int fromIndex, int toIndex, char val) - static void fill(double[] a, double val) - static void fill(double[] a, int fromIndex, int toIndex, double val) - static void fill(float[] a, float val) - static void fill(float[] a, int fromIndex, int toIndex, float val) | function fill(arr: int[], value: int, startIndex: int, endIndex: int): void - static void fill(int[] a, int val) | Same - static void fill(int[] a, int fromIndex, int toIndex, int val) - static void fill(long[] a, int fromIndex, int toIndex, long val) - static void fill(long[] a, long val) - static void fill(Object[] a, int fromIndex, int toIndex, Object val) - static void fill(Object[] a, Object val) - static void fill(short[] a, int fromIndex, int toIndex, short val) - static void fill(short[] a, short val) - static int hashCode(boolean[] a) - static int hashCode(byte[] a) - static int hashCode(char[] a) - static int hashCode(double[] a) - static int hashCode(float[] a) - static int hashCode(int[] a) - static int hashCode(long[] a) - static int hashCode(Object[] a) - static int hashCode(short[] a) - static void parallelPrefix(double[] array, DoubleBinaryOperator op) - static void parallelPrefix(double[] array, int fromIndex, int toIndex, DoubleBinaryOperator op) - static void parallelPrefix(int[] array, IntBinaryOperator op) - static void parallelPrefix(int[] array, int fromIndex, int toIndex, IntBinaryOperator op) - static void parallelPrefix(long[] array, int fromIndex, int toIndex, LongBinaryOperator op) - static void parallelPrefix(long[] array, LongBinaryOperator op) - static void parallelPrefix(T[] array, BinaryOperator op) - static void parallelPrefix(T[] array, int fromIndex, int toIndex, BinaryOperator op) - static void parallelSetAll(double[] array, IntToDoubleFunction generator) - static void parallelSetAll(int[] array, IntUnaryOperator generator) - static void parallelSetAll(long[] array, IntToLongFunction generator) - static void parallelSetAll(T[] array, IntFunction generator) - static void parallelSort(byte[] a) - static void parallelSort(byte[] a, int fromIndex, int toIndex) - static void parallelSort(char[] a) - static void parallelSort(char[] a, int fromIndex, int toIndex) - static void parallelSort(double[] a) - static void parallelSort(double[] a, int fromIndex, int toIndex) - static void parallelSort(float[] a) - static void parallelSort(float[] a, int fromIndex, int toIndex) - static void parallelSort(int[] a) - static void parallelSort(int[] a, int fromIndex, int toIndex) - static void parallelSort(long[] a) - static void parallelSort(long[] a, int fromIndex, int toIndex) - static void parallelSort(short[] a) - static void parallelSort(short[] a, int fromIndex, int toIndex) - static void parallelSort(T[] a) - static void parallelSort(T[] a, Comparator cmp) - static void parallelSort(T[] a, int fromIndex, int toIndex) - static void parallelSort(T[] a, int fromIndex, int toIndex, Comparator cmp) - static void setAll(double[] array, IntToDoubleFunction generator) - static void setAll(int[] array, IntUnaryOperator generator) - static void setAll(long[] array, IntToLongFunction generator) - static void setAll(T[] array, IntFunction generator) - static void sort(byte[] a) - static void sort(byte[] a, int fromIndex, int toIndex) - static void sort(char[] a) - static void sort(char[] a, int fromIndex, int toIndex) - static void sort(double[] a) - static void sort(double[] a, int fromIndex, int toIndex) - static void sort(float[] a) - static void sort(float[] a, int fromIndex, int toIndex) - static void sort(int[] a) | Same - static void sort(int[] a, int fromIndex, int toIndex) | Same - static void sort(long[] a) - static void sort(long[] a, int fromIndex, int toIndex) - static void sort(Object[] a) - static void sort(Object[] a, int fromIndex, int toIndex) - static void sort(short[] a) - static void sort(short[] a, int fromIndex, int toIndex) - static void sort(T[] a, Comparator c) - static void sort(T[] a, int fromIndex, int toIndex, Comparator c) - static Spliterator.OfDouble spliterator(double[] array) - static Spliterator.OfDouble spliterator(double[] array, int startInclusive, int endExclusive) - static Spliterator.OfInt spliterator(int[] array) - static Spliterator.OfInt spliterator(int[] array, int startInclusive, int endExclusive) - static Spliterator.OfLong spliterator(long[] array) - static Spliterator.OfLong spliterator(long[] array, int startInclusive, int endExclusive) - static Spliterator spliterator(T[] array) - static Spliterator spliterator(T[] array, int startInclusive, int endExclusive) - static DoubleStream stream(double[] array) - static DoubleStream stream(double[] array, int startInclusive, int endExclusive) - static IntStream stream(int[] array) - static IntStream stream(int[] array, int startInclusive, int endExclusive) - static LongStream stream(long[] array) - static LongStream stream(long[] array, int startInclusive, int endExclusive) - static Stream stream(T[] array) - static Stream stream(T[] array, int startInclusive, int endExclusive) - static String toString(boolean[] a) - static String toString(byte[] a) - static String toString(char[] a) - static String toString(double[] a) - static String toString(float[] a) - static String toString(int[] a) - static String toString(long[] a) - static String toString(Object[] a) - static String toString(short[] a) - - java.util.Base64 - java.util.Base64.Decoder - java.util.Base64.Encoder - java.util.BitSet - java.util.Calendar - java.util.Calendar.Builder - java.util.Collections - java.util.Currency - - import ==> std.time.Date - There are no implemented methods to do mapping yet. - - java.util.Dictionary - java.util.DoubleSummaryStatistics - java.util.EnumMap - java.util.EnumSet - java.util.EventListenerProxy - java.util.EventObject - java.util.FormattableFlags - java.util.Formatter - java.util.GregorianCalendar - java.util.HashMap - java.util.HashSet - java.util.Hashtable - java.util.IdentityHashMap - java.util.IntSummaryStatistics - java.util.LinkedHashMap - java.util.LinkedHashSet - java.util.LinkedList - java.util.ListResourceBundle - java.util.Locale - java.util.Locale.Builder - java.util.Locale.LanguageRange - java.util.LongSummaryStatistics - java.util.Objects - java.util.Observable - java.util.Optional - java.util.OptionalDouble - java.util.OptionalInt - java.util.OptionalLong - java.util.PriorityQueue - java.util.Properties - java.util.PropertyPermission - java.util.PropertyResourceBundle - java.util.Random - java.util.ResourceBundle - java.util.ResourceBundle.Control - java.util.Scanner - java.util.ServiceLoader - java.util.SimpleTimeZone - java.util.Spliterators - java.util.Spliterators.AbstractDoubleSpliterator - java.util.Spliterators.AbstractIntSpliterator - java.util.Spliterators.AbstractLongSpliterator - java.util.Spliterators.AbstractSpliterator - java.util.SplittableRandom - java.util.Stack - java.util.StringJoiner - java.util.StringTokenizer - java.util.Timer - java.util.TimerTask - java.util.TimeZone - java.util.TreeMap - java.util.TreeSet - java.util.UUID - java.util.Vector - java.util.WeakHashMap - // Enums: - java.util.Formatter.BigDecimalLayoutForm - java.util.Locale.Category - java.util.Locale.FilteringMode - // Exceptions: - java.util.ConcurrentModificationException - java.util.DuplicateFormatFlagsException - java.util.EmptyStackException - java.util.FormatFlagsConversionMismatchException - java.util.FormatterClosedException - java.util.IllegalFormatCodePointException - java.util.IllegalFormatConversionException - java.util.IllegalFormatException - java.util.IllegalFormatFlagsException - java.util.IllegalFormatPrecisionException - java.util.IllegalFormatWidthException - java.util.IllformedLocaleException - java.util.InputMismatchException - java.util.InvalidPropertiesFormatException - java.util.MissingFormatArgumentException - java.util.MissingFormatWidthException - java.util.MissingResourceException - java.util.NoSuchElementException - java.util.TooManyListenersException - java.util.UnknownFormatConversionException - java.util.UnknownFormatFlagsException - // Errors: - java.util.ServiceConfigurationError \ No newline at end of file +| Type | Java | ArkTS | Status | +| ------ | ---------------------------------------------------- | ------------------------------------------ | ------ | +| Class | java.lang.Comparable | std.core.Comparable | Done | +| Member | static Boolean FALSE | | Done | +| Member | static Boolean TRUE | | Done | +| Member | static Class\ TYPE | | | +| Method | Boolean(boolean value) | | Done | +| Method | Boolean(String s) | | | +| Method | boolean booleanValue() | function unboxed(): boolean | | +| Method | static int compare(boolean x, boolean y) | function compareTo(other: Boolean): int | | +| Method | int compareTo(Boolean b) | | Done | +| Method | boolean equals(Object obj) | | Done | +| Method | static boolean getBoolean(String name) | | | +| Method | int hashCode() | | Done | +| Method | static int hashCode(boolean value) | function hashCode(): int | | +| Method | static boolean logicalAnd(boolean a, boolean b) | | | +| Method | static boolean logicalOr(boolean a, boolean b) | | | +| Method | static boolean logicalXor(boolean a, boolean b) | | | +| Method | static boolean parseBoolean(String s) | | | +| Method | String toString() | | Done | +| Method | static String toString(boolean b) | function toString(): String | | +| Method | static Boolean valueOf(boolean b) | | Done | +| Method | static Boolean valueOf(String s) | | | + +### java.lang.Byte +| Type | Java | ArkTS | Status | +| ------ | ----------------------------------------------- | ------------------------------------ | ------ | +| Class | java.lang.Byte | std.core.Byte | Done | +| Member | static int BYTES | BYTE_SIZE | | +| Member | static byte MAX_VALUE | | Done | +| Member | static byte MIN_VALUE | | Done | +| Member | static int SIZE | BIT_SIZE | | +| Member | static Class\ TYPE | | | +| Method | Byte(byte value) | | Done | +| Method | Byte(String s) | | | +| Method | byte byteValue() | | Done | +| Method | static int compare(byte x, byte y) | new Byte(x).compareTo(new Byte(y)) | | +| Method | int compareTo(Byte anotherByte) | | Done | +| Method | static Byte decode(String nm) | | | +| Method | double doubleValue() | | Done | +| Method | boolean equals(Object obj) | | Done | +| Method | float floatValue() | | Done | +| Method | int hashCode() | | Done | +| Method | static int hashCode(byte value) | | | +| Method | int intValue() | | Done | +| Method | long longValue() | | Done | +| Method | static byte parseByte(String s) | | | +| Method | static byte parseByte(String s, int radix) | | | +| Method | short shortValue() | | Done | +| Method | String toString() | | Done | +| Method | static String toString(byte b) | new Byte(b).toString() | | +| Method | static int toUnsignedInt(byte x) | | | +| Method | static long toUnsignedLong(byte x) | | | +| Method | static Byte valueOf(byte b) | | | +| Method | static Byte valueOf(String s) | | | +| Method | static Byte valueOf(String s, int radix) | | | + +### java.lang.Character + +| Type | Java | ArkTS | Status | +| ------ | -------------------------------------------------------------------------------------------------------- | -------------------------------------------- | ------ | +| Class | java.lang.Character | std.core.Character | Done | +| Member | static int BYTES | | | +| Member | static byte COMBINING_SPACING_MARK | | | +| Member | static byte CONNECTOR_PUNCTUATION | | | +| Member | static byte CONTROL | | | +| Member | static byte CURRENCY_SYMBOL | | | +| Member | static byte DASH_PUNCTUATION | | | +| Member | static byte DECIMAL_DIGIT_NUMBER | | | +| Member | static byte DIRECTIONALITY_ARABIC_NUMBER | | | +| Member | static byte DIRECTIONALITY_BOUNDARY_NEUTRAL | | | +| Member | static byte DIRECTIONALITY_COMMON_NUMBER_SEPARATOR | | | +| Member | static byte DIRECTIONALITY_EUROPEAN_NUMBER | | | +| Member | static byte DIRECTIONALITY_EUROPEAN_NUMBER_SEPARATOR | | | +| Member | static byte DIRECTIONALITY_EUROPEAN_NUMBER_TERMINATOR | | | +| Member | static byte DIRECTIONALITY_LEFT_TO_RIGHT | | | +| Member | static byte DIRECTIONALITY_LEFT_TO_RIGHT_EMBEDDING | | | +| Member | static byte DIRECTIONALITY_LEFT_TO_RIGHT_OVERRIDE | | | +| Member | static byte DIRECTIONALITY_NONSPACING_MARK | | | +| Member | static byte DIRECTIONALITY_OTHER_NEUTRALS | | | +| Member | static byte DIRECTIONALITY_PARAGRAPH_SEPARATOR | | | +| Member | static byte DIRECTIONALITY_POP_DIRECTIONAL_FORMAT | | | +| Member | static byte DIRECTIONALITY_RIGHT_TO_LEFT | | | +| Member | static byte DIRECTIONALITY_RIGHT_TO_LEFT_ARABIC | | | +| Member | static byte DIRECTIONALITY_RIGHT_TO_LEFT_EMBEDDING | | | +| Member | static byte DIRECTIONALITY_RIGHT_TO_LEFT_OVERRIDE | | | +| Member | static byte DIRECTIONALITY_SEGMENT_SEPARATOR | | | +| Member | static byte DIRECTIONALITY_UNDEFINED | | | +| Member | static byte DIRECTIONALITY_WHITESPACE | | | +| Member | static byte ENCLOSING_MARK | | | +| Member | static byte END_PUNCTUATION | | | +| Member | static byte FINAL_QUOTE_PUNCTUATION | | | +| Member | static byte FORMAT | | | +| Member | static byte INITIAL_QUOTE_PUNCTUATION | | | +| Member | static byte LETTER_NUMBER | | | +| Member | static byte LINE_SEPARATOR | | | +| Member | static byte LOWERCASE_LETTER | | | +| Member | static byte MATH_SYMBOL | | | +| Member | static int MAX_CODE_POINT | | | +| Member | static char MAX_HIGH_SURROGATE | HIGH_SURROGATE_MAX | | +| Member | static char MAX_LOW_SURROGATE | LOW_SURROGATE_MAX | | +| Member | static int MAX_RADIX | | | +| Member | static char MAX_SURROGATE | | | +| Member | static char MAX_VALUE | | | +| Member | static int MIN_CODE_POINT | | | +| Member | static char MIN_HIGH_SURROGATE | HIGH_SURROGATE_MIN | | +| Member | static char MIN_LOW_SURROGATE | LOW_SURROGATE_MIN | | +| Member | static int MIN_RADIX | | | +| Member | static int MIN_SUPPLEMENTARY_CODE_POINT | | | +| Member | static char MIN_SURROGATE | | | +| Member | static char MIN_VALUE | | | +| Member | static byte MODIFIER_LETTER | | | +| Member | static byte MODIFIER_SYMBOL | | | +| Member | static byte NON_SPACING_MARK | | | +| Member | static byte OTHER_LETTER | | | +| Member | static byte OTHER_NUMBER | | | +| Member | static byte OTHER_PUNCTUATION | | | +| Member | static byte OTHER_SYMBOL | | | +| Member | static byte PARAGRAPH_SEPARATOR | | | +| Member | static byte PRIVATE_USE | | | +| Member | static int SIZE | CHAR_BIT_SIZE | | +| Member | static byte SPACE_SEPARATOR | | | +| Member | static byte START_PUNCTUATION | | | +| Member | static byte SURROGATE | | | +| Member | static byte TITLECASE_LETTER | | | +| Member | static Class\ TYPE | | | +| Member | static byte UNASSIGNED | | | +| Member | static byte UPPERCASE_LETTER | | | +| Method | Character(char value) | | Done | +| Method | static int charCount(int codePoint) | | | +| Method | char charValue() | | | +| Method | static int codePointAt(char[] a, int index) | | | +| Method | static int codePointAt(char[] a, int index, int limit) | | | +| Method | static int codePointAt(CharSequence seq, int index) | | | +| Method | static int codePointBefore(char[] a, int index) | | | +| Method | static int codePointBefore(char[] a, int index, int start) | | | +| Method | static int codePointBefore(CharSequence seq, int index) | | | +| Method | static int codePointCount(char[] a, int offset, int count) | | | +| Method | static int codePointCount(CharSequence seq, int beginIndex, int endIndex) | | | +| Method | static int compare(char x, char y) | new Char(x).compareTo(new Char(y)) | | +| Method | int compareTo(Character anotherCharacter) | | Done | +| Method | static int digit(char ch, int radix) | | | +| Method | static int digit(int codePoint, int radix) | | | +| Method | boolean equals(Object obj) | | Done | +| Method | static char forDigit(int digit, int radix) | | | +| Method | static byte getDirectionality(char ch) | | | +| Method | static byte getDirectionality(int codePoint) | | | +| Method | static String getName(int codePoint) | | | +| Method | static int getNumericValue(char ch) | | | +| Method | static int getNumericValue(int codePoint) | | | +| Method | static int getType(char ch) | | | +| Method | static int getType(int codePoint) | | | +| Method | int hashCode() | | Done | +| Method | static int hashCode(char value) | | Done | +| Method | static char highSurrogate(int codePoint) | static getHighSurrogate(value: int): char | | +| Method | static boolean isAlphabetic(int codePoint) | | | +| Method | static boolean isBmpCodePoint(int codePoint) | | | +| Method | static boolean isDefined(char ch) | | | +| Method | static boolean isDefined(int codePoint) | | | +| Method | static boolean isDigit(char ch) | static isDecDigit(value: char): boolean | | +| Method | static boolean isDigit(int codePoint) | | | +| Method | static boolean isHighSurrogate(char ch) | | Done | +| Method | static boolean isIdentifierIgnorable(char ch) | | | +| Method | static boolean isIdentifierIgnorable(int codePoint) | | | +| Method | static boolean isIdeographic(int codePoint) | | | +| Method | static boolean isISOControl(char ch) | | | +| Method | static boolean isISOControl(int codePoint) | | | +| Method | static boolean isJavaIdentifierPart(char ch) | | | +| Method | static boolean isJavaIdentifierPart(int codePoint) | | | +| Method | static boolean isJavaIdentifierStart(char ch) | | | +| Method | static boolean isJavaIdentifierStart(int codePoint) | | | +| Method | static boolean isJavaLetter(char ch) | | | +| Method | static boolean isJavaLetterOrDigit(char ch) | | | +| Method | static boolean isLetter(char ch) | | | +| Method | static boolean isLetter(int codePoint) | | Done | +| Method | static boolean isLetterOrDigit(char ch) | | | +| Method | static boolean isLetterOrDigit(int codePoint) | | | +| Method | static boolean isLowerCase(char ch) | | Done | +| Method | static boolean isLowerCase(int codePoint) | | | +| Method | static boolean isLowSurrogate(char ch) | | Done | +| Method | static boolean isMirrored(char ch) | | | +| Method | static boolean isMirrored(int codePoint) | | | +| Method | static boolean isSpace(char ch) | | | +| Method | static boolean isSpaceChar(char ch) | | | +| Method | static boolean isSpaceChar(int codePoint) | | | +| Method | static boolean isSupplementaryCodePoint(int codePoint) | | | +| Method | static boolean isSurrogate(char ch) | | | +| Method | static boolean isSurrogatePair(char high, char low) | | | +| Method | static boolean isTitleCase(char ch) | | | +| Method | static boolean isTitleCase(int codePoint) | | | +| Method | static boolean isUnicodeIdentifierPart(char ch) | | | +| Method | static boolean isUnicodeIdentifierPart(int codePoint) | | | +| Method | static boolean isUnicodeIdentifierStart(char ch) | | | +| Method | static boolean isUnicodeIdentifierStart(int codePoint) | | | +| Method | static boolean isUpperCase(char ch) | | Done | +| Method | static boolean isUpperCase(int codePoint) | | | +| Method | static boolean isValidCodePoint(int codePoint) | | | +| Method | static boolean isWhitespace(char ch) | | Done | +| Method | static boolean isWhitespace(int codePoint) | | | +| Method | static char lowSurrogate(int codePoint) | static getLowSurrogate(value: int): char | | +| Method | static int offsetByCodePoints(char[] a, int start, int count, int index, int codePointOffset) | | | +| Method | static int offsetByCodePoints(CharSequence seq, int index, int codePointOffset) | | | +| Method | static char reverseBytes(char ch) | | | +| Method | static char[] toChars(int codePoint) | | | +| Method | static int toChars(int codePoint, char[] dst, int dstIndex) | | | +| Method | static int toCodePoint(char high, char low) | | | +| Method | static char toLowerCase(char ch) | | Done | +| Method | static int toLowerCase(int codePoint) | | | +| Method | String toString() | | | +| Method | static String toString(char c) | | | +| Method | static char toTitleCase(char ch) | | | +| Method | static int toTitleCase(int codePoint) | | | +| Method | static char toUpperCase(char ch) | | Done | +| Method | static int toUpperCase(int codePoint) | | | +| Method | static Character valueOf(char c) | | Done | + +### java.lang.Double + +| Type | Java | ArkTS | Status | +| ------ | --------------------------------------------- | --------------------------------------- | ------ | +| Class | java.lang.Double | std.core.Double | Done | +| Member | static int BYTES | BYTE_SIZE | | +| Member | static int MAX_EXPONENT | | | +| Member | static double MAX_VALUE | | Done | +| Member | static int MIN_EXPONENT | | | +| Member | static double MIN_NORMAL | | | +| Member | static double MIN_VALUE | | Done | +| Member | static double NaN | | Done | +| Member | static double NEGATIVE_INFINITY | | Done | +| Member | static double POSITIVE_INFINITY | | Done | +| Member | static int SIZE | BIT_SIZE | | +| Member | static Class\ TYPE | | | +| Method | Double(double value) | | Done | +| Method | Double(String s) | | | +| Method | byte byteValue() | | Done | +| Method | static int compare(double d1, double d2) | new Double(d1).compareTo(new Double(d2) | | +| Method | int compareTo(Double anotherDouble) | | Done | +| Method | static long doubleToLongBits(double value) | | | +| Method | static long doubleToRawLongBits(double value) | | | +| Method | double doubleValue() | | Done | +| Method | boolean equals(Object obj) | | Done | +| Method | float floatValue() | | Done | +| Method | int hashCode() | | Done | +| Method | static int hashCode(double value) | | | +| Method | int intValue() | | Done | +| Method | static boolean isFinite(double d) | | | +| Method | boolean isInfinite() | | | +| Method | static boolean isInfinite(double v) | | | +| Method | boolean isNaN() | | | +| Method | static boolean isNaN(double v) | | | +| Method | static double longBitsToDouble(long bits) | | | +| Method | long longValue() | | Done | +| Method | static double max(double a, double b) | | | +| Method | static double min(double a, double b) | | | +| Method | static double parseDouble(String s) | | | +| Method | short shortValue() | | Done | +| Method | static double sum(double a, double b) | | | +| Method | static String toHexString(double d) | | | +| Method | String toString() | | Done | +| Method | static String toString(double d) | | | +| Method | static Double valueOf(double d) | | Done | +| Method | static Double valueOf(String s) | | | + +### java.lang.Float + +| Type | Java | ArkTS | Status | +| ------ | ----------------------------------------- | -------------------------------------- | ------ | +| Class | java.lang.Float | std.core.Float | Done | +| Member | static int BYTES | BYTE_SIZE | | +| Member | static int MAX_EXPONENT | | | +| Member | static float MAX_VALUE | | Done | +| Member | static int MIN_EXPONENT | | | +| Member | static float MIN_NORMAL | | | +| Member | static float MIN_VALUE | | Done | +| Member | static float NaN | | Done | +| Member | static float NEGATIVE_INFINITY | | Done | +| Member | static float POSITIVE_INFINITY | | Done | +| Member | static int SIZE | BIT_SIZE | | +| Member | static Class\ TYPE | | | +| Method | Float(double value) | | | +| Method | Float(float value) | | Done | +| Method | Float(String s) | | | +| Method | byte byteValue() | | Done | +| Method | static int compare(float f1, float f2) | new Float(f1).compareTo(new Float(f2)) | | +| Method | int compareTo(Float anotherFloat) | | Done | +| Method | double doubleValue() | | Done | +| Method | boolean equals(Object obj) | | Done | +| Method | static int floatToIntBits(float value) | | | +| Method | static int floatToRawIntBits(float value) | | | +| Method | float floatValue() | | Done | +| Method | int hashCode() | | Done | +| Method | static int hashCode(float value) | new Float(value).hashCode(); | | +| Method | static float intBitsToFloat(int bits) | | | +| Method | int intValue() | | Done | +| Method | static boolean isFinite(float f) | | | +| Method | boolean isInfinite() | | | +| Method | static boolean isInfinite(float v) | | | +| Method | boolean isNaN() | | | +| Method | static boolean isNaN(float v) | | | +| Method | long longValue() | | Done | +| Method | static float max(float a, float b) | | | +| Method | static float min(float a, float b) | | | +| Method | static float parseFloat(String s) | | | +| Method | short shortValue() | | Done | +| Method | static float sum(float a, float b) | | | +| Method | static String toHexString(float f) | | | +| Method | String toString() | | Done | +| Method | static String toString(float f) | new Float(f).toString() | | +| Method | static Float valueOf(float f) | | Done | +| Method | static Float valueOf(String s) | | | + +### java.lang.Integer + +| Type | Java | ArkTS | Status | +| ------ | ------------------------------------------------------- | -------------------------------- | ------ | +| Class | java.lang.Integer | std.core.Integer | Done | +| Member | static int BYTES | BYTE_SIZE | | +| Member | static int MAX_VALUE | | Done | +| Member | static int MIN_VALUE | | Done | +| Member | static int SIZE | BIT_SIZE | | +| Member | static Class\ TYPE | | | +| Method | Integer(int value) | | Done | +| Method | Integer(String s) | | | +| Method | static int bitCount(int i) | | | +| Method | byte byteValue() | | Done | +| Method | static int compare(int x, int y) | new Int(x).compareTo(new Int(y)) | | +| Method | int compareTo(Integer anotherInteger) | | Done | +| Method | static int compareUnsigned(int x, int y) | | | +| Method | static Integer decode(String nm) | | | +| Method | static int divideUnsigned(int dividend, int divisor) | | | +| Method | double doubleValue() | | Done | +| Method | boolean equals(Object obj) | | Done | +| Method | float floatValue() | | Done | +| Method | static Integer getInteger(String nm) | | | +| Method | static Integer getInteger(String nm, int val) | | | +| Method | static Integer getInteger(String nm, Integer val) | | | +| Method | int hashCode() | | Done | +| Method | static int hashCode(int value) | new Int(value).hasCode() | | +| Method | static int highestOneBit(int i) | | | +| Method | int intValue() | | Done | +| Method | long longValue() | | Done | +| Method | static int lowestOneBit(int i) | | | +| Method | static int max(int a, int b) | | | +| Method | static int min(int a, int b) | | | +| Method | static int numberOfLeadingZeros(int i) | | | +| Method | static int numberOfTrailingZeros(int i) | | | +| Method | static int parseInt(String s) | | | +| Method | static int parseInt(String s, int radix) | | | +| Method | static int parseUnsignedInt(String s) | | | +| Method | static int parseUnsignedInt(String s, int radix) | | | +| Method | static int remainderUnsigned(int dividend, int divisor) | | | +| Method | static int reverse(int i) | | | +| Method | static int reverseBytes(int i) | | | +| Method | static int rotateLeft(int i, int distance) | | | +| Method | static int rotateRight(int i, int distance) | | | +| Method | short shortValue() | | Done | +| Method | static int signum(int i) | | | +| Method | static int sum(int a, int b) | | | +| Method | static String toBinaryString(int i) | | | +| Method | static String toHexString(int i) | | | +| Method | static String toOctalString(int i) | | | +| Method | String toString() | | Done | +| Method | static String toString(int i) | new Int(i).toString() | | +| Method | static String toString(int i, int radix) | | | +| Method | static long toUnsignedLong(int x) | | | +| Method | static String toUnsignedString(int i) | | | +| Method | static String toUnsignedString(int i, int radix) | | | +| Method | static Integer valueOf(int i) | | Done | +| Method | static Integer valueOf(String s) | | | +| Method | static Integer valueOf(String s, int radix) | | | + +### java.lang.Long + +| Type | Java | ArkTS | Status | +| ------ | ---------------------------------------------------------- | ---------------------------------- | ------ | +| Class | java.lang.Long | std.core.Long | Done | +| Member | static int BYTES | BYTE_SIZE | | +| Member | static long MAX_VALUE | | Done | +| Member | static long MIN_VALUE | | Done | +| Member | static int SIZE | BIT_SIZE | | +| Member | static Class\ TYPE | | | +| Method | Long(long value) | | Done | +| Method | Long(String s) | | | +| Method | static int bitCount(long i) | | | +| Method | byte byteValue() | | Done | +| Method | static int compare(long x, long y) | new Long(x).compareTo(new Long(y)) | | +| Method | int compareTo(Long anotherLong) | | Done | +| Method | static int compareUnsigned(long x, long y) | | | +| Method | static Long decode(String nm) | | | +| Method | static long divideUnsigned(long dividend, long divisor) | | | +| Method | double doubleValue() | | Done | +| Method | boolean equals(Object obj) | | Done | +| Method | float floatValue() | | Done | +| Method | static Long getLong(String nm) | | | +| Method | static Long getLong(String nm, long val) | | | +| Method | static Long getLong(String nm, Long val) | | | +| Method | int hashCode() | | Done | +| Method | static int hashCode(long value) | new Long(value).hashCode() | | +| Method | static long highestOneBit(long i) | | | +| Method | int intValue() | | Done | +| Method | long longValue() | | Done | +| Method | static long lowestOneBit(long i) | | | +| Method | static long max(long a, long b) | | | +| Method | static long min(long a, long b) | | | +| Method | static int numberOfLeadingZeros(long i) | | | +| Method | static int numberOfTrailingZeros(long i) | | | +| Method | static long parseLong(String s) | | | +| Method | static long parseLong(String s, int radix) | | | +| Method | static long parseUnsignedLong(String s) | | | +| Method | static long parseUnsignedLong(String s, int radix) | | | +| Method | static long remainderUnsigned(long dividend, long divisor) | | | +| Method | static long reverse(long i) | | | +| Method | static long reverseBytes(long i) | | | +| Method | static long rotateLeft(long i, int distance) | | | +| Method | static long rotateRight(long i, int distance) | | | +| Method | short shortValue() | | Done | +| Method | static int signum(long i) | | | +| Method | static long sum(long a, long b) | | | +| Method | static String toBinaryString(long i) | | | +| Method | static String toHexString(long i) | | | +| Method | static String toOctalString(long i) | | | +| Method | String toString() | | Done | +| Method | static String toString(long i) | new Long(i).toString() | | +| Method | static String toString(long i, int radix) | | | +| Method | static String toUnsignedString(long i) | | | +| Method | static String toUnsignedString(long i, int radix) | | | +| Method | static Long valueOf(long l) | | Done | +| Method | static Long valueOf(String s) | | | +| Method | static Long valueOf(String s, int radix) | | | + +### java.lang.Math + +| Type | Java | ArkTS | Status | +| ------ | ------------------------------------------------------- | -------------------------------------------- | ------ | +| Class | java.lang.Math | std.math.math | Done | +| Member | static double E | | | +| Member | static double PI | std.math.math.PI; | | +| Method | static double abs(double a) | | Done | +| Method | static float abs(float a) | | | +| Method | static int abs(int a) | | | +| Method | static long abs(long a) | | | +| Method | static double acos(double a) | | Done | +| Method | static int addExact(int x, int y) | | | +| Method | static long addExact(long x, long y) | | | +| Method | static double asin(double a) | | Done | +| Method | static double atan(double a) | | Done | +| Method | static double atan2(double y, double x) | | Done | +| Method | static double cbrt(double a) | function cuberoot(v: double): double | | +| Method | static double ceil(double a) | | Done | +| Method | static double copySign(double magnitude, double sign) | | Done | +| Method | static float copySign(float magnitude, float sign) | | Done | +| Method | static double cos(double a) | | Done | +| Method | static double cosh(double x) | | Done | +| Method | static int decrementExact(int a) | | | +| Method | static long decrementExact(long a) | | | +| Method | static double exp(double a) | | Done | +| Method | static double expm1(double x) | | Done | +| Method | static double floor(double a) | | Done | +| Method | static int floorDiv(int x, int y) | | | +| Method | static long floorDiv(long x, long y) | | | +| Method | static int floorMod(int x, int y) | | | +| Method | static long floorMod(long x, long y) | | | +| Method | static int getExponent(double d) | | | +| Method | static int getExponent(float f) | | | +| Method | static double hypot(double x, double y) | | Done | +| Method | static double IEEEremainder(double f1, double f2) | | | +| Method | static int incrementExact(int a) | | | +| Method | static long incrementExact(long a) | | | +| Method | static double log(double a) | | Done | +| Method | static double log10(double a) | | Done | +| Method | static double log1p(double x) | | Done | +| Method | static double max(double a, double b) | | Done | +| Method | static float max(float a, float b) | | | +| Method | static int max(int a, int b) | | Done | +| Method | static long max(long a, long b) | | | +| Method | static double min(double a, double b) | | | +| Method | static float min(float a, float b) | | | +| Method | static int min(int a, int b) | | | +| Method | static long min(long a, long b) | | | +| Method | static int multiplyExact(int x, int y) | | | +| Method | static long multiplyExact(long x, long y) | | | +| Method | static int negateExact(int a) | | | +| Method | static long negateExact(long a) | | | +| Method | static double nextAfter(double start, double direction) | | | +| Method | static float nextAfter(float start, double direction) | | | +| Method | static double nextDown(double d) | | | +| Method | static float nextDown(float f) | | | +| Method | static double nextUp(double d) | | | +| Method | static float nextUp(float f) | | | +| Method | static double pow(double a, double b) | function power(v: double, u: double): double | | +| Method | static double random() | | | +| Method | static double rint(double a) | | | +| Method | static long round(double a) | | Done | +| Method | static int round(float a) | | | +| Method | static double scalb(double d, int scaleFactor) | | | +| Method | static float scalb(float f, int scaleFactor) | function scalbn(v: double, n: int): double | | +| Method | static double signum(double d) | function sign(v: double): double | | +| Method | static float signum(float f) | | | +| Method | static double sin(double a) | | Done | +| Method | static double sinh(double x) | | Done | +| Method | static double sqrt(double a) | | Done | +| Method | static int subtractExact(int x, int y) | | | +| Method | static long subtractExact(long x, long y) | | | +| Method | static double tan(double a) | | Done | +| Method | static double tanh(double x) | | Done | +| Method | static double toDegrees(double angrad) | | | +| Method | static int toIntExact(long value) | | | +| Method | static double toRadians(double angdeg) | | | +| Method | static double ulp(double d) | | | +| Method | static float ulp(float f) | | | + + +### java.lang.Number + +| Type | Java | ArkTS | Status | +| ------ | ----------------------------- | ----------------- | ------ | +| Class | java.lang.Number | std.core.Integral | Done | +| Method | byte byteValue() | | Done | +| Method | abstract double doubleValue() | | Done | +| Method | abstract float floatValue() | | Done | +| Method | abstract int intValue() | | Done | +| Method | abstract long longValue() | | Done | +| Method | short shortValue() | | Done | + +### java.lang.Object + +| Type | Java | ArkTS | Status | +| ------ | ---------------------------------- | --------------- | ------ | +| Class | java.lang.Object | std.core.Object | Done | +| Method | Object() | | | +| Method | protected Object clone() | | | +| Method | boolean equals(Object obj) | | Done | +| Method | protected void finalize() | | | +| Method | Class\ getClass() | | | +| Method | int hashCode() | | Done | +| Method | void notify() | | | +| Method | void notifyAll() | | | +| Method | String toString() | | Done | +| Method | void wait() | | | +| Method | void wait(long timeout) | | | +| Method | void wait(long timeout, int nanos) | | | + +### java.lang.Runtime + +| Type | Java | ArkTS | Status | +| ------ | -------------------------------------------------------- | ---------------- | ------ | +| Class | java.lang.Runtime | std.core.Runtime | Done | +| Method | void addShutdownHook(Thread hook) | | | +| Method | int availableProcessors() | | | +| Method | Process exec(String command) | | | +| Method | Process exec(String[] cmdarray) | | | +| Method | Process exec(String[] cmdarray, String[] envp) | | | +| Method | Process exec(String[] cmdarray, String[] envp, File dir) | | | +| Method | Process exec(String command, String[] envp) | | | +| Method | Process exec(String command, String[] envp, File dir) | | | +| Method | void exit(int status) | | | +| Method | long freeMemory() | | | +| Method | void gc() | | | +| Method | InputStream getLocalizedInputStream(InputStream in) | | | +| Method | OutputStream getLocalizedOutputStream(OutputStream out) | | | +| Method | static Runtime getRuntime() | | | +| Method | void halt(int status) | | | +| Method | void load(String filename) | | | +| Method | void loadLibrary(String libname) | | Done | +| Method | long maxMemory() | | | +| Method | boolean removeShutdownHook(Thread hook) | | | +| Method | void runFinalization() | | | +| Method | static void runFinalizersOnExit(boolean value) | | | +| Method | long totalMemory() | | | +| Method | void traceInstructions(boolean on) | | | +| Method | void traceMethodCalls(boolean on) | | | + +### java.lang.Short + +| Type | Java | ArkTS | Status | +| ------ | -------------------------------------------- | ------------------------------------ | ------ | +| Class | java.lang.Short | std.core.Short | Done | +| Member | static int BYTES | BYTE_SIZE | | +| Member | static short MAX_VALUE | | Done | +| Member | static short MIN_VALUE | | Done | +| Member | static int SIZE | BIT_SIZE | | +| Member | static Class\ TYPE | | | +| Method | Short(short value) | | Done | +| Method | Short(String s) | | | +| Method | byte byteValue() | | Done | +| Method | static int compare(short x, short y) | new Short(x).compareTo(new Short(y)) | | +| Method | int compareTo(Short anotherShort) | | Done | +| Method | static Short decode(String nm) | | | +| Method | double doubleValue() | | Done | +| Method | boolean equals(Object obj) | | Done | +| Method | float floatValue() | | Done | +| Method | int hashCode() | | Done | +| Method | static int hashCode(short s) | new Short(s).hashCode() | | +| Method | int intValue() | | Done | +| Method | long longValue() | | Done | +| Method | static short parseShort(String s) | | | +| Method | static short parseShort(String s, int radix) | | | +| Method | static short reverseBytes(short i) | | | +| Method | short shortValue() | | Done | +| Method | String toString() | | Done | +| Method | static String toString(short s) | new Short(s).toString() | | +| Method | static int toUnsignedInt(short x) | | | +| Method | static long toUnsignedLong(short x) | | | +| Method | static Short valueOf(short s) | | Done | +| Method | static Short valueOf(String s) | | | +| Method | static Short valueOf(String s, int radix) | | | + +### java.lang.String + +| Type | Java | ArkTS | Status | +| ------ | ------------------------------------------------------------------------------------------ | --------------------------------------------------------------------------------- | ------ | +| Class | java.lang.String | std.core.String | Done | +| Member | static Comparator\ CASE_INSENSITIVE_ORDER | | | +| Method | String() | | Done | +| Method | String(byte[] bytes) | | | +| Method | String(byte[] bytes, Charset charset) | | | +| Method | String(byte[] ascii, int hibyte) | | | +| Method | String(byte[] bytes, int offset, int length) | | | +| Method | String(byte[] bytes, int offset, int length, Charset charset) | | | +| Method | String(byte[] ascii, int hibyte, int offset, int count) | | | +| Method | String(byte[] bytes, int offset, int length, String charsetName) | | | +| Method | String(byte[] bytes, String charsetName) | | | +| Method | String(char[] value) | | Done | +| Method | String(char[] value, int offset, int count) | | | +| Method | String(int[] codePoints, int offset, int count) | | | +| Method | String(String original) | | | +| Method | String(StringBuffer buffer) | | | +| Method | String(StringBuilder builder) | | | +| Method | char charAt(int index) | | Done | +| Method | int codePointAt(int index) | | Done | +| Method | int codePointBefore(int index) | | | +| Method | int codePointCount(int beginIndex, int endIndex) | | Done | +| Method | int compareTo(String anotherString) | | Done | +| Method | int compareToIgnoreCase(String str) | | | +| Method | String concat(String str) | | Done | +| Method | boolean contains(CharSequence s) | contains(str: String, fromIndex: int): boolean | | +| Method | boolean contentEquals(CharSequence cs) | | | +| Method | boolean contentEquals(StringBuffer sb) | ????: contentEquals(sb: StringBuilder): boolean ??? StringBuffer != StringBuilder | | +| Method | static String copyValueOf(char[] data) | | | +| Method | static String copyValueOf(char[] data, int offset, int count) | | | +| Method | boolean endsWith(String suffix) | | Done | +| Method | boolean equals(Object anObject) | | Done | +| Method | boolean equalsIgnoreCase(String anotherString) | | | +| Method | static String format(Locale l, String format, Object... args) | | | +| Method | static String format(String format, Object... args) | | | +| Method | byte[] getBytes() | | | +| Method | byte[] getBytes(Charset charset) | | | +| Method | void getBytes(int srcBegin, int srcEnd, byte[] dst, int dstBegin) | | | +| Method | byte[] getBytes(String charsetName) | | | +| Method | void getChars(int srcBegin, int srcEnd, char[] dst, int dstBegin) | | | +| Method | int hashCode() | | Done | +| Method | int indexOf(int ch) | | Done | +| Method | int indexOf(int ch, int fromIndex) | | Done | +| Method | int indexOf(String str) | | Done | +| Method | int indexOf(String str, int fromIndex) | | Done | +| Method | String intern() | | | +| Method | boolean isEmpty() | | | +| Method | static String join(CharSequence delimiter, CharSequence... elements) | join(strings: String[], delim: String): String | | +| Method | static String join(CharSequence delimiter, Iterable\ elements) | join(strings: String[], delim: String): String | | +| Method | int lastIndexOf(int ch) | | Done | +| Method | int lastIndexOf(int ch, int fromIndex) | | Done | +| Method | int lastIndexOf(String str) | | Done | +| Method | int lastIndexOf(String str, int fromIndex) | | Done | +| Method | int length() | | Done | +| Method | boolean matches(String regex) | | | +| Method | int offsetByCodePoints(int index, int codePointOffset) | | | +| Method | boolean regionMatches(boolean ignoreCase, int toffset, String other, int ooffset, int len) | | | +| Method | boolean regionMatches(int toffset, String other, int ooffset, int len) | | | +| Method | String replace(char oldChar, char newChar) | | Done | +| Method | String replace(CharSequence target, CharSequence replacement) | | | +| Method | String replaceAll(String regex, String replacement) | | | +| Method | String replaceFirst(String regex, String replacement) | | | +| Method | String[] split(String regex) | | | +| Method | String[] split(String regex, int limit) | | | +| Method | boolean startsWith(String prefix) | | Done | +| Method | boolean startsWith(String prefix, int toffset) | | Done | +| Method | CharSequence subSequence(int beginIndex, int endIndex) | | | +| Method | String substring(int beginIndex) | | Done | +| Method | String substring(int beginIndex, int endIndex) | | Done | +| Method | char[] toCharArray() | | | +| Method | String toLowerCase() | | Done | +| Method | String toLowerCase(Locale locale) | | | +| Method | String toString() | | | +| Method | String toUpperCase() | | Done | +| Method | String toUpperCase(Locale locale) | | | +| Method | String trim() | | Done | +| Method | static String valueOf(boolean b) | | | +| Method | static String valueOf(char c) | static StringBuilder.toString(c: char): String | | +| Method | static String valueOf(char[] data) | | | +| Method | static String valueOf(char[] data, int offset, int count) | | | +| Method | static String valueOf(double d) | static StringBuilder.toString(d: double): String | | +| Method | static String valueOf(float f) | static StringBuilder.toString(f: float): String | | +| Method | static String valueOf(int i) | static StringBuilder.toString(i: int): String | | +| Method | static String valueOf(long l) | static StringBuilder.toString(l: long): String | | + +### java.lang.StringBuilder + +| Type | Java | ArkTS | Status | +| ------ | ----------------------------------------------------------------------- | ---------------------- | ------ | +| Class | java.lang.StringBuilder | std.core.StringBuilder | Done | +| Method | StringBuilder() | | Done | +| Method | StringBuilder(CharSequence seq) | | | +| Method | StringBuilder(int capacity) | | | +| Method | StringBuilder(String str) | | Done | +| Method | StringBuilder append(boolean b) | | | +| Method | StringBuilder append(char c) | | Done | +| Method | StringBuilder append(char[] str) | | | +| Method | StringBuilder append(char[] str, int offset, int len) | | | +| Method | StringBuilder append(CharSequence s) | | | +| Method | StringBuilder append(CharSequence s, int start, int end) | | | +| Method | StringBuilder append(double d) | | Done | +| Method | StringBuilder append(float f) | | Done | +| Method | StringBuilder append(int i) | | Done | +| Method | StringBuilder append(long lng) | | Done | +| Method | StringBuilder append(Object obj) | | | +| Method | StringBuilder append(String str) | | Done | +| Method | StringBuilder append(StringBuffer sb) | | | +| Method | StringBuilder appendCodePoint(int codePoint) | | | +| Method | int capacity() | | | +| Method | char charAt(int index) | | | +| Method | int codePointAt(int index) | | | +| Method | int codePointBefore(int index) | | | +| Method | int codePointCount(int beginIndex, int endIndex) | | | +| Method | StringBuilder delete(int start, int end) | | | +| Method | StringBuilder deleteCharAt(int index) | | | +| Method | void ensureCapacity(int minimumCapacity) | | | +| Method | void getChars(int srcBegin, int srcEnd, char[] dst, int dstBegin) | | | +| Method | int indexOf(String str) | | | +| Method | int indexOf(String str, int fromIndex) | | | +| Method | StringBuilder insert(int offset, boolean b) | | | +| Method | StringBuilder insert(int offset, char c) | | | +| Method | StringBuilder insert(int offset, char[] str) | | | +| Method | StringBuilder insert(int index, char[] str, int offset, int len) | | | +| Method | StringBuilder insert(int dstOffset, CharSequence s) | | | +| Method | StringBuilder insert(int dstOffset, CharSequence s, int start, int end) | | | +| Method | StringBuilder insert(int offset, double d) | | | +| Method | StringBuilder insert(int offset, float f) | | | +| Method | StringBuilder insert(int offset, int i) | | | +| Method | StringBuilder insert(int offset, long l) | | | +| Method | StringBuilder insert(int offset, Object obj) | | | +| Method | StringBuilder insert(int offset, String str) | | | +| Method | int lastIndexOf(String str) | | | +| Method | int lastIndexOf(String str, int fromIndex) | | | +| Method | int length() | | | +| Method | int offsetByCodePoints(int index, int codePointOffset) | | | +| Method | StringBuilder replace(int start, int end, String str) | | | +| Method | StringBuilder reverse() | | | +| Method | void setCharAt(int index, char ch) | | | +| Method | void setLength(int newLength) | | | +| Method | CharSequence subSequence(int start, int end) | | | +| Method | String substring(int start) | | | +| Method | String substring(int start, int end) | | | +| Method | String toString() | | Done | +| Method | void trimToSize() | | | + +### java.lang.System + +| Type | Java | ArkTS | Status | +| ------ | ----------------------------------------------------------------------------------- | --------------- | ------ | +| Class | java.lang.System | std.core.System | Done | +| Member | static PrintStream err | | | +| Member | static InputStream in | | | +| Member | static PrintStream out | | | +| Method | static void arraycopy(Object src, int srcPos, Object dest, int destPos, int length) | | | +| Method | static String clearProperty(String key) | | | +| Method | static Console console() | | | +| Method | static long currentTimeMillis() | | | +| Method | static void exit(int status) | | Done | +| Method | static void gc() | | | +| Method | static Map\ getenv() | | | +| Method | static String getenv(String name) | | | +| Method | static Properties getProperties() | | | +| Method | static String getProperty(String key) | | | +| Method | static String getProperty(String key, String def) | | | +| Method | static SecurityManager getSecurityManager() | | | +| Method | static int identityHashCode(Object x) | | | +| Method | static Channel inheritedChannel() | | | +| Method | static String lineSeparator() | | | +| Method | static void load(String filename) | | | +| Method | static void loadLibrary(String libname) | | | +| Method | static String mapLibraryName(String libname) | | | +| Method | static long nanoTime() | | | +| Method | static void runFinalization() | | | +| Method | static void runFinalizersOnExit(boolean value) | | | +| Method | static void setErr(PrintStream err) | | | +| Method | static void setIn(InputStream in) | | | +| Method | static void setOut(PrintStream out) | | | +| Method | static void setProperties(Properties props) | | | +| Method | static String setProperty(String key, String value) | | | +| Method | static void setSecurityManager(SecurityManager s) | | | + +## java.lang.reflect + +## java.nio + +## java.text + +## java.util + +### java.util.Map + +| Type | Java | ArkTS | Status | +| ------ | ----------------------------------------------------------------------------------------------------------------------------------------------------- | ----- | ------ | +| Class | java.util.Map | | | +| Method | void clear​() | | | +| Method | default V compute​(K key, BiFunction\ remappingFunction) | | | +| Method | default V computeIfAbsent​(K key, Function\ mappingFunction) | | | +| Method | default V computeIfPresent​(K key, BiFunction\ remappingFunction) | | | +| Method | boolean containsKey​(Object key) | | | +| Method | boolean containsValue​(Object value) | | | +| Method | static \ Map.Entry\ entry​(K k, V v) | | | +| Method | Set\> entrySet​() | | | +| Method | boolean equals​(Object o) | | | +| Method | default void forEach​(BiConsumer\ action) | | | +| Method | V get​(Object key) | | | +| Method | default V getOrDefault​(Object key, V defaultValue) | | | +| Method | int hashCode​() | | | +| Method | boolean isEmpty​() | | | +| Method | Set\ keySet​() | | | +| Method | default V merge​(K key, V value, BiFunction\ remappingFunction) | | | +| Method | static \ Map\ of​() | | | +| Method | static \ Map\ of​(K k1, V v1) | | | +| Method | static \ Map\ of​(K k1, V v1, K k2, V v2) | | | +| Method | static \ Map\ of​(K k1, V v1, K k2, V v2, K k3, V v3) | | | +| Method | static \ Map\ of​(K k1, V v1, K k2, V v2, K k3, V v3, K k4, V v4) | | | +| Method | static \ Map\ of​(K k1, V v1, K k2, V v2, K k3, V v3, K k4, V v4, K k5, V v5) | | | +| Method | static \ Map\ of​(K k1, V v1, K k2, V v2, K k3, V v3, K k4, V v4, K k5, V v5, K k6, V v6) | | | +| Method | static \ Map\ of​(K k1, V v1, K k2, V v2, K k3, V v3, K k4, V v4, K k5, V v5, K k6, V v6, K k7, V v7) | | | +| Method | static \ Map\ of​(K k1, V v1, K k2, V v2, K k3, V v3, K k4, V v4, K k5, V v5, K k6, V v6, K k7, V v7, K k8, V v8) | | | +| Method | static \ Map\ of​(K k1, V v1, K k2, V v2, K k3, V v3, K k4, V v4, K k5, V v5, K k6, V v6, K k7, V v7, K k8, V v8, K k9, V v9) | | | +| Method | static \ Map\ of​(K k1, V v1, K k2, V v2, K k3, V v3, K k4, V v4, K k5, V v5, K k6, V v6, K k7, V v7, K k8, V v8, K k9, V v9, K k10, V v10) | | | +| Method | static \ Map\ ofEntries​(Map.Entry\... entries) | | | +| Method | V put​(K key, V value) | | | +| Method | void putAll​(Map\ m) | | | +| Method | default V putIfAbsent​(K key, V value) | | | +| Method | V remove​(Object key) | | | +| Method | default boolean remove​(Object key, Object value) | | | +| Method | default V replace​(K key, V value) | | | +| Method | default boolean replace​(K key, V oldValue, V newValue) | | | +| Method | default void replaceAll​(BiFunction\ function) | | | +| Method | int size​() | | | +| Method | Collection\ values​() | | | + +### java.util.Set + +| Type | Java | ArkTS | Status | +| ----- | ------------------------------------------------------------------------------------ | ----- | ------ | +| Class | java.util.Set | | | +| | boolean add​(E e) | | | +| | boolean addAll​(Collection\ c) | | | +| | void clear​() | | | +| | boolean contains​(Object o) | | | +| | boolean containsAll​(Collection\ c) | | | +| | boolean equals​(Object o) | | | +| | int hashCode​() | | | +| | boolean isEmpty​() | | | +| | Iterator\ iterator​() | | | +| | static \ Set\ of​() | | | +| | static \ Set\ of​(E e1) | | | +| | static \ Set\ of​(E... elements) | | | +| | static \ Set\ of​(E e1, E e2) | | | +| | static \ Set\ of​(E e1, E e2, E e3) | | | +| | static \ Set\ of​(E e1, E e2, E e3, E e4) | | | +| | static \ Set\ of​(E e1, E e2, E e3, E e4, E e5) | | | +| | static \ Set\ of​(E e1, E e2, E e3, E e4, E e5, E e6) | | | +| | static \ Set\ of​(E e1, E e2, E e3, E e4, E e5, E e6, E e7) | | | +| | static \ Set\ of​(E e1, E e2, E e3, E e4, E e5, E e6, E e7, E e8) | | | +| | static \ Set\ of​(E e1, E e2, E e3, E e4, E e5, E e6, E e7, E e8, E e9) | | | +| | static \ Set\ of​(E e1, E e2, E e3, E e4, E e5, E e6, E e7, E e8, E e9, E e10) | | | +| | boolean remove​(Object o) | | | +| | boolean removeAll​(Collection\ c) | | | +| | boolean retainAll​(Collection\ c) | | | +| | int size​() | | | +| | default Spliterator\ spliterator​() | | | +| | Object[] toArray​() | | | +| | \ T[] toArray​(T[] a) | | | + +### java.util.Arrays + +| Type | Java | ArkTS | Status | +| ----- | ------------------------------------------------------------------------------------------------ | --------------------------------------------------------------------------- | ------ | +| Class | java.util.Arrays | std.core.Array | | +| | static \ List\ asList(T... a) | | | +| | static int binarySearch(byte[] a, byte key) | | | +| | static int binarySearch(byte[] a, int fromIndex, int toIndex, byte key) | | | +| | static int binarySearch(char[] a, char key) | | | +| | static int binarySearch(char[] a, int fromIndex, int toIndex, char key) | | | +| | static int binarySearch(double[] a, double key) | | | +| | static int binarySearch(double[] a, int fromIndex, int toIndex, double key) | | | +| | static int binarySearch(float[] a, float key) | | | +| | static int binarySearch(float[] a, int fromIndex, int toIndex, float key) | | | +| | static int binarySearch(int[] a, int key) | static int binarySearch(int[] a, int key) | | +| | static int binarySearch(int[] a, int fromIndex, int toIndex, int key) | function indexOf(arr: int[], key: int, startIndex: int, endIndex: int): int | | +| | static int binarySearch(long[] a, int fromIndex, int toIndex, long key) | | | +| | static int binarySearch(long[] a, long key) | | | +| | static int binarySearch(Object[] a, int fromIndex, int toIndex, Object key) | | | +| | static int binarySearch(Object[] a, Object key) | | | +| | static int binarySearch(short[] a, int fromIndex, int toIndex, short key) | | | +| | static int binarySearch(short[] a, short key) | | | +| | static \ int binarySearch(T[] a, int fromIndex, int toIndex, T key, Comparator\ c) | | | +| | static \ int binarySearch(T[] a, T key, Comparator\ c) | | | +| | static boolean[] copyOf(boolean[] original, int newLength) | | | +| | static byte[] copyOf(byte[] original, int newLength) | | | +| | static char[] copyOf(char[] original, int newLength) | | | +| | static double[] copyOf(double[] original, int newLength) | | | +| | static float[] copyOf(float[] original, int newLength) | | | +| | static int[] copyOf(int[] original, int newLength) | | | +| | static long[] copyOf(long[] original, int newLength) | | | +| | static short[] copyOf(short[] original, int newLength) | | | +| | static \ T[] copyOf(T[] original, int newLength) | | | +| | static \ T[] copyOf(U[] original, int newLength, Class\ newType) | | | +| | static boolean[] copyOfRange(boolean[] original, int from, int to) | | | +| | static byte[] copyOfRange(byte[] original, int from, int to) | | | +| | static char[] copyOfRange(char[] original, int from, int to) | | | +| | static double[] copyOfRange(double[] original, int from, int to) | | | +| | static float[] copyOfRange(float[] original, int from, int to) | | | +| | static int[] copyOfRange(int[] original, int from, int to) | function copyOf(arr: int[], startIndex: int, endIndex: int): int[] | | +| | static long[] copyOfRange(long[] original, int from, int to) | | | +| | static short[] copyOfRange(short[] original, int from, int to) | | | +| | static \ T[] copyOfRange(T[] original, int from, int to) | | | +| | static \ T[] copyOfRange(U[] original, int from, int to, Class\ newType) | | | +| | static boolean deepEquals(Object[] a1, Object[] a2) | | | +| | static int deepHashCode(Object[] a) | | | +| | static String deepToString(Object[] a) | | | +| | static boolean equals(boolean[] a, boolean[] a2) | | | +| | static boolean equals(byte[] a, byte[] a2) | | | +| | static boolean equals(char[] a, char[] a2) | | | +| | static boolean equals(double[] a, double[] a2) | | | +| | static boolean equals(float[] a, float[] a2) | | | +| | static boolean equals(int[] a, int[] a2) | | | +| | static boolean equals(long[] a, long[] a2) | | | +| | static boolean equals(Object[] a, Object[] a2) | | | +| | static boolean equals(short[] a, short[] a2) | | | +| | static void fill(boolean[] a, boolean val) | | | +| | static void fill(boolean[] a, int fromIndex, int toIndex, boolean val) | | | +| | static void fill(byte[] a, byte val) | | | +| | static void fill(byte[] a, int fromIndex, int toIndex, byte val) | | | +| | static void fill(char[] a, char val) | | | +| | static void fill(char[] a, int fromIndex, int toIndex, char val) | | | +| | static void fill(double[] a, double val) | | | +| | static void fill(double[] a, int fromIndex, int toIndex, double val) | | | +| | static void fill(float[] a, float val) | | | +| | static void fill(float[] a, int fromIndex, int toIndex, float val) | function fill(arr: int[], value: int, startIndex: int, endIndex: int): void | | +| | static void fill(int[] a, int val) | | Done | +| | static void fill(int[] a, int fromIndex, int toIndex, int val) | | | +| | static void fill(long[] a, int fromIndex, int toIndex, long val) | | | +| | static void fill(long[] a, long val) | | | +| | static void fill(Object[] a, int fromIndex, int toIndex, Object val) | | | +| | static void fill(Object[] a, Object val) | | | +| | static void fill(short[] a, int fromIndex, int toIndex, short val) | | | +| | static void fill(short[] a, short val) | | | +| | static int hashCode(boolean[] a) | | | +| | static int hashCode(byte[] a) | | | +| | static int hashCode(char[] a) | | | +| | static int hashCode(double[] a) | | | +| | static int hashCode(float[] a) | | | +| | static int hashCode(int[] a) | | | +| | static int hashCode(long[] a) | | | +| | static int hashCode(Object[] a) | | | +| | static int hashCode(short[] a) | | | +| | static void parallelPrefix(double[] array, DoubleBinaryOperator op) | | | +| | static void parallelPrefix(double[] array, int fromIndex, int toIndex, DoubleBinaryOperator op) | | | +| | static void parallelPrefix(int[] array, IntBinaryOperator op) | | | +| | static void parallelPrefix(int[] array, int fromIndex, int toIndex, IntBinaryOperator op) | | | +| | static void parallelPrefix(long[] array, int fromIndex, int toIndex, LongBinaryOperator op) | | | +| | static void parallelPrefix(long[] array, LongBinaryOperator op) | | | +| | static \ void parallelPrefix(T[] array, BinaryOperator\ op) | | | +| | static \ void parallelPrefix(T[] array, int fromIndex, int toIndex, BinaryOperator\ op) | | | +| | static void parallelSetAll(double[] array, IntToDoubleFunction generator) | | | +| | static void parallelSetAll(int[] array, IntUnaryOperator generator) | | | +| | static void parallelSetAll(long[] array, IntToLongFunction generator) | | | +| | static \ void parallelSetAll(T[] array, IntFunction\ generator) | | | +| | static void parallelSort(byte[] a) | | | +| | static void parallelSort(byte[] a, int fromIndex, int toIndex) | | | +| | static void parallelSort(char[] a) | | | +| | static void parallelSort(char[] a, int fromIndex, int toIndex) | | | +| | static void parallelSort(double[] a) | | | +| | static void parallelSort(double[] a, int fromIndex, int toIndex) | | | +| | static void parallelSort(float[] a) | | | +| | static void parallelSort(float[] a, int fromIndex, int toIndex) | | | +| | static void parallelSort(int[] a) | | | +| | static void parallelSort(int[] a, int fromIndex, int toIndex) | | | +| | static void parallelSort(long[] a) | | | +| | static void parallelSort(long[] a, int fromIndex, int toIndex) | | | +| | static void parallelSort(short[] a) | | | +| | static void parallelSort(short[] a, int fromIndex, int toIndex) | | | +| | static \ void parallelSort(T[] a) | | | +| | static \ void parallelSort(T[] a, Comparator\ cmp) | | | +| | static \ void parallelSort(T[] a, int fromIndex, int toIndex) | | | +| | static \ void parallelSort(T[] a, int fromIndex, int toIndex, Comparator\ cmp) | | | +| | static void setAll(double[] array, IntToDoubleFunction generator) | | | +| | static void setAll(int[] array, IntUnaryOperator generator) | | | +| | static void setAll(long[] array, IntToLongFunction generator) | | | +| | static \ void setAll(T[] array, IntFunction\ generator) | | | +| | static void sort(byte[] a) | | | +| | static void sort(byte[] a, int fromIndex, int toIndex) | | | +| | static void sort(char[] a) | | | +| | static void sort(char[] a, int fromIndex, int toIndex) | | | +| | static void sort(double[] a) | | | +| | static void sort(double[] a, int fromIndex, int toIndex) | | | +| | static void sort(float[] a) | | | +| | static void sort(float[] a, int fromIndex, int toIndex) | | | +| | static void sort(int[] a) | | Done | +| | static void sort(int[] a, int fromIndex, int toIndex) | | Done | +| | static void sort(long[] a) | | | +| | static void sort(long[] a, int fromIndex, int toIndex) | | | +| | static void sort(Object[] a) | | | +| | static void sort(Object[] a, int fromIndex, int toIndex) | | | +| | static void sort(short[] a) | | | +| | static void sort(short[] a, int fromIndex, int toIndex) | | | +| | static \ void sort(T[] a, Comparator\ c) | | | +| | static \ void sort(T[] a, int fromIndex, int toIndex, Comparator\ c) | | | +| | static Spliterator.OfDouble spliterator(double[] array) | | | +| | static Spliterator.OfDouble spliterator(double[] array, int startInclusive, int endExclusive) | | | +| | static Spliterator.OfInt spliterator(int[] array) | | | +| | static Spliterator.OfInt spliterator(int[] array, int startInclusive, int endExclusive) | | | +| | static Spliterator.OfLong spliterator(long[] array) | | | +| | static Spliterator.OfLong spliterator(long[] array, int startInclusive, int endExclusive) | | | +| | static \ Spliterator\ spliterator(T[] array) | | | +| | static \ Spliterator\ spliterator(T[] array, int startInclusive, int endExclusive) | | | +| | static DoubleStream stream(double[] array) | | | +| | static DoubleStream stream(double[] array, int startInclusive, int endExclusive) | | | +| | static IntStream stream(int[] array) | | | +| | static IntStream stream(int[] array, int startInclusive, int endExclusive) | | | +| | static LongStream stream(long[] array) | | | +| | static LongStream stream(long[] array, int startInclusive, int endExclusive) | | | +| | static \ Stream\ stream(T[] array) | | | +| | static \ Stream\ stream(T[] array, int startInclusive, int endExclusive) | | | +| | static String toString(boolean[] a) | | | +| | static String toString(byte[] a) | | | +| | static String toString(char[] a) | | | +| | static String toString(double[] a) | | | +| | static String toString(float[] a) | | | +| | static String toString(int[] a) | | | +| | static String toString(long[] a) | | | +| | static String toString(Object[] a) | | | +| | static String toString(short[] a) | | | \ No newline at end of file -- Gitee From 9276f895a1695d06625023da19badf8e554ba324 Mon Sep 17 00:00:00 2001 From: Orlovsky Maxim Date: Wed, 28 Dec 2022 15:16:01 +0300 Subject: [PATCH 2/7] [Migrator] Added mapping and api files for different languages {JS, TS, AS} Signed-off-by: Orlovsky Maxim --- migrator/config/as-api-mapper.xml | 4 + migrator/config/js-api-mapper.xml | 4 + migrator/config/ts-api-mapper.xml | 4 + migrator/docs/as-api-list.md | 0 migrator/docs/java-api-list.xml | 1406 ----------------------------- migrator/docs/js-api-list.md | 0 migrator/docs/ts-api-list.md | 0 7 files changed, 12 insertions(+), 1406 deletions(-) create mode 100644 migrator/config/as-api-mapper.xml create mode 100644 migrator/config/js-api-mapper.xml create mode 100644 migrator/config/ts-api-mapper.xml create mode 100644 migrator/docs/as-api-list.md delete mode 100644 migrator/docs/java-api-list.xml create mode 100644 migrator/docs/js-api-list.md create mode 100644 migrator/docs/ts-api-list.md diff --git a/migrator/config/as-api-mapper.xml b/migrator/config/as-api-mapper.xml new file mode 100644 index 000000000..148e3bf2d --- /dev/null +++ b/migrator/config/as-api-mapper.xml @@ -0,0 +1,4 @@ + + + + \ No newline at end of file diff --git a/migrator/config/js-api-mapper.xml b/migrator/config/js-api-mapper.xml new file mode 100644 index 000000000..0669453fc --- /dev/null +++ b/migrator/config/js-api-mapper.xml @@ -0,0 +1,4 @@ + + + + \ No newline at end of file diff --git a/migrator/config/ts-api-mapper.xml b/migrator/config/ts-api-mapper.xml new file mode 100644 index 000000000..bb79315a1 --- /dev/null +++ b/migrator/config/ts-api-mapper.xml @@ -0,0 +1,4 @@ + + + + \ No newline at end of file diff --git a/migrator/docs/as-api-list.md b/migrator/docs/as-api-list.md new file mode 100644 index 000000000..e69de29bb diff --git a/migrator/docs/java-api-list.xml b/migrator/docs/java-api-list.xml deleted file mode 100644 index 4ffec05bc..000000000 --- a/migrator/docs/java-api-list.xml +++ /dev/null @@ -1,1406 +0,0 @@ - - - - - - // Interfaces: - java.io.Closeable - java.io.DataInput - java.io.DataOutput - java.io.Externalizable - java.io.FileFilter - java.io.FilenameFilter - java.io.Flushable - java.io.ObjectInput - java.io.ObjectInputValidation - java.io.ObjectOutput - java.io.ObjectStreamConstants - java.io.Serializable - // Classes: - java.io.BufferedInputStream - java.io.BufferedOutputStream - java.io.BufferedReader - java.io.BufferedWriter - java.io.ByteArrayInputStream - java.io.ByteArrayOutputStream - java.io.CharArrayReader - java.io.CharArrayWriter - java.io.Console - java.io.DataInputStream - java.io.DataOutputStream - java.io.File - java.io.FileDescriptor - java.io.FileInputStream - java.io.FileOutputStream - java.io.FilePermission - java.io.FileReader - java.io.FileWriter - java.io.FilterInputStream - java.io.FilterOutputStream - java.io.FilterReader - java.io.FilterWriter - java.io.InputStream - java.io.InputStreamReader - java.io.LineNumberInputStream - java.io.LineNumberReader - java.io.ObjectInputStream - java.io.ObjectInputStream.GetField - java.io.ObjectOutputStream - java.io.ObjectOutputStream.PutField - java.io.ObjectStreamClass - java.io.ObjectStreamField - java.io.OutputStream - java.io.OutputStreamWriter - java.io.PipedInputStream - java.io.PipedOutputStream - java.io.PipedReader - java.io.PipedWriter - java.io.PrintStream - java.io.PrintWriter - java.io.PushbackInputStream - java.io.PushbackReader - java.io.RandomAccessFile - java.io.Reader - java.io.SequenceInputStream - java.io.SerializablePermission - java.io.StreamTokenizer - java.io.StringBufferInputStream - java.io.StringReader - java.io.StringWriter - java.io.Writer - // Exceptions: - java.io.CharConversionException - java.io.EOFException - java.io.FileNotFoundException - java.io.InterruptedIOException - java.io.InvalidClassException - java.io.InvalidObjectException - java.io.IOException - java.io.NotActiveException - java.io.NotSerializableException - java.io.ObjectStreamException - java.io.OptionalDataException - java.io.StreamCorruptedException - java.io.SyncFailedException - java.io.UncheckedIOException - java.io.UnsupportedEncodingException - java.io.UTFDataFormatException - java.io.WriteAbortedException - // Errors: - java.io.IOError - - - // Interfaces: - java.lang.Appendable - java.lang.AutoCloseable - java.lang.CharSequence - java.lang.Cloneable - - ==> std.core.Comparable - int compareTo(T o) ArkTS: the same - - java.lang.Iterable - java.lang.Readable - java.lang.Runnable - java.lang.Thread.UncaughtExceptionHandler - // Classes: - - ==> std.core.Boolean - - static Boolean FALSE ArkTS: the same - static Boolean TRUE ArkTS: the same - static Class TYPE - - Boolean(boolean value) ArkTS: the same - Boolean(String s) - - boolean booleanValue() ArkTS: public unboxed(): boolean - static int compare(boolean x, boolean y) ArkTS: new Boolean(x).compareTo(new Boolean(y)) - int compareTo(Boolean b) ArkTS: the same - boolean equals(Object obj) ArkTS: the same - static boolean getBoolean(String name) - int hashCode() ArkTS: the same - static int hashCode(boolean value) ArkTS: new Boolean(value).hasCode() - static boolean logicalAnd(boolean a, boolean b) - static boolean logicalOr(boolean a, boolean b) - static boolean logicalXor(boolean a, boolean b) - static boolean parseBoolean(String s) - String toString() ArkTS: the same - static String toString(boolean b) ArkTS: new Boolean(b).toString() - static Boolean valueOf(boolean b) ArkTS: the same - static Boolean valueOf(String s) - - - ==> std.core.Byte - - static int BYTES ArkTS: BYTE_SIZE - static byte MAX_VALUE ArkTS: the same - static byte MIN_VALUE ArkTS: the same - static int SIZE ArkTS: BIT_SIZE - static Class TYPE - - Byte(byte value) ArkTS: the same - Byte(String s) - byte byteValue() ArkTS: the same - static int compare(byte x, byte y) ArkTS: new Byte(x).compareTo(new Byte(y)) - int compareTo(Byte anotherByte) ArkTS: the same - static Byte decode(String nm) - double doubleValue() ArkTS: the same - boolean equals(Object obj) ArkTS: the same - float floatValue() ArkTS: the same - int hashCode() ArkTS: the same - static int hashCode(byte value) - int intValue() ArkTS: the same - long longValue() ArkTS: the same - static byte parseByte(String s) - static byte parseByte(String s, int radix) - short shortValue() ArkTS: the same - String toString() ArkTS: the same - static String toString(byte b) ArkTS: new Byte(b).toString() - static int toUnsignedInt(byte x) - static long toUnsignedLong(byte x) - static Byte valueOf(byte b) - static Byte valueOf(String s) - static Byte valueOf(String s, int radix) - - - ==> std.core.Character - - static int BYTES - static byte COMBINING_SPACING_MARK - static byte CONNECTOR_PUNCTUATION - static byte CONTROL - static byte CURRENCY_SYMBOL - static byte DASH_PUNCTUATION - static byte DECIMAL_DIGIT_NUMBER - static byte DIRECTIONALITY_ARABIC_NUMBER - static byte DIRECTIONALITY_BOUNDARY_NEUTRAL - static byte DIRECTIONALITY_COMMON_NUMBER_SEPARATOR - static byte DIRECTIONALITY_EUROPEAN_NUMBER - static byte DIRECTIONALITY_EUROPEAN_NUMBER_SEPARATOR - static byte DIRECTIONALITY_EUROPEAN_NUMBER_TERMINATOR - static byte DIRECTIONALITY_LEFT_TO_RIGHT - static byte DIRECTIONALITY_LEFT_TO_RIGHT_EMBEDDING - static byte DIRECTIONALITY_LEFT_TO_RIGHT_OVERRIDE - static byte DIRECTIONALITY_NONSPACING_MARK - static byte DIRECTIONALITY_OTHER_NEUTRALS - static byte DIRECTIONALITY_PARAGRAPH_SEPARATOR - static byte DIRECTIONALITY_POP_DIRECTIONAL_FORMAT - static byte DIRECTIONALITY_RIGHT_TO_LEFT - static byte DIRECTIONALITY_RIGHT_TO_LEFT_ARABIC - static byte DIRECTIONALITY_RIGHT_TO_LEFT_EMBEDDING - static byte DIRECTIONALITY_RIGHT_TO_LEFT_OVERRIDE - static byte DIRECTIONALITY_SEGMENT_SEPARATOR - static byte DIRECTIONALITY_UNDEFINED - static byte DIRECTIONALITY_WHITESPACE - static byte ENCLOSING_MARK - static byte END_PUNCTUATION - static byte FINAL_QUOTE_PUNCTUATION - static byte FORMAT - static byte INITIAL_QUOTE_PUNCTUATION - static byte LETTER_NUMBER - static byte LINE_SEPARATOR - static byte LOWERCASE_LETTER - static byte MATH_SYMBOL - static int MAX_CODE_POINT - static char MAX_HIGH_SURROGATE ArkTS: HIGH_SURROGATE_MAX - static char MAX_LOW_SURROGATE ArkTS: LOW_SURROGATE_MAX - static int MAX_RADIX - static char MAX_SURROGATE - static char MAX_VALUE - static int MIN_CODE_POINT - static char MIN_HIGH_SURROGATE ArkTS: HIGH_SURROGATE_MIN - static char MIN_LOW_SURROGATE ArkTS: LOW_SURROGATE_MIN - static int MIN_RADIX - static int MIN_SUPPLEMENTARY_CODE_POINT - static char MIN_SURROGATE - static char MIN_VALUE - static byte MODIFIER_LETTER - static byte MODIFIER_SYMBOL - static byte NON_SPACING_MARK - static byte OTHER_LETTER - static byte OTHER_NUMBER - static byte OTHER_PUNCTUATION - static byte OTHER_SYMBOL - static byte PARAGRAPH_SEPARATOR - static byte PRIVATE_USE - static int SIZE ArkTS: CHAR_BIT_SIZE - static byte SPACE_SEPARATOR - static byte START_PUNCTUATION - static byte SURROGATE - static byte TITLECASE_LETTER - static Class TYPE - static byte UNASSIGNED - static byte UPPERCASE_LETTER - - Character(char value) ArkTS: the same - static int charCount(int codePoint) - char charValue() - static int codePointAt(char[] a, int index) - static int codePointAt(char[] a, int index, int limit) - static int codePointAt(CharSequence seq, int index) - static int codePointBefore(char[] a, int index) - static int codePointBefore(char[] a, int index, int start) - static int codePointBefore(CharSequence seq, int index) - static int codePointCount(char[] a, int offset, int count) - static int codePointCount(CharSequence seq, int beginIndex, int endIndex) - static int compare(char x, char y) ArkTS: new Char(x).compareTo(new Char(y)) - int compareTo(Character anotherCharacter) ArkTS: the same - static int digit(char ch, int radix) - static int digit(int codePoint, int radix) - boolean equals(Object obj) ArkTS: the same - static char forDigit(int digit, int radix) - static byte getDirectionality(char ch) - static byte getDirectionality(int codePoint) - static String getName(int codePoint) - static int getNumericValue(char ch) - static int getNumericValue(int codePoint) - static int getType(char ch) - static int getType(int codePoint) - int hashCode() ArkTS: the same - static int hashCode(char value) ArkTS: the same - static char highSurrogate(int codePoint) ArkTS: static getHighSurrogate(value: int): char - static boolean isAlphabetic(int codePoint) - static boolean isBmpCodePoint(int codePoint) - static boolean isDefined(char ch) - static boolean isDefined(int codePoint) - static boolean isDigit(char ch) ArkTS: static isDecDigit(value: char): boolean - static boolean isDigit(int codePoint) - static boolean isHighSurrogate(char ch) ArkTS: the same - static boolean isIdentifierIgnorable(char ch) - static boolean isIdentifierIgnorable(int codePoint) - static boolean isIdeographic(int codePoint) - static boolean isISOControl(char ch) - static boolean isISOControl(int codePoint) - static boolean isJavaIdentifierPart(char ch) - static boolean isJavaIdentifierPart(int codePoint) - static boolean isJavaIdentifierStart(char ch) - static boolean isJavaIdentifierStart(int codePoint) - static boolean isJavaLetter(char ch) - static boolean isJavaLetterOrDigit(char ch) - static boolean isLetter(char ch) - static boolean isLetter(int codePoint) ArkTS: the same - static boolean isLetterOrDigit(char ch) - static boolean isLetterOrDigit(int codePoint) - static boolean isLowerCase(char ch) ArkTS: the same - static boolean isLowerCase(int codePoint) - static boolean isLowSurrogate(char ch) ArkTS: the same - static boolean isMirrored(char ch) - static boolean isMirrored(int codePoint) - static boolean isSpace(char ch) - static boolean isSpaceChar(char ch) - static boolean isSpaceChar(int codePoint) - static boolean isSupplementaryCodePoint(int codePoint) - static boolean isSurrogate(char ch) - static boolean isSurrogatePair(char high, char low) - static boolean isTitleCase(char ch) - static boolean isTitleCase(int codePoint) - static boolean isUnicodeIdentifierPart(char ch) - static boolean isUnicodeIdentifierPart(int codePoint) - static boolean isUnicodeIdentifierStart(char ch) - static boolean isUnicodeIdentifierStart(int codePoint) - static boolean isUpperCase(char ch) ArkTS: the same - static boolean isUpperCase(int codePoint) - static boolean isValidCodePoint(int codePoint) - static boolean isWhitespace(char ch) ArkTS: the same - static boolean isWhitespace(int codePoint) - static char lowSurrogate(int codePoint) ArkTS: static getLowSurrogate(value: int): char - static int offsetByCodePoints(char[] a, int start, int count, int index, int codePointOffset) - static int offsetByCodePoints(CharSequence seq, int index, int codePointOffset) - static char reverseBytes(char ch) - static char[] toChars(int codePoint) - static int toChars(int codePoint, char[] dst, int dstIndex) - static int toCodePoint(char high, char low) - static char toLowerCase(char ch) ArkTS: the same - static int toLowerCase(int codePoint) - String toString() - static String toString(char c) - static char toTitleCase(char ch) - static int toTitleCase(int codePoint) - static char toUpperCase(char ch) ArkTS: the same - static int toUpperCase(int codePoint) - static Character valueOf(char c) ArkTS: the same - - java.lang.Character.Subset - java.lang.Character.UnicodeBlock - java.lang.Class ==> std.core.Type ???? - java.lang.ClassLoader - java.lang.ClassValue - java.lang.Compiler - - ==> std.core.Double - - static int BYTES ArkTS: BYTE_SIZE - static int MAX_EXPONENT - static double MAX_VALUE ArkTS: the same - static int MIN_EXPONENT - static double MIN_NORMAL - static double MIN_VALUE ArkTS: the same - static double NaN ArkTS: the same - static double NEGATIVE_INFINITY ArkTS: the same - static double POSITIVE_INFINITY ArkTS: the same - static int SIZE ArkTS: BIT_SIZE - static Class TYPE - - Double(double value) ArkTS: the same - Double(String s) - byte byteValue() ArkTS: the same - static int compare(double d1, double d2) ArkTS: new Double(d1).compareTo(new Double(d2) - int compareTo(Double anotherDouble) ArkTS: the same - static long doubleToLongBits(double value) - static long doubleToRawLongBits(double value) - double doubleValue() ArkTS: the same - boolean equals(Object obj) ArkTS: the same - float floatValue() ArkTS: the same - int hashCode() ArkTS: the same - static int hashCode(double value) - int intValue() ArkTS: the same - static boolean isFinite(double d) - boolean isInfinite() - static boolean isInfinite(double v) - boolean isNaN() - static boolean isNaN(double v) - static double longBitsToDouble(long bits) - long longValue() ArkTS: the same - static double max(double a, double b) - static double min(double a, double b) - static double parseDouble(String s) - short shortValue() ArkTS: the same - static double sum(double a, double b) - static String toHexString(double d) - String toString() ArkTS: the same - static String toString(double d) - static Double valueOf(double d) ArkTS: the same - static Double valueOf(String s) - - java.lang.Enum - - ==> std.core.Float - - static int BYTES ArkTS: BYTE_SIZE - static int MAX_EXPONENT - static float MAX_VALUE ArkTS: the same - static int MIN_EXPONENT - static float MIN_NORMAL - static float MIN_VALUE ArkTS: the same - static float NaN ArkTS: the same - static float NEGATIVE_INFINITY ArkTS: the same - static float POSITIVE_INFINITY ArkTS: the same - static int SIZE ArkTS: BIT_SIZE - static Class TYPE - - Float(double value) - Float(float value) ArkTS: the same - Float(String s) - byte byteValue() ArkTS: the same - static int compare(float f1, float f2) ArkTS: new Float(f1).compareTo(new Float(f2)) - int compareTo(Float anotherFloat) ArkTS: the same - double doubleValue() ArkTS: the same - boolean equals(Object obj) ArkTS: the same - static int floatToIntBits(float value) - static int floatToRawIntBits(float value) - float floatValue() ArkTS: the same - int hashCode() ArkTS: the same - static int hashCode(float value) ArkTS: new Float(value).hashCode(); - static float intBitsToFloat(int bits) - int intValue() ArkTS: the same - static boolean isFinite(float f) - boolean isInfinite() - static boolean isInfinite(float v) - boolean isNaN() - static boolean isNaN(float v) - long longValue() ArkTS: the same - static float max(float a, float b) - static float min(float a, float b) - static float parseFloat(String s) - short shortValue() ArkTS: the same - static float sum(float a, float b) - static String toHexString(float f) - String toString() ArkTS: the same - static String toString(float f) ArkTS: new Float(f).toString() - static Float valueOf(float f) ArkTS: the same - static Float valueOf(String s) - - java.lang.InheritableThreadLocal - - ==> std.core.Int - - static int BYTES ArkTS: BYTE_SIZE - static int MAX_VALUE ArkTS: the same - static int MIN_VALUE ArkTS: the same - static int SIZE ArkTS: BIT_SIZE - static Class TYPE - - Integer(int value) ArkTS: the same - Integer(String s) - static int bitCount(int i) - byte byteValue() ArkTS: the same - static int compare(int x, int y) ArkTS: new Int(x).compareTo(new Int(y)) - int compareTo(Integer anotherInteger) ArkTS: the same - static int compareUnsigned(int x, int y) - static Integer decode(String nm) - static int divideUnsigned(int dividend, int divisor) - double doubleValue() ArkTS: the same - boolean equals(Object obj) ArkTS: the same - float floatValue() ArkTS: the same - static Integer getInteger(String nm) - static Integer getInteger(String nm, int val) - static Integer getInteger(String nm, Integer val) - int hashCode() ArkTS: the same - static int hashCode(int value) ArkTS: new Int(value).hasCode() - static int highestOneBit(int i) - int intValue() ArkTS: the same - long longValue() ArkTS: the same - static int lowestOneBit(int i) - static int max(int a, int b) - static int min(int a, int b) - static int numberOfLeadingZeros(int i) - static int numberOfTrailingZeros(int i) - static int parseInt(String s) - static int parseInt(String s, int radix) - static int parseUnsignedInt(String s) - static int parseUnsignedInt(String s, int radix) - static int remainderUnsigned(int dividend, int divisor) - static int reverse(int i) - static int reverseBytes(int i) - static int rotateLeft(int i, int distance) - static int rotateRight(int i, int distance) - short shortValue() ArkTS: the same - static int signum(int i) - static int sum(int a, int b) - static String toBinaryString(int i) - static String toHexString(int i) - static String toOctalString(int i) - String toString() ArkTS: the same - static String toString(int i) ArkTS: new Int(i).toString() - static String toString(int i, int radix) - static long toUnsignedLong(int x) - static String toUnsignedString(int i) - static String toUnsignedString(int i, int radix) - static Integer valueOf(int i) ArkTS: the same - static Integer valueOf(String s) - static Integer valueOf(String s, int radix) - - - ==> std.core.Long - - static int BYTES ArkTS: BYTE_SIZE - static long MAX_VALUE ArkTS: the same - static long MIN_VALUE ArkTS: the same - static int SIZE ArkTS: BIT_SIZE - static Class TYPE - - Long(long value) ArkTS: the same - Long(String s) - static int bitCount(long i) - byte byteValue() ArkTS: the same - static int compare(long x, long y) ArkTS: new Long(x).compareTo(new Long(y)) - int compareTo(Long anotherLong) ArkTS: the same - static int compareUnsigned(long x, long y) - static Long decode(String nm) - static long divideUnsigned(long dividend, long divisor) - double doubleValue() ArkTS: the same - boolean equals(Object obj) ArkTS: the same - float floatValue() ArkTS: the same - static Long getLong(String nm) - static Long getLong(String nm, long val) - static Long getLong(String nm, Long val) - int hashCode() ArkTS: the same - static int hashCode(long value) ArkTS: new Long(value).hashCode() - static long highestOneBit(long i) - int intValue() ArkTS: the same - long longValue() ArkTS: the same - static long lowestOneBit(long i) - static long max(long a, long b) - static long min(long a, long b) - static int numberOfLeadingZeros(long i) - static int numberOfTrailingZeros(long i) - static long parseLong(String s) - static long parseLong(String s, int radix) - static long parseUnsignedLong(String s) - static long parseUnsignedLong(String s, int radix) - static long remainderUnsigned(long dividend, long divisor) - static long reverse(long i) - static long reverseBytes(long i) - static long rotateLeft(long i, int distance) - static long rotateRight(long i, int distance) - short shortValue() ArkTS: the same - static int signum(long i) - static long sum(long a, long b) - static String toBinaryString(long i) - static String toHexString(long i) - static String toOctalString(long i) - String toString() ArkTS: the same - static String toString(long i) ArkTS: new Long(i).toString() - static String toString(long i, int radix) - static String toUnsignedString(long i) - static String toUnsignedString(long i, int radix) - static Long valueOf(long l) ArkTS: the same - static Long valueOf(String s) - static Long valueOf(String s, int radix) - - - ==> std.math.math.* - static double E - static double PI ==> std.math.math.PI; - - static double abs(double a) ArkTS: the same - static float abs(float a) - static int abs(int a) - static long abs(long a) - static double acos(double a) ArkTS: the same - static int addExact(int x, int y) - static long addExact(long x, long y) - static double asin(double a) ArkTS: the same - static double atan(double a) ArkTS: the same - static double atan2(double y, double x) ArkTS: the same - static double cbrt(double a) ArktTS: function cuberoot(v: double): double - static double ceil(double a) ArkTS: the same - static double copySign(double magnitude, double sign) ArkTS: the same - static float copySign(float magnitude, float sign) ArkTS: the same - static double cos(double a) ArkTS: the same - static double cosh(double x) ArkTS: the same - static int decrementExact(int a) - static long decrementExact(long a) - static double exp(double a) ArkTS: the same - static double expm1(double x) ArkTS: the same - static double floor(double a) ArkTS: the same - static int floorDiv(int x, int y) - static long floorDiv(long x, long y) - static int floorMod(int x, int y) - static long floorMod(long x, long y) - static int getExponent(double d) - static int getExponent(float f) - static double hypot(double x, double y) ArkTS: the same - static double IEEEremainder(double f1, double f2) - static int incrementExact(int a) - static long incrementExact(long a) - static double log(double a) ArkTS: the same - static double log10(double a) ArkTS: the same - static double log1p(double x) ArkTS: the same - static double max(double a, double b) ArkTS: the same - static float max(float a, float b) - static int max(int a, int b) ArkTS: the same - static long max(long a, long b) - static double min(double a, double b) - static float min(float a, float b) - static int min(int a, int b) - static long min(long a, long b) - static int multiplyExact(int x, int y) - static long multiplyExact(long x, long y) - static int negateExact(int a) - static long negateExact(long a) - static double nextAfter(double start, double direction) - static float nextAfter(float start, double direction) - static double nextDown(double d) - static float nextDown(float f) - static double nextUp(double d) - static float nextUp(float f) - static double pow(double a, double b) ArkTS: function power(v: double, u: double): double; - static double random() - static double rint(double a) - static long round(double a) ArkTS: the same - static int round(float a) - static double scalb(double d, int scaleFactor) - static float scalb(float f, int scaleFactor) ArkTS: function scalbn(v: double, n: int): double - static double signum(double d) ArkTS: function sign(v: double): double { - static float signum(float f) - static double sin(double a) ArkTS: the same - static double sinh(double x) ArkTS: the same - static double sqrt(double a) ArkTS: the same - static int subtractExact(int x, int y) - static long subtractExact(long x, long y) - static double tan(double a) ArkTS: the same - static double tanh(double x) ArkTS: the same - static double toDegrees(double angrad) - static int toIntExact(long value) - static double toRadians(double angdeg) - static double ulp(double d) - static float ulp(float f) - - - ==> std.core.Integral - - byte byteValue() ArkTS: the same - abstract double doubleValue() ArkTS: the same - abstract float floatValue() ArkTS: the same - abstract int intValue() ArkTS: the same - abstract long longValue() ArkTS: the same - short shortValue() ArkTS: the same - - - ==> std.core.Object - - Object() - protected Object clone() - boolean equals(Object obj) ArkTS: the same - protected void finalize() - Class getClass() - int hashCode() ArkTS: the same - void notify() - void notifyAll() - String toString() ArkTS: the same - void wait() - void wait(long timeout) - void wait(long timeout, int nanos) - - java.lang.Package - java.lang.Process - java.lang.ProcessBuilder - java.lang.ProcessBuilder.Redirect - - ==> std.core.Runtime - - void addShutdownHook(Thread hook) - int availableProcessors() - Process exec(String command) - Process exec(String[] cmdarray) - Process exec(String[] cmdarray, String[] envp) - Process exec(String[] cmdarray, String[] envp, File dir) - Process exec(String command, String[] envp) - Process exec(String command, String[] envp, File dir) - void exit(int status) - long freeMemory() - void gc() - InputStream getLocalizedInputStream(InputStream in) - OutputStream getLocalizedOutputStream(OutputStream out) - static Runtime getRuntime() - void halt(int status) - void load(String filename) - void loadLibrary(String libname) ArkTS: the same - long maxMemory() - boolean removeShutdownHook(Thread hook) - void runFinalization() - static void runFinalizersOnExit(boolean value) - long totalMemory() - void traceInstructions(boolean on) - void traceMethodCalls(boolean on) - - java.lang.RuntimePermission - java.lang.SecurityManager - - ==> std.core.Short - - static int BYTES ArkTS: BYTE_SIZE - static short MAX_VALUE ArkTS: the same - static short MIN_VALUE ArkTS: the same - static int SIZE ArkTS: BIT_SIZE - static Class TYPE - - Short(short value) ArkTS: the same - Short(String s) - - byte byteValue() ArkTS: the same - static int compare(short x, short y) new Short(x).compareTo(new Short(y)) - int compareTo(Short anotherShort) ArkTS: the same - static Short decode(String nm) - double doubleValue() ArkTS: the same - boolean equals(Object obj) ArkTS: the same - float floatValue() ArkTS: the same - int hashCode() ArkTS: the same - static int hashCode(short s) ArkTS: new Short(s).hashCode() - int intValue() ArkTS: the same - long longValue() ArkTS: the same - static short parseShort(String s) - static short parseShort(String s, int radix) - static short reverseBytes(short i) - short shortValue() ArkTS: the same - String toString() ArkTS: the same - static String toString(short s) ArkTS: new Short(s).toString() - static int toUnsignedInt(short x) - static long toUnsignedLong(short x) - static Short valueOf(short s) ArkTS: the same - static Short valueOf(String s) - static Short valueOf(String s, int radix) - - java.lang.StackTraceElement - java.lang.StrictMath - - ==> std.core.String - - static Comparator CASE_INSENSITIVE_ORDER - - String() ArkTS: the same - String(byte[] bytes) - String(byte[] bytes, Charset charset) - String(byte[] ascii, int hibyte) - String(byte[] bytes, int offset, int length) - String(byte[] bytes, int offset, int length, Charset charset) - String(byte[] ascii, int hibyte, int offset, int count) - String(byte[] bytes, int offset, int length, String charsetName) - String(byte[] bytes, String charsetName) - String(char[] value) ArkTS: the same - String(char[] value, int offset, int count) - String(int[] codePoints, int offset, int count) - String(String original) - String(StringBuffer buffer) - String(StringBuilder builder) - - char charAt(int index) ArkTS: the same - int codePointAt(int index) ArkTS: the same - int codePointBefore(int index) - int codePointCount(int beginIndex, int endIndex) ArkTS: the same - int compareTo(String anotherString) ArkTS: the same - int compareToIgnoreCase(String str) - String concat(String str) ArkTS: the same - boolean contains(CharSequence s) ArkTS: contains(str: String, fromIndex: int): boolean - boolean contentEquals(CharSequence cs) - boolean contentEquals(StringBuffer sb) ArkTS: the same ????: contentEquals(sb: StringBuilder): boolean ??? StringBuffer != StringBuilder - static String copyValueOf(char[] data) - static String copyValueOf(char[] data, int offset, int count) - boolean endsWith(String suffix) ArkTS: the same - boolean equals(Object anObject) ArkTS: the same - boolean equalsIgnoreCase(String anotherString) - static String format(Locale l, String format, Object... args) - static String format(String format, Object... args) - byte[] getBytes() - byte[] getBytes(Charset charset) - void getBytes(int srcBegin, int srcEnd, byte[] dst, int dstBegin) - byte[] getBytes(String charsetName) - void getChars(int srcBegin, int srcEnd, char[] dst, int dstBegin) - int hashCode() ArkTS: the same - int indexOf(int ch) ArkTS: the same - int indexOf(int ch, int fromIndex) ArkTS: the same - int indexOf(String str) ArkTS: the same - int indexOf(String str, int fromIndex) ArkTS: the same - String intern() - boolean isEmpty() - static String join(CharSequence delimiter, CharSequence... elements) ArkTS: join(strings: String[], delim: String): String - static String join(CharSequence delimiter, Iterable elements) ArkTS: join(strings: String[], delim: String): String - int lastIndexOf(int ch) ArkTS: the same - int lastIndexOf(int ch, int fromIndex) ArkTS: the same - int lastIndexOf(String str) ArkTS: the same - int lastIndexOf(String str, int fromIndex) ArkTS: the same - int length() ArkTS: the same - boolean matches(String regex) - int offsetByCodePoints(int index, int codePointOffset) - boolean regionMatches(boolean ignoreCase, int toffset, String other, int ooffset, int len) - boolean regionMatches(int toffset, String other, int ooffset, int len) - String replace(char oldChar, char newChar) ArkTS: the same - String replace(CharSequence target, CharSequence replacement) - String replaceAll(String regex, String replacement) - String replaceFirst(String regex, String replacement) - String[] split(String regex) - String[] split(String regex, int limit) - boolean startsWith(String prefix) ArkTS: the same - boolean startsWith(String prefix, int toffset) ArkTS: the same - CharSequence subSequence(int beginIndex, int endIndex) - String substring(int beginIndex) ArkTS: the same - String substring(int beginIndex, int endIndex) ArkTS: the same - char[] toCharArray() - String toLowerCase() ArkTS: the same - String toLowerCase(Locale locale) - String toString() - String toUpperCase() ArkTS: the same - String toUpperCase(Locale locale) - String trim() ArkTS: the same - static String valueOf(boolean b) - static String valueOf(char c) ArkTS: static StringBuilder.toString(c: char): String - static String valueOf(char[] data) - static String valueOf(char[] data, int offset, int count) - static String valueOf(double d) ArkTS: static StringBuilder.toString(d: double): String - static String valueOf(float f) ArkTS: static StringBuilder.toString(f: float): String - static String valueOf(int i) ArkTS: static StringBuilder.toString(i: int): String - static String valueOf(long l) ArkTS: static StringBuilder.toString(l: long): String - static String valueOf(Object obj) - - java.lang.StringBuffer ==> std.core.StringBuilder ???? - - ==> std.core.StringBuilder - - StringBuilder() ArkTS: the same - StringBuilder(CharSequence seq) - StringBuilder(int capacity) - StringBuilder(String str) ArkTS: the same - - StringBuilder append(boolean b) - StringBuilder append(char c) ArkTS: the same - StringBuilder append(char[] str) - StringBuilder append(char[] str, int offset, int len) - StringBuilder append(CharSequence s) - StringBuilder append(CharSequence s, int start, int end) - StringBuilder append(double d) ArkTS: the same - StringBuilder append(float f) ArkTS: the same - StringBuilder append(int i) ArkTS: the same - StringBuilder append(long lng) ArkTS: the same - StringBuilder append(Object obj) - StringBuilder append(String str) ArkTS: the same - StringBuilder append(StringBuffer sb) - StringBuilder appendCodePoint(int codePoint) - int capacity() - char charAt(int index) - int codePointAt(int index) - int codePointBefore(int index) - int codePointCount(int beginIndex, int endIndex) - StringBuilder delete(int start, int end) - StringBuilder deleteCharAt(int index) - void ensureCapacity(int minimumCapacity) - void getChars(int srcBegin, int srcEnd, char[] dst, int dstBegin) - int indexOf(String str) - int indexOf(String str, int fromIndex) - StringBuilder insert(int offset, boolean b) - StringBuilder insert(int offset, char c) - StringBuilder insert(int offset, char[] str) - StringBuilder insert(int index, char[] str, int offset, int len) - StringBuilder insert(int dstOffset, CharSequence s) - StringBuilder insert(int dstOffset, CharSequence s, int start, int end) - StringBuilder insert(int offset, double d) - StringBuilder insert(int offset, float f) - StringBuilder insert(int offset, int i) - StringBuilder insert(int offset, long l) - StringBuilder insert(int offset, Object obj) - StringBuilder insert(int offset, String str) - int lastIndexOf(String str) - int lastIndexOf(String str, int fromIndex) - int length() - int offsetByCodePoints(int index, int codePointOffset) - StringBuilder replace(int start, int end, String str) - StringBuilder reverse() - void setCharAt(int index, char ch) - void setLength(int newLength) - CharSequence subSequence(int start, int end) - String substring(int start) - String substring(int start, int end) - String toString() ArkTS: the same - void trimToSize() - - - ==> std.core.System - - static PrintStream err - static InputStream in - static PrintStream out - - static void arraycopy(Object src, int srcPos, Object dest, int destPos, int length) - static String clearProperty(String key) - static Console console() - static long currentTimeMillis() - static void exit(int status) ArkTS: the same - static void gc() - static Map getenv() - static String getenv(String name) - static Properties getProperties() - static String getProperty(String key) - static String getProperty(String key, String def) - static SecurityManager getSecurityManager() - static int identityHashCode(Object x) - static Channel inheritedChannel() - static String lineSeparator() - static void load(String filename) - static void loadLibrary(String libname) - static String mapLibraryName(String libname) - static long nanoTime() - static void runFinalization() - static void runFinalizersOnExit(boolean value) - static void setErr(PrintStream err) - static void setIn(InputStream in) - static void setOut(PrintStream out) - static void setProperties(Properties props) - static String setProperty(String key, String value) - static void setSecurityManager(SecurityManager s) - - java.lang.Thread - java.lang.ThreadGroup - java.lang.ThreadLocal - java.lang.Throwable - java.lang.Void - // Enums: - java.lang.haracter.UnicodeScript - java.lang.rocessBuilder.Redirect.Type - java.lang.Thread.State - // Exceptions: - java.lang.ArithmeticException ==> std.core.StdExceptions.ArithmeticException - java.lang.ArrayIndexOutOfBoundsException ==> std.core.StdExceptions.ArrayIndexOutOfBoundsException - java.lang.ArrayStoreException - java.lang.ClassCastException - java.lang.ClassNotFoundException - java.lang.CloneNotSupportedException - java.lang.EnumConstantNotPresentException - java.lang.Exception ==> std.core.Exception, std.core.Panic - java.lang.IllegalAccessException - java.lang.IllegalArgumentException - java.lang.IllegalMonitorStateException - java.lang.IllegalStateException - java.lang.IllegalThreadStateException - java.lang.IndexOutOfBoundsException - java.lang.InstantiationException - java.lang.InterruptedException - java.lang.NegativeArraySizeException - java.lang.NoSuchFieldException - java.lang.NoSuchMethodException - java.lang.NullPointerException ==> std.core.StdPanics.NullPointerPanic - java.lang.NumberFormatException - java.lang.ReflectiveOperationException - java.lang.RuntimeException - java.lang.SecurityException - java.lang.StringIndexOutOfBoundsException - java.lang.TypeNotPresentException - java.lang.UnsupportedOperationException - // Errors: - java.lang.AbstractMethodError - java.lang.AssertionError - java.lang.BootstrapMethodError - java.lang.ClassCircularityError - java.lang.ClassFormatError - java.lang.Error - java.lang.ExceptionInInitializerError - java.lang.IllegalAccessError - java.lang.IncompatibleClassChangeError - java.lang.InstantiationError - java.lang.InternalError - java.lang.LinkageError - java.lang.NoClassDefFoundError - java.lang.NoSuchFieldError - java.lang.NoSuchMethodError - java.lang.OutOfMemoryError - java.lang.StackOverflowError - java.lang.ThreadDeath - java.lang.UnknownError - java.lang.UnsatisfiedLinkError - java.lang.UnsupportedClassVersionError - java.lang.VerifyError - java.lang.VirtualMachineError - // Annotation Types: - java.lang.Deprecated - java.lang.FunctionalInterface - java.lang.Override - java.lang.SafeVarargs - java.lang.SuppressWarnings - - - // Interfaces: - java.lang.reflect.AnnotatedArrayType - java.lang.reflect.AnnotatedElement - java.lang.reflect.AnnotatedParameterizedType - java.lang.reflect.AnnotatedType - java.lang.reflect.AnnotatedTypeVariable - java.lang.reflect.AnnotatedWildcardType - java.lang.reflect.GenericArrayType - java.lang.reflect.GenericDeclaration - java.lang.reflect.InvocationHandler - java.lang.reflect.Member - java.lang.reflect.ParameterizedType - java.lang.reflect.Type ==> std.core.Types ??? - java.lang.reflect.TypeVariable - java.lang.reflect.WildcardType - // Classes: - java.lang.reflect.AccessibleObject - java.lang.reflect.Array - java.lang.reflect.Constructor - java.lang.reflect.Executable - java.lang.reflect.Field - java.lang.reflect.Method - java.lang.reflect.Modifier - java.lang.reflect.Parameter - java.lang.reflect.Proxy - java.lang.reflect.ReflectPermission - // Exceptions: - java.lang.reflect.InvocationTargetException - java.lang.reflect.MalformedParameterizedTypeException - java.lang.reflect.MalformedParametersException - java.lang.reflect.UndeclaredThrowableException - // Errors: - java.lang.reflect.GenericSignatureFormatError - - - // Classes: - java.nio.Buffer - java.nio.ByteBuffer - java.nio.ByteOrder - java.nio.CharBuffer - java.nio.DoubleBuffer - java.nio.FloatBuffer - java.nio.IntBuffer - java.nio.LongBuffer - java.nio.MappedByteBuffer - java.nio.ShortBuffer - // Exceptions: - java.nio.ufferOverflowException - java.nio.ufferUnderflowException - java.nio.nvalidMarkException - java.nio.ReadOnlyBufferException - - - // Interfaces: - java.text.AttributedCharacterIterator - java.text.CharacterIterator - // Classes: - java.text.Annotation - java.text.AttributedCharacterIterator.Attribute - java.text.AttributedString - java.text.Bidi - java.text.BreakIterator - java.text.ChoiceFormat - java.text.CollationElementIterator - java.text.CollationKey - java.text.Collator - java.text.DateFormat - java.text.DateFormat.Field - java.text.DateFormatSymbols - java.text.DecimalFormat - java.text.DecimalFormatSymbols - java.text.FieldPosition - java.text.Format - java.text.Format.Field - java.text.MessageFormat - java.text.MessageFormat.Field - java.text.Normalizer - java.text.NumberFormat - java.text.NumberFormat.Field - java.text.ParsePosition - java.text.RuleBasedCollator - java.text.SimpleDateFormat - java.text.StringCharacterIterator - // Enums: - java.text.Normalizer.Form - // Exceptions: - java.text.ParseException - - - // Interfaces: - java.util.Collection - java.util.Comparator - java.util.Deque - java.util.Enumeration - java.util.EventListener - java.util.Formattable - java.util.Iterator - java.util.List - java.util.ListIterator - - ==> std.containers.Map - // In std.containers.Map is a class and in java.util.Map is a generic interface. So at the moement - // there is no equivalent mapping. - - void clear() - default V compute(K key, BiFunction remappingFunction) - default V computeIfAbsent(K key, Function mappingFunction) - default V computeIfPresent(K key, BiFunction remappingFunction) - boolean containsKey(Object key) - boolean containsValue(Object value) - Set entrySet() - boolean equals(Object o) - default void forEach(BiConsumer action) - V get(Object key) - default V getOrDefault(Object key, V defaultValue) - int hashCode() - boolean isEmpty() - Set keySet() - default V merge(K key, V value, BiFunction remappingFunction) - V put(K key, V value) - void putAll(Map m) - default V putIfAbsent(K key, V value) - V remove(Object key) - default boolean remove(Object key, Object value) - default V replace(K key, V value) - default boolean replace(K key, V oldValue, V newValue) - default void replaceAll(BiFunction function) - int size() - Collection values() - - java.util.Map.Entry - java.util.NavigableMap - java.util.NavigableSet - java.util.Observer - java.util.PrimitiveIterator - java.util.PrimitiveIterator.OfDouble - java.util.PrimitiveIterator.OfInt - java.util.PrimitiveIterator.OfLong - java.util.Queue - java.util.RandomAccess - - ==> std.containers.Set - // In std.containers.Set is a class and in java.util.Set is a generic interface. So at the moement - // there is no equivalent mapping. - - boolean add(E e) - boolean addAll(Collection c) - void clear() - boolean contains(Object o) - boolean containsAll(Collection c) - boolean equals(Object o) - int hashCode() - boolean isEmpty() - Iterator iterator() - boolean remove(Object o) - boolean removeAll(Collection c) - boolean retainAll(Collection c) - int size() - default Spliterator spliterator() - Object[] toArray() - T[] toArray(T[] a) - - java.util.SortedMap - java.util.SortedSet - java.util.Spliterator - java.util.Spliterator.OfDouble - java.util.Spliterator.OfInt - java.util.Spliterator.OfLong - java.util.Spliterator.OfPrimitive - // Classes: - java.util.AbstractCollection - java.util.AbstractList - java.util.AbstractMap - java.util.AbstractMap.SimpleEntry - java.util.AbstractMap.SimpleImmutableEntry - java.util.AbstractQueue - java.util.AbstractSequentialList - java.util.AbstractSet - java.util.ArrayDeque - java.util.ArrayList - - ==> std.core.Array - - static List asList(T... a) - static int binarySearch(byte[] a, byte key) - static int binarySearch(byte[] a, int fromIndex, int toIndex, byte key) - static int binarySearch(char[] a, char key) - static int binarySearch(char[] a, int fromIndex, int toIndex, char key) - static int binarySearch(double[] a, double key) - static int binarySearch(double[] a, int fromIndex, int toIndex, double key) - static int binarySearch(float[] a, float key) - static int binarySearch(float[] a, int fromIndex, int toIndex, float key) - static int binarySearch(int[] a, int key) ArkTS: static int binarySearch(int[] a, int key) - static int binarySearch(int[] a, int fromIndex, int toIndex, int key) ArkTS: function indexOf(arr: int[], key: int, startIndex: int, endIndex: int): int - static int binarySearch(long[] a, int fromIndex, int toIndex, long key) - static int binarySearch(long[] a, long key) - static int binarySearch(Object[] a, int fromIndex, int toIndex, Object key) - static int binarySearch(Object[] a, Object key) - static int binarySearch(short[] a, int fromIndex, int toIndex, short key) - static int binarySearch(short[] a, short key) - static int binarySearch(T[] a, int fromIndex, int toIndex, T key, Comparator c) - static int binarySearch(T[] a, T key, Comparator c) - static boolean[] copyOf(boolean[] original, int newLength) - static byte[] copyOf(byte[] original, int newLength) - static char[] copyOf(char[] original, int newLength) - static double[] copyOf(double[] original, int newLength) - static float[] copyOf(float[] original, int newLength) - static int[] copyOf(int[] original, int newLength) - static long[] copyOf(long[] original, int newLength) - static short[] copyOf(short[] original, int newLength) - static T[] copyOf(T[] original, int newLength) - static T[] copyOf(U[] original, int newLength, Class newType) - static boolean[] copyOfRange(boolean[] original, int from, int to) - static byte[] copyOfRange(byte[] original, int from, int to) - static char[] copyOfRange(char[] original, int from, int to) - static double[] copyOfRange(double[] original, int from, int to) - static float[] copyOfRange(float[] original, int from, int to) - static int[] copyOfRange(int[] original, int from, int to) ArkTS: function copyOf(arr: int[], startIndex: int, endIndex: int): int[] - static long[] copyOfRange(long[] original, int from, int to) - static short[] copyOfRange(short[] original, int from, int to) - static T[] copyOfRange(T[] original, int from, int to) - static T[] copyOfRange(U[] original, int from, int to, Class newType) - static boolean deepEquals(Object[] a1, Object[] a2) - static int deepHashCode(Object[] a) - static String deepToString(Object[] a) - static boolean equals(boolean[] a, boolean[] a2) - static boolean equals(byte[] a, byte[] a2) - static boolean equals(char[] a, char[] a2) - static boolean equals(double[] a, double[] a2) - static boolean equals(float[] a, float[] a2) - static boolean equals(int[] a, int[] a2) - static boolean equals(long[] a, long[] a2) - static boolean equals(Object[] a, Object[] a2) - static boolean equals(short[] a, short[] a2) - static void fill(boolean[] a, boolean val) - static void fill(boolean[] a, int fromIndex, int toIndex, boolean val) - static void fill(byte[] a, byte val) - static void fill(byte[] a, int fromIndex, int toIndex, byte val) - static void fill(char[] a, char val) - static void fill(char[] a, int fromIndex, int toIndex, char val) - static void fill(double[] a, double val) - static void fill(double[] a, int fromIndex, int toIndex, double val) - static void fill(float[] a, float val) - static void fill(float[] a, int fromIndex, int toIndex, float val) ArkTS: function fill(arr: int[], value: int, startIndex: int, endIndex: int): void - static void fill(int[] a, int val) ArkTS: the same - static void fill(int[] a, int fromIndex, int toIndex, int val) - static void fill(long[] a, int fromIndex, int toIndex, long val) - static void fill(long[] a, long val) - static void fill(Object[] a, int fromIndex, int toIndex, Object val) - static void fill(Object[] a, Object val) - static void fill(short[] a, int fromIndex, int toIndex, short val) - static void fill(short[] a, short val) - static int hashCode(boolean[] a) - static int hashCode(byte[] a) - static int hashCode(char[] a) - static int hashCode(double[] a) - static int hashCode(float[] a) - static int hashCode(int[] a) - static int hashCode(long[] a) - static int hashCode(Object[] a) - static int hashCode(short[] a) - static void parallelPrefix(double[] array, DoubleBinaryOperator op) - static void parallelPrefix(double[] array, int fromIndex, int toIndex, DoubleBinaryOperator op) - static void parallelPrefix(int[] array, IntBinaryOperator op) - static void parallelPrefix(int[] array, int fromIndex, int toIndex, IntBinaryOperator op) - static void parallelPrefix(long[] array, int fromIndex, int toIndex, LongBinaryOperator op) - static void parallelPrefix(long[] array, LongBinaryOperator op) - static void parallelPrefix(T[] array, BinaryOperator op) - static void parallelPrefix(T[] array, int fromIndex, int toIndex, BinaryOperator op) - static void parallelSetAll(double[] array, IntToDoubleFunction generator) - static void parallelSetAll(int[] array, IntUnaryOperator generator) - static void parallelSetAll(long[] array, IntToLongFunction generator) - static void parallelSetAll(T[] array, IntFunction generator) - static void parallelSort(byte[] a) - static void parallelSort(byte[] a, int fromIndex, int toIndex) - static void parallelSort(char[] a) - static void parallelSort(char[] a, int fromIndex, int toIndex) - static void parallelSort(double[] a) - static void parallelSort(double[] a, int fromIndex, int toIndex) - static void parallelSort(float[] a) - static void parallelSort(float[] a, int fromIndex, int toIndex) - static void parallelSort(int[] a) - static void parallelSort(int[] a, int fromIndex, int toIndex) - static void parallelSort(long[] a) - static void parallelSort(long[] a, int fromIndex, int toIndex) - static void parallelSort(short[] a) - static void parallelSort(short[] a, int fromIndex, int toIndex) - static void parallelSort(T[] a) - static void parallelSort(T[] a, Comparator cmp) - static void parallelSort(T[] a, int fromIndex, int toIndex) - static void parallelSort(T[] a, int fromIndex, int toIndex, Comparator cmp) - static void setAll(double[] array, IntToDoubleFunction generator) - static void setAll(int[] array, IntUnaryOperator generator) - static void setAll(long[] array, IntToLongFunction generator) - static void setAll(T[] array, IntFunction generator) - static void sort(byte[] a) - static void sort(byte[] a, int fromIndex, int toIndex) - static void sort(char[] a) - static void sort(char[] a, int fromIndex, int toIndex) - static void sort(double[] a) - static void sort(double[] a, int fromIndex, int toIndex) - static void sort(float[] a) - static void sort(float[] a, int fromIndex, int toIndex) - static void sort(int[] a) ArkTS: the same - static void sort(int[] a, int fromIndex, int toIndex) ArkTS: the same - static void sort(long[] a) - static void sort(long[] a, int fromIndex, int toIndex) - static void sort(Object[] a) - static void sort(Object[] a, int fromIndex, int toIndex) - static void sort(short[] a) - static void sort(short[] a, int fromIndex, int toIndex) - static void sort(T[] a, Comparator c) - static void sort(T[] a, int fromIndex, int toIndex, Comparator c) - static Spliterator.OfDouble spliterator(double[] array) - static Spliterator.OfDouble spliterator(double[] array, int startInclusive, int endExclusive) - static Spliterator.OfInt spliterator(int[] array) - static Spliterator.OfInt spliterator(int[] array, int startInclusive, int endExclusive) - static Spliterator.OfLong spliterator(long[] array) - static Spliterator.OfLong spliterator(long[] array, int startInclusive, int endExclusive) - static Spliterator spliterator(T[] array) - static Spliterator spliterator(T[] array, int startInclusive, int endExclusive) - static DoubleStream stream(double[] array) - static DoubleStream stream(double[] array, int startInclusive, int endExclusive) - static IntStream stream(int[] array) - static IntStream stream(int[] array, int startInclusive, int endExclusive) - static LongStream stream(long[] array) - static LongStream stream(long[] array, int startInclusive, int endExclusive) - static Stream stream(T[] array) - static Stream stream(T[] array, int startInclusive, int endExclusive) - static String toString(boolean[] a) - static String toString(byte[] a) - static String toString(char[] a) - static String toString(double[] a) - static String toString(float[] a) - static String toString(int[] a) - static String toString(long[] a) - static String toString(Object[] a) - static String toString(short[] a) - - java.util.Base64 - java.util.Base64.Decoder - java.util.Base64.Encoder - java.util.BitSet - java.util.Calendar - java.util.Calendar.Builder - java.util.Collections - java.util.Currency - - import ==> std.time.Date - There are no implemented methods to do mapping yet. - - java.util.Dictionary - java.util.DoubleSummaryStatistics - java.util.EnumMap - java.util.EnumSet - java.util.EventListenerProxy - java.util.EventObject - java.util.FormattableFlags - java.util.Formatter - java.util.GregorianCalendar - java.util.HashMap - java.util.HashSet - java.util.Hashtable - java.util.IdentityHashMap - java.util.IntSummaryStatistics - java.util.LinkedHashMap - java.util.LinkedHashSet - java.util.LinkedList - java.util.ListResourceBundle - java.util.Locale - java.util.Locale.Builder - java.util.Locale.LanguageRange - java.util.LongSummaryStatistics - java.util.Objects - java.util.Observable - java.util.Optional - java.util.OptionalDouble - java.util.OptionalInt - java.util.OptionalLong - java.util.PriorityQueue - java.util.Properties - java.util.PropertyPermission - java.util.PropertyResourceBundle - java.util.Random - java.util.ResourceBundle - java.util.ResourceBundle.Control - java.util.Scanner - java.util.ServiceLoader - java.util.SimpleTimeZone - java.util.Spliterators - java.util.Spliterators.AbstractDoubleSpliterator - java.util.Spliterators.AbstractIntSpliterator - java.util.Spliterators.AbstractLongSpliterator - java.util.Spliterators.AbstractSpliterator - java.util.SplittableRandom - java.util.Stack - java.util.StringJoiner - java.util.StringTokenizer - java.util.Timer - java.util.TimerTask - java.util.TimeZone - java.util.TreeMap - java.util.TreeSet - java.util.UUID - java.util.Vector - java.util.WeakHashMap - // Enums: - java.util.Formatter.BigDecimalLayoutForm - java.util.Locale.Category - java.util.Locale.FilteringMode - // Exceptions: - java.util.ConcurrentModificationException - java.util.DuplicateFormatFlagsException - java.util.EmptyStackException - java.util.FormatFlagsConversionMismatchException - java.util.FormatterClosedException - java.util.IllegalFormatCodePointException - java.util.IllegalFormatConversionException - java.util.IllegalFormatException - java.util.IllegalFormatFlagsException - java.util.IllegalFormatPrecisionException - java.util.IllegalFormatWidthException - java.util.IllformedLocaleException - java.util.InputMismatchException - java.util.InvalidPropertiesFormatException - java.util.MissingFormatArgumentException - java.util.MissingFormatWidthException - java.util.MissingResourceException - java.util.NoSuchElementException - java.util.TooManyListenersException - java.util.UnknownFormatConversionException - java.util.UnknownFormatFlagsException - // Errors: - java.util.ServiceConfigurationError - - diff --git a/migrator/docs/js-api-list.md b/migrator/docs/js-api-list.md new file mode 100644 index 000000000..e69de29bb diff --git a/migrator/docs/ts-api-list.md b/migrator/docs/ts-api-list.md new file mode 100644 index 000000000..e69de29bb -- Gitee From d8256c55503de198e2d584ed1f1b745225927f31 Mon Sep 17 00:00:00 2001 From: Orlovsky Maxim Date: Wed, 28 Dec 2022 15:39:23 +0300 Subject: [PATCH 3/7] [Migrator] Properly formatted java-api-list.md Signed-off-by: Orlovsky Maxim --- migrator/docs/java-api-list.md | 627 +++++++++++++++++---------------- 1 file changed, 314 insertions(+), 313 deletions(-) diff --git a/migrator/docs/java-api-list.md b/migrator/docs/java-api-list.md index 94f684c84..7f4056813 100644 --- a/migrator/docs/java-api-list.md +++ b/migrator/docs/java-api-list.md @@ -114,407 +114,408 @@ - [java.util.Arrays](#javautilarrays) -## java.io +## java.io -### java.io.Closeable +### java.io.Closeable -### java.io.DataInput +### java.io.DataInput -### java.io.DataOutput +### java.io.DataOutput -### java.io.Externalizable +### java.io.Externalizable -### java.io.FileFilter +### java.io.FileFilter -### java.io.FilenameFilter +### java.io.FilenameFilter -### java.io.Flushable +### java.io.Flushable -### java.io.ObjectInput +### java.io.ObjectInput -### java.io.ObjectInputValidation +### java.io.ObjectInputValidation -### java.io.ObjectOutput +### java.io.ObjectOutput -### java.io.ObjectStreamConstants +### java.io.ObjectStreamConstants -### java.io.Serializable +### java.io.Serializable -### java.io.BufferedInputStream +### java.io.BufferedInputStream -### java.io.BufferedOutputStream +### java.io.BufferedOutputStream -### java.io.BufferedReader +### java.io.BufferedReader -### java.io.BufferedWriter +### java.io.BufferedWriter -### java.io.ByteArrayInputStream +### java.io.ByteArrayInputStream -### java.io.ByteArrayOutputStream +### java.io.ByteArrayOutputStream -### java.io.CharArrayReader +### java.io.CharArrayReader -### java.io.CharArrayWriter +### java.io.CharArrayWriter -### java.io.Console +### java.io.Console -### java.io.DataInputStream +### java.io.DataInputStream -### java.io.DataOutputStream +### java.io.DataOutputStream -### java.io.File +### java.io.File -### java.io.FileDescriptor +### java.io.FileDescriptor -### java.io.FileInputStream +### java.io.FileInputStream -### java.io.FileOutputStream +### java.io.FileOutputStream -### java.io.FilePermission +### java.io.FilePermission -### java.io.FileReader +### java.io.FileReader -### java.io.FileWriter +### java.io.FileWriter -### java.io.FilterInputStream +### java.io.FilterInputStream -### java.io.FilterOutputStream +### java.io.FilterOutputStream -### java.io.FilterReader +### java.io.FilterReader -### java.io.FilterWriter +### java.io.FilterWriter -### java.io.InputStream +### java.io.InputStream -### java.io.InputStreamReader +### java.io.InputStreamReader -### java.io.LineNumberInputStream +### java.io.LineNumberInputStream -### java.io.LineNumberReader +### java.io.LineNumberReader -### java.io.ObjectInputStream +### java.io.ObjectInputStream -### java.io.ObjectInputStream.GetField +### java.io.ObjectInputStream.GetField -### java.io.ObjectOutputStream +### java.io.ObjectOutputStream -### java.io.ObjectOutputStream.PutField +### java.io.ObjectOutputStream.PutField -### java.io.ObjectStreamClass +### java.io.ObjectStreamClass -### java.io.ObjectStreamField +### java.io.ObjectStreamField -### java.io.OutputStream +### java.io.OutputStream -### java.io.OutputStreamWriter +### java.io.OutputStreamWriter -### java.io.PipedInputStream +### java.io.PipedInputStream -### java.io.PipedOutputStream +### java.io.PipedOutputStream -### java.io.PipedReader +### java.io.PipedReader -### java.io.PipedWriter +### java.io.PipedWriter -### java.io.PrintStream +### java.io.PrintStream -### java.io.PrintWriter +### java.io.PrintWriter -### java.io.PushbackInputStream +### java.io.PushbackInputStream -### java.io.PushbackReader +### java.io.PushbackReader -### java.io.RandomAccessFile +### java.io.RandomAccessFile -### java.io.Reader +### java.io.Reader -### java.io.SequenceInputStream +### java.io.SequenceInputStream -### java.io.SerializablePermission +### java.io.SerializablePermission -### java.io.StreamTokenizer +### java.io.StreamTokenizer -### java.io.StringBufferInputStream +### java.io.StringBufferInputStream -### java.io.StringReader +### java.io.StringReader -### java.io.StringWriter +### java.io.StringWriter -### java.io.Writer +### java.io.Writer -### java.io.CharConversionException +### java.io.CharConversionException -### java.io.EOFException +### java.io.EOFException -### java.io.FileNotFoundException +### java.io.FileNotFoundException -### java.io.InterruptedIOException +### java.io.InterruptedIOException -### java.io.InvalidClassException +### java.io.InvalidClassException -### java.io.InvalidObjectException +### java.io.InvalidObjectException -### java.io.IOException +### java.io.IOException -### java.io.NotActiveException +### java.io.NotActiveException -### java.io.NotSerializableException +### java.io.NotSerializableException -### java.io.ObjectStreamException +### java.io.ObjectStreamException -### java.io.OptionalDataException +### java.io.OptionalDataException -### java.io.StreamCorruptedException +### java.io.StreamCorruptedException -### java.io.SyncFailedException +### java.io.SyncFailedException -### java.io.UncheckedIOException +### java.io.UncheckedIOException -### java.io.UnsupportedEncodingException +### java.io.UnsupportedEncodingException -### java.io.UTFDataFormatException +### java.io.UTFDataFormatException -### java.io.WriteAbortedException +### java.io.WriteAbortedException -### java.io.IOError +### java.io.IOError -## java.lang +## java.lang -### java.lang.Appendable +### java.lang.Appendable -### java.lang.AutoCloseable +### java.lang.AutoCloseable -### java.lang.CharSequence +### java.lang.CharSequence -### java.lang.Cloneable +### java.lang.Cloneable -### java.lang.Comparable +### java.lang.Comparable -### java.lang.Iterable +### java.lang.Iterable -### java.lang.Readable +### java.lang.Readable -### java.lang.Runnable +### java.lang.Runnable -### java.lang.Thread.UncaughtExceptionHandler +### java.lang.Thread.UncaughtExceptionHandler -### java.lang.Boolean +### java.lang.Boolean -| Type | Java | ArkTS | Status | -| ------ | ---------------------------------------------------- | ------------------------------------------ | ------ | -| Class | java.lang.Comparable | std.core.Comparable | Done | -| Member | static Boolean FALSE | | Done | -| Member | static Boolean TRUE | | Done | -| Member | static Class\ TYPE | | | -| Method | Boolean(boolean value) | | Done | -| Method | Boolean(String s) | | | -| Method | boolean booleanValue() | function unboxed(): boolean | | -| Method | static int compare(boolean x, boolean y) | function compareTo(other: Boolean): int | | -| Method | int compareTo(Boolean b) | | Done | -| Method | boolean equals(Object obj) | | Done | -| Method | static boolean getBoolean(String name) | | | -| Method | int hashCode() | | Done | -| Method | static int hashCode(boolean value) | function hashCode(): int | | -| Method | static boolean logicalAnd(boolean a, boolean b) | | | -| Method | static boolean logicalOr(boolean a, boolean b) | | | -| Method | static boolean logicalXor(boolean a, boolean b) | | | -| Method | static boolean parseBoolean(String s) | | | -| Method | String toString() | | Done | -| Method | static String toString(boolean b) | function toString(): String | | -| Method | static Boolean valueOf(boolean b) | | Done | -| Method | static Boolean valueOf(String s) | | | - -### java.lang.Byte -| Type | Java | ArkTS | Status | -| ------ | ----------------------------------------------- | ------------------------------------ | ------ | -| Class | java.lang.Byte | std.core.Byte | Done | -| Member | static int BYTES | BYTE_SIZE | | -| Member | static byte MAX_VALUE | | Done | -| Member | static byte MIN_VALUE | | Done | -| Member | static int SIZE | BIT_SIZE | | -| Member | static Class\ TYPE | | | -| Method | Byte(byte value) | | Done | -| Method | Byte(String s) | | | -| Method | byte byteValue() | | Done | -| Method | static int compare(byte x, byte y) | new Byte(x).compareTo(new Byte(y)) | | -| Method | int compareTo(Byte anotherByte) | | Done | -| Method | static Byte decode(String nm) | | | -| Method | double doubleValue() | | Done | -| Method | boolean equals(Object obj) | | Done | -| Method | float floatValue() | | Done | -| Method | int hashCode() | | Done | -| Method | static int hashCode(byte value) | | | -| Method | int intValue() | | Done | -| Method | long longValue() | | Done | -| Method | static byte parseByte(String s) | | | -| Method | static byte parseByte(String s, int radix) | | | -| Method | short shortValue() | | Done | -| Method | String toString() | | Done | -| Method | static String toString(byte b) | new Byte(b).toString() | | -| Method | static int toUnsignedInt(byte x) | | | -| Method | static long toUnsignedLong(byte x) | | | -| Method | static Byte valueOf(byte b) | | | -| Method | static Byte valueOf(String s) | | | -| Method | static Byte valueOf(String s, int radix) | | | - -### java.lang.Character - -| Type | Java | ArkTS | Status | -| ------ | -------------------------------------------------------------------------------------------------------- | -------------------------------------------- | ------ | -| Class | java.lang.Character | std.core.Character | Done | -| Member | static int BYTES | | | -| Member | static byte COMBINING_SPACING_MARK | | | -| Member | static byte CONNECTOR_PUNCTUATION | | | -| Member | static byte CONTROL | | | -| Member | static byte CURRENCY_SYMBOL | | | -| Member | static byte DASH_PUNCTUATION | | | -| Member | static byte DECIMAL_DIGIT_NUMBER | | | -| Member | static byte DIRECTIONALITY_ARABIC_NUMBER | | | -| Member | static byte DIRECTIONALITY_BOUNDARY_NEUTRAL | | | -| Member | static byte DIRECTIONALITY_COMMON_NUMBER_SEPARATOR | | | -| Member | static byte DIRECTIONALITY_EUROPEAN_NUMBER | | | -| Member | static byte DIRECTIONALITY_EUROPEAN_NUMBER_SEPARATOR | | | -| Member | static byte DIRECTIONALITY_EUROPEAN_NUMBER_TERMINATOR | | | -| Member | static byte DIRECTIONALITY_LEFT_TO_RIGHT | | | -| Member | static byte DIRECTIONALITY_LEFT_TO_RIGHT_EMBEDDING | | | -| Member | static byte DIRECTIONALITY_LEFT_TO_RIGHT_OVERRIDE | | | -| Member | static byte DIRECTIONALITY_NONSPACING_MARK | | | -| Member | static byte DIRECTIONALITY_OTHER_NEUTRALS | | | -| Member | static byte DIRECTIONALITY_PARAGRAPH_SEPARATOR | | | -| Member | static byte DIRECTIONALITY_POP_DIRECTIONAL_FORMAT | | | -| Member | static byte DIRECTIONALITY_RIGHT_TO_LEFT | | | -| Member | static byte DIRECTIONALITY_RIGHT_TO_LEFT_ARABIC | | | -| Member | static byte DIRECTIONALITY_RIGHT_TO_LEFT_EMBEDDING | | | -| Member | static byte DIRECTIONALITY_RIGHT_TO_LEFT_OVERRIDE | | | -| Member | static byte DIRECTIONALITY_SEGMENT_SEPARATOR | | | -| Member | static byte DIRECTIONALITY_UNDEFINED | | | -| Member | static byte DIRECTIONALITY_WHITESPACE | | | -| Member | static byte ENCLOSING_MARK | | | -| Member | static byte END_PUNCTUATION | | | -| Member | static byte FINAL_QUOTE_PUNCTUATION | | | -| Member | static byte FORMAT | | | -| Member | static byte INITIAL_QUOTE_PUNCTUATION | | | -| Member | static byte LETTER_NUMBER | | | -| Member | static byte LINE_SEPARATOR | | | -| Member | static byte LOWERCASE_LETTER | | | -| Member | static byte MATH_SYMBOL | | | -| Member | static int MAX_CODE_POINT | | | -| Member | static char MAX_HIGH_SURROGATE | HIGH_SURROGATE_MAX | | -| Member | static char MAX_LOW_SURROGATE | LOW_SURROGATE_MAX | | -| Member | static int MAX_RADIX | | | -| Member | static char MAX_SURROGATE | | | -| Member | static char MAX_VALUE | | | -| Member | static int MIN_CODE_POINT | | | -| Member | static char MIN_HIGH_SURROGATE | HIGH_SURROGATE_MIN | | -| Member | static char MIN_LOW_SURROGATE | LOW_SURROGATE_MIN | | -| Member | static int MIN_RADIX | | | -| Member | static int MIN_SUPPLEMENTARY_CODE_POINT | | | -| Member | static char MIN_SURROGATE | | | -| Member | static char MIN_VALUE | | | -| Member | static byte MODIFIER_LETTER | | | -| Member | static byte MODIFIER_SYMBOL | | | -| Member | static byte NON_SPACING_MARK | | | -| Member | static byte OTHER_LETTER | | | -| Member | static byte OTHER_NUMBER | | | -| Member | static byte OTHER_PUNCTUATION | | | -| Member | static byte OTHER_SYMBOL | | | -| Member | static byte PARAGRAPH_SEPARATOR | | | -| Member | static byte PRIVATE_USE | | | -| Member | static int SIZE | CHAR_BIT_SIZE | | -| Member | static byte SPACE_SEPARATOR | | | -| Member | static byte START_PUNCTUATION | | | -| Member | static byte SURROGATE | | | -| Member | static byte TITLECASE_LETTER | | | -| Member | static Class\ TYPE | | | -| Member | static byte UNASSIGNED | | | -| Member | static byte UPPERCASE_LETTER | | | -| Method | Character(char value) | | Done | -| Method | static int charCount(int codePoint) | | | -| Method | char charValue() | | | -| Method | static int codePointAt(char[] a, int index) | | | -| Method | static int codePointAt(char[] a, int index, int limit) | | | -| Method | static int codePointAt(CharSequence seq, int index) | | | -| Method | static int codePointBefore(char[] a, int index) | | | -| Method | static int codePointBefore(char[] a, int index, int start) | | | -| Method | static int codePointBefore(CharSequence seq, int index) | | | -| Method | static int codePointCount(char[] a, int offset, int count) | | | -| Method | static int codePointCount(CharSequence seq, int beginIndex, int endIndex) | | | -| Method | static int compare(char x, char y) | new Char(x).compareTo(new Char(y)) | | -| Method | int compareTo(Character anotherCharacter) | | Done | -| Method | static int digit(char ch, int radix) | | | -| Method | static int digit(int codePoint, int radix) | | | -| Method | boolean equals(Object obj) | | Done | -| Method | static char forDigit(int digit, int radix) | | | -| Method | static byte getDirectionality(char ch) | | | -| Method | static byte getDirectionality(int codePoint) | | | -| Method | static String getName(int codePoint) | | | -| Method | static int getNumericValue(char ch) | | | -| Method | static int getNumericValue(int codePoint) | | | -| Method | static int getType(char ch) | | | -| Method | static int getType(int codePoint) | | | -| Method | int hashCode() | | Done | -| Method | static int hashCode(char value) | | Done | -| Method | static char highSurrogate(int codePoint) | static getHighSurrogate(value: int): char | | -| Method | static boolean isAlphabetic(int codePoint) | | | -| Method | static boolean isBmpCodePoint(int codePoint) | | | -| Method | static boolean isDefined(char ch) | | | -| Method | static boolean isDefined(int codePoint) | | | -| Method | static boolean isDigit(char ch) | static isDecDigit(value: char): boolean | | -| Method | static boolean isDigit(int codePoint) | | | -| Method | static boolean isHighSurrogate(char ch) | | Done | -| Method | static boolean isIdentifierIgnorable(char ch) | | | -| Method | static boolean isIdentifierIgnorable(int codePoint) | | | -| Method | static boolean isIdeographic(int codePoint) | | | -| Method | static boolean isISOControl(char ch) | | | -| Method | static boolean isISOControl(int codePoint) | | | -| Method | static boolean isJavaIdentifierPart(char ch) | | | -| Method | static boolean isJavaIdentifierPart(int codePoint) | | | -| Method | static boolean isJavaIdentifierStart(char ch) | | | -| Method | static boolean isJavaIdentifierStart(int codePoint) | | | -| Method | static boolean isJavaLetter(char ch) | | | -| Method | static boolean isJavaLetterOrDigit(char ch) | | | -| Method | static boolean isLetter(char ch) | | | -| Method | static boolean isLetter(int codePoint) | | Done | -| Method | static boolean isLetterOrDigit(char ch) | | | -| Method | static boolean isLetterOrDigit(int codePoint) | | | -| Method | static boolean isLowerCase(char ch) | | Done | -| Method | static boolean isLowerCase(int codePoint) | | | -| Method | static boolean isLowSurrogate(char ch) | | Done | -| Method | static boolean isMirrored(char ch) | | | -| Method | static boolean isMirrored(int codePoint) | | | -| Method | static boolean isSpace(char ch) | | | -| Method | static boolean isSpaceChar(char ch) | | | -| Method | static boolean isSpaceChar(int codePoint) | | | -| Method | static boolean isSupplementaryCodePoint(int codePoint) | | | -| Method | static boolean isSurrogate(char ch) | | | -| Method | static boolean isSurrogatePair(char high, char low) | | | -| Method | static boolean isTitleCase(char ch) | | | -| Method | static boolean isTitleCase(int codePoint) | | | -| Method | static boolean isUnicodeIdentifierPart(char ch) | | | -| Method | static boolean isUnicodeIdentifierPart(int codePoint) | | | -| Method | static boolean isUnicodeIdentifierStart(char ch) | | | -| Method | static boolean isUnicodeIdentifierStart(int codePoint) | | | -| Method | static boolean isUpperCase(char ch) | | Done | -| Method | static boolean isUpperCase(int codePoint) | | | -| Method | static boolean isValidCodePoint(int codePoint) | | | -| Method | static boolean isWhitespace(char ch) | | Done | -| Method | static boolean isWhitespace(int codePoint) | | | -| Method | static char lowSurrogate(int codePoint) | static getLowSurrogate(value: int): char | | -| Method | static int offsetByCodePoints(char[] a, int start, int count, int index, int codePointOffset) | | | -| Method | static int offsetByCodePoints(CharSequence seq, int index, int codePointOffset) | | | -| Method | static char reverseBytes(char ch) | | | -| Method | static char[] toChars(int codePoint) | | | -| Method | static int toChars(int codePoint, char[] dst, int dstIndex) | | | -| Method | static int toCodePoint(char high, char low) | | | -| Method | static char toLowerCase(char ch) | | Done | -| Method | static int toLowerCase(int codePoint) | | | -| Method | String toString() | | | -| Method | static String toString(char c) | | | -| Method | static char toTitleCase(char ch) | | | -| Method | static int toTitleCase(int codePoint) | | | -| Method | static char toUpperCase(char ch) | | Done | -| Method | static int toUpperCase(int codePoint) | | | -| Method | static Character valueOf(char c) | | Done | +| Type | Java | ArkTS | Status | +| ------ | ----------------------------------------------- | --------------------------------------- | ------ | +| Class | java.lang.Comparable | std.core.Comparable | Done | +| Member | static Boolean FALSE | | Done | +| Member | static Boolean TRUE | | Done | +| Member | static Class\ TYPE | | | +| Method | Boolean(boolean value) | | Done | +| Method | Boolean(String s) | | | +| Method | boolean booleanValue() | function unboxed(): boolean | | +| Method | static int compare(boolean x, boolean y) | function compareTo(other: Boolean): int | | +| Method | int compareTo(Boolean b) | | Done | +| Method | boolean equals(Object obj) | | Done | +| Method | static boolean getBoolean(String name) | | | +| Method | int hashCode() | | Done | +| Method | static int hashCode(boolean value) | function hashCode(): int | | +| Method | static boolean logicalAnd(boolean a, boolean b) | | | +| Method | static boolean logicalOr(boolean a, boolean b) | | | +| Method | static boolean logicalXor(boolean a, boolean b) | | | +| Method | static boolean parseBoolean(String s) | | | +| Method | String toString() | | Done | +| Method | static String toString(boolean b) | function toString(): String | | +| Method | static Boolean valueOf(boolean b) | | Done | +| Method | static Boolean valueOf(String s) | | | + +### java.lang.Byte + +| Type | Java | ArkTS | Status | +| ------ | ------------------------------------------ | ---------------------------------- | ------ | +| Class | java.lang.Byte | std.core.Byte | Done | +| Member | static int BYTES | BYTE_SIZE | | +| Member | static byte MAX_VALUE | | Done | +| Member | static byte MIN_VALUE | | Done | +| Member | static int SIZE | BIT_SIZE | | +| Member | static Class\ TYPE | | | +| Method | Byte(byte value) | | Done | +| Method | Byte(String s) | | | +| Method | byte byteValue() | | Done | +| Method | static int compare(byte x, byte y) | new Byte(x).compareTo(new Byte(y)) | | +| Method | int compareTo(Byte anotherByte) | | Done | +| Method | static Byte decode(String nm) | | | +| Method | double doubleValue() | | Done | +| Method | boolean equals(Object obj) | | Done | +| Method | float floatValue() | | Done | +| Method | int hashCode() | | Done | +| Method | static int hashCode(byte value) | | | +| Method | int intValue() | | Done | +| Method | long longValue() | | Done | +| Method | static byte parseByte(String s) | | | +| Method | static byte parseByte(String s, int radix) | | | +| Method | short shortValue() | | Done | +| Method | String toString() | | Done | +| Method | static String toString(byte b) | new Byte(b).toString() | | +| Method | static int toUnsignedInt(byte x) | | | +| Method | static long toUnsignedLong(byte x) | | | +| Method | static Byte valueOf(byte b) | | | +| Method | static Byte valueOf(String s) | | | +| Method | static Byte valueOf(String s, int radix) | | | + +### java.lang.Character + +| Type | Java | ArkTS | Status | +| ------ | --------------------------------------------------------------------------------------------- | ----------------------------------------- | ------ | +| Class | java.lang.Character | std.core.Character | Done | +| Member | static int BYTES | | | +| Member | static byte COMBINING_SPACING_MARK | | | +| Member | static byte CONNECTOR_PUNCTUATION | | | +| Member | static byte CONTROL | | | +| Member | static byte CURRENCY_SYMBOL | | | +| Member | static byte DASH_PUNCTUATION | | | +| Member | static byte DECIMAL_DIGIT_NUMBER | | | +| Member | static byte DIRECTIONALITY_ARABIC_NUMBER | | | +| Member | static byte DIRECTIONALITY_BOUNDARY_NEUTRAL | | | +| Member | static byte DIRECTIONALITY_COMMON_NUMBER_SEPARATOR | | | +| Member | static byte DIRECTIONALITY_EUROPEAN_NUMBER | | | +| Member | static byte DIRECTIONALITY_EUROPEAN_NUMBER_SEPARATOR | | | +| Member | static byte DIRECTIONALITY_EUROPEAN_NUMBER_TERMINATOR | | | +| Member | static byte DIRECTIONALITY_LEFT_TO_RIGHT | | | +| Member | static byte DIRECTIONALITY_LEFT_TO_RIGHT_EMBEDDING | | | +| Member | static byte DIRECTIONALITY_LEFT_TO_RIGHT_OVERRIDE | | | +| Member | static byte DIRECTIONALITY_NONSPACING_MARK | | | +| Member | static byte DIRECTIONALITY_OTHER_NEUTRALS | | | +| Member | static byte DIRECTIONALITY_PARAGRAPH_SEPARATOR | | | +| Member | static byte DIRECTIONALITY_POP_DIRECTIONAL_FORMAT | | | +| Member | static byte DIRECTIONALITY_RIGHT_TO_LEFT | | | +| Member | static byte DIRECTIONALITY_RIGHT_TO_LEFT_ARABIC | | | +| Member | static byte DIRECTIONALITY_RIGHT_TO_LEFT_EMBEDDING | | | +| Member | static byte DIRECTIONALITY_RIGHT_TO_LEFT_OVERRIDE | | | +| Member | static byte DIRECTIONALITY_SEGMENT_SEPARATOR | | | +| Member | static byte DIRECTIONALITY_UNDEFINED | | | +| Member | static byte DIRECTIONALITY_WHITESPACE | | | +| Member | static byte ENCLOSING_MARK | | | +| Member | static byte END_PUNCTUATION | | | +| Member | static byte FINAL_QUOTE_PUNCTUATION | | | +| Member | static byte FORMAT | | | +| Member | static byte INITIAL_QUOTE_PUNCTUATION | | | +| Member | static byte LETTER_NUMBER | | | +| Member | static byte LINE_SEPARATOR | | | +| Member | static byte LOWERCASE_LETTER | | | +| Member | static byte MATH_SYMBOL | | | +| Member | static int MAX_CODE_POINT | | | +| Member | static char MAX_HIGH_SURROGATE | HIGH_SURROGATE_MAX | | +| Member | static char MAX_LOW_SURROGATE | LOW_SURROGATE_MAX | | +| Member | static int MAX_RADIX | | | +| Member | static char MAX_SURROGATE | | | +| Member | static char MAX_VALUE | | | +| Member | static int MIN_CODE_POINT | | | +| Member | static char MIN_HIGH_SURROGATE | HIGH_SURROGATE_MIN | | +| Member | static char MIN_LOW_SURROGATE | LOW_SURROGATE_MIN | | +| Member | static int MIN_RADIX | | | +| Member | static int MIN_SUPPLEMENTARY_CODE_POINT | | | +| Member | static char MIN_SURROGATE | | | +| Member | static char MIN_VALUE | | | +| Member | static byte MODIFIER_LETTER | | | +| Member | static byte MODIFIER_SYMBOL | | | +| Member | static byte NON_SPACING_MARK | | | +| Member | static byte OTHER_LETTER | | | +| Member | static byte OTHER_NUMBER | | | +| Member | static byte OTHER_PUNCTUATION | | | +| Member | static byte OTHER_SYMBOL | | | +| Member | static byte PARAGRAPH_SEPARATOR | | | +| Member | static byte PRIVATE_USE | | | +| Member | static int SIZE | CHAR_BIT_SIZE | | +| Member | static byte SPACE_SEPARATOR | | | +| Member | static byte START_PUNCTUATION | | | +| Member | static byte SURROGATE | | | +| Member | static byte TITLECASE_LETTER | | | +| Member | static Class\ TYPE | | | +| Member | static byte UNASSIGNED | | | +| Member | static byte UPPERCASE_LETTER | | | +| Method | Character(char value) | | Done | +| Method | static int charCount(int codePoint) | | | +| Method | char charValue() | | | +| Method | static int codePointAt(char[] a, int index) | | | +| Method | static int codePointAt(char[] a, int index, int limit) | | | +| Method | static int codePointAt(CharSequence seq, int index) | | | +| Method | static int codePointBefore(char[] a, int index) | | | +| Method | static int codePointBefore(char[] a, int index, int start) | | | +| Method | static int codePointBefore(CharSequence seq, int index) | | | +| Method | static int codePointCount(char[] a, int offset, int count) | | | +| Method | static int codePointCount(CharSequence seq, int beginIndex, int endIndex) | | | +| Method | static int compare(char x, char y) | new Char(x).compareTo(new Char(y)) | | +| Method | int compareTo(Character anotherCharacter) | | Done | +| Method | static int digit(char ch, int radix) | | | +| Method | static int digit(int codePoint, int radix) | | | +| Method | boolean equals(Object obj) | | Done | +| Method | static char forDigit(int digit, int radix) | | | +| Method | static byte getDirectionality(char ch) | | | +| Method | static byte getDirectionality(int codePoint) | | | +| Method | static String getName(int codePoint) | | | +| Method | static int getNumericValue(char ch) | | | +| Method | static int getNumericValue(int codePoint) | | | +| Method | static int getType(char ch) | | | +| Method | static int getType(int codePoint) | | | +| Method | int hashCode() | | Done | +| Method | static int hashCode(char value) | | Done | +| Method | static char highSurrogate(int codePoint) | static getHighSurrogate(value: int): char | | +| Method | static boolean isAlphabetic(int codePoint) | | | +| Method | static boolean isBmpCodePoint(int codePoint) | | | +| Method | static boolean isDefined(char ch) | | | +| Method | static boolean isDefined(int codePoint) | | | +| Method | static boolean isDigit(char ch) | static isDecDigit(value: char): boolean | | +| Method | static boolean isDigit(int codePoint) | | | +| Method | static boolean isHighSurrogate(char ch) | | Done | +| Method | static boolean isIdentifierIgnorable(char ch) | | | +| Method | static boolean isIdentifierIgnorable(int codePoint) | | | +| Method | static boolean isIdeographic(int codePoint) | | | +| Method | static boolean isISOControl(char ch) | | | +| Method | static boolean isISOControl(int codePoint) | | | +| Method | static boolean isJavaIdentifierPart(char ch) | | | +| Method | static boolean isJavaIdentifierPart(int codePoint) | | | +| Method | static boolean isJavaIdentifierStart(char ch) | | | +| Method | static boolean isJavaIdentifierStart(int codePoint) | | | +| Method | static boolean isJavaLetter(char ch) | | | +| Method | static boolean isJavaLetterOrDigit(char ch) | | | +| Method | static boolean isLetter(char ch) | | | +| Method | static boolean isLetter(int codePoint) | | Done | +| Method | static boolean isLetterOrDigit(char ch) | | | +| Method | static boolean isLetterOrDigit(int codePoint) | | | +| Method | static boolean isLowerCase(char ch) | | Done | +| Method | static boolean isLowerCase(int codePoint) | | | +| Method | static boolean isLowSurrogate(char ch) | | Done | +| Method | static boolean isMirrored(char ch) | | | +| Method | static boolean isMirrored(int codePoint) | | | +| Method | static boolean isSpace(char ch) | | | +| Method | static boolean isSpaceChar(char ch) | | | +| Method | static boolean isSpaceChar(int codePoint) | | | +| Method | static boolean isSupplementaryCodePoint(int codePoint) | | | +| Method | static boolean isSurrogate(char ch) | | | +| Method | static boolean isSurrogatePair(char high, char low) | | | +| Method | static boolean isTitleCase(char ch) | | | +| Method | static boolean isTitleCase(int codePoint) | | | +| Method | static boolean isUnicodeIdentifierPart(char ch) | | | +| Method | static boolean isUnicodeIdentifierPart(int codePoint) | | | +| Method | static boolean isUnicodeIdentifierStart(char ch) | | | +| Method | static boolean isUnicodeIdentifierStart(int codePoint) | | | +| Method | static boolean isUpperCase(char ch) | | Done | +| Method | static boolean isUpperCase(int codePoint) | | | +| Method | static boolean isValidCodePoint(int codePoint) | | | +| Method | static boolean isWhitespace(char ch) | | Done | +| Method | static boolean isWhitespace(int codePoint) | | | +| Method | static char lowSurrogate(int codePoint) | static getLowSurrogate(value: int): char | | +| Method | static int offsetByCodePoints(char[] a, int start, int count, int index, int codePointOffset) | | | +| Method | static int offsetByCodePoints(CharSequence seq, int index, int codePointOffset) | | | +| Method | static char reverseBytes(char ch) | | | +| Method | static char[] toChars(int codePoint) | | | +| Method | static int toChars(int codePoint, char[] dst, int dstIndex) | | | +| Method | static int toCodePoint(char high, char low) | | | +| Method | static char toLowerCase(char ch) | | Done | +| Method | static int toLowerCase(int codePoint) | | | +| Method | String toString() | | | +| Method | static String toString(char c) | | | +| Method | static char toTitleCase(char ch) | | | +| Method | static int toTitleCase(int codePoint) | | | +| Method | static char toUpperCase(char ch) | | Done | +| Method | static int toUpperCase(int codePoint) | | | +| Method | static Character valueOf(char c) | | Done | ### java.lang.Double @@ -664,9 +665,9 @@ | Method | String toString() | | Done | | Method | static String toString(int i) | new Int(i).toString() | | | Method | static String toString(int i, int radix) | | | -| Method | static long toUnsignedLong(int x) | | | -| Method | static String toUnsignedString(int i) | | | -| Method | static String toUnsignedString(int i, int radix) | | | +| Method | static long toUnsignedLong(int x) | | | +| Method | static String toUnsignedString(int i) | | | +| Method | static String toUnsignedString(int i, int radix) | | | | Method | static Integer valueOf(int i) | | Done | | Method | static Integer valueOf(String s) | | | | Method | static Integer valueOf(String s, int radix) | | | @@ -1191,7 +1192,7 @@ | | static int binarySearch(double[] a, int fromIndex, int toIndex, double key) | | | | | static int binarySearch(float[] a, float key) | | | | | static int binarySearch(float[] a, int fromIndex, int toIndex, float key) | | | -| | static int binarySearch(int[] a, int key) | static int binarySearch(int[] a, int key) | | +| | static int binarySearch(int[] a, int key) | static int binarySearch(int[] a, int key) | | | | static int binarySearch(int[] a, int fromIndex, int toIndex, int key) | function indexOf(arr: int[], key: int, startIndex: int, endIndex: int): int | | | | static int binarySearch(long[] a, int fromIndex, int toIndex, long key) | | | | | static int binarySearch(long[] a, long key) | | | @@ -1286,7 +1287,7 @@ | | static void parallelSort(long[] a, int fromIndex, int toIndex) | | | | | static void parallelSort(short[] a) | | | | | static void parallelSort(short[] a, int fromIndex, int toIndex) | | | -| | static \ void parallelSort(T[] a) | | | +| | static \ void parallelSort(T[] a) | | | | | static \ void parallelSort(T[] a, Comparator\ cmp) | | | | | static \ void parallelSort(T[] a, int fromIndex, int toIndex) | | | | | static \ void parallelSort(T[] a, int fromIndex, int toIndex, Comparator\ cmp) | | | -- Gitee From 1db3381315756365ad19fde997415a35934b4e94 Mon Sep 17 00:00:00 2001 From: Orlovsky Maxim Date: Thu, 29 Dec 2022 17:32:37 +0300 Subject: [PATCH 4/7] [Migrator] Fixed some names in java api list Signed-off-by: Orlovsky Maxim --- migrator/docs/java-api-list.md | 470 ++++++++++++++++----------------- 1 file changed, 235 insertions(+), 235 deletions(-) diff --git a/migrator/docs/java-api-list.md b/migrator/docs/java-api-list.md index 7f4056813..7aa7bb8bc 100644 --- a/migrator/docs/java-api-list.md +++ b/migrator/docs/java-api-list.md @@ -302,7 +302,7 @@ | Type | Java | ArkTS | Status | | ------ | ----------------------------------------------- | --------------------------------------- | ------ | -| Class | java.lang.Comparable | std.core.Comparable | Done | +| Type | java.lang.Comparable | std.core.Comparable | Done | | Member | static Boolean FALSE | | Done | | Member | static Boolean TRUE | | Done | | Member | static Class\ TYPE | | | @@ -326,43 +326,43 @@ ### java.lang.Byte -| Type | Java | ArkTS | Status | -| ------ | ------------------------------------------ | ---------------------------------- | ------ | -| Class | java.lang.Byte | std.core.Byte | Done | -| Member | static int BYTES | BYTE_SIZE | | -| Member | static byte MAX_VALUE | | Done | -| Member | static byte MIN_VALUE | | Done | -| Member | static int SIZE | BIT_SIZE | | -| Member | static Class\ TYPE | | | -| Method | Byte(byte value) | | Done | -| Method | Byte(String s) | | | -| Method | byte byteValue() | | Done | -| Method | static int compare(byte x, byte y) | new Byte(x).compareTo(new Byte(y)) | | -| Method | int compareTo(Byte anotherByte) | | Done | -| Method | static Byte decode(String nm) | | | -| Method | double doubleValue() | | Done | -| Method | boolean equals(Object obj) | | Done | -| Method | float floatValue() | | Done | -| Method | int hashCode() | | Done | -| Method | static int hashCode(byte value) | | | -| Method | int intValue() | | Done | -| Method | long longValue() | | Done | -| Method | static byte parseByte(String s) | | | -| Method | static byte parseByte(String s, int radix) | | | -| Method | short shortValue() | | Done | -| Method | String toString() | | Done | -| Method | static String toString(byte b) | new Byte(b).toString() | | -| Method | static int toUnsignedInt(byte x) | | | -| Method | static long toUnsignedLong(byte x) | | | -| Method | static Byte valueOf(byte b) | | | -| Method | static Byte valueOf(String s) | | | -| Method | static Byte valueOf(String s, int radix) | | | +| Type | Java | ArkTS | Status | +| ------ | ------------------------------------------ | ------------------------------------ | ------ | +| Type | java.lang.Byte | std.core.Byte | Done | +| Member | static int BYTES | BYTE_SIZE | | +| Member | static byte MAX_VALUE | | Done | +| Member | static byte MIN_VALUE | | Done | +| Member | static int SIZE | BIT_SIZE | | +| Member | static Class\ TYPE | | | +| Method | Byte(byte value) | | Done | +| Method | Byte(String s) | | | +| Method | byte byteValue() | | Done | +| Method | static int compare(byte x, byte y) | function compareTo(other: Byte): int | | +| Method | int compareTo(Byte anotherByte) | | Done | +| Method | static Byte decode(String nm) | | | +| Method | double doubleValue() | | Done | +| Method | boolean equals(Object obj) | | Done | +| Method | float floatValue() | | Done | +| Method | int hashCode() | | Done | +| Method | static int hashCode(byte value) | | | +| Method | int intValue() | | Done | +| Method | long longValue() | | Done | +| Method | static byte parseByte(String s) | | | +| Method | static byte parseByte(String s, int radix) | | | +| Method | short shortValue() | | Done | +| Method | String toString() | | Done | +| Method | static String toString(byte b) | function toString(): String | | +| Method | static int toUnsignedInt(byte x) | | | +| Method | static long toUnsignedLong(byte x) | | | +| Method | static Byte valueOf(byte b) | | | +| Method | static Byte valueOf(String s) | | | +| Method | static Byte valueOf(String s, int radix) | | | ### java.lang.Character | Type | Java | ArkTS | Status | | ------ | --------------------------------------------------------------------------------------------- | ----------------------------------------- | ------ | -| Class | java.lang.Character | std.core.Character | Done | +| Type | java.lang.Character | std.core.Character | Done | | Member | static int BYTES | | | | Member | static byte COMBINING_SPACING_MARK | | | | Member | static byte CONNECTOR_PUNCTUATION | | | @@ -521,7 +521,7 @@ | Type | Java | ArkTS | Status | | ------ | --------------------------------------------- | --------------------------------------- | ------ | -| Class | java.lang.Double | std.core.Double | Done | +| Type | java.lang.Double | std.core.Double | Done | | Member | static int BYTES | BYTE_SIZE | | | Member | static int MAX_EXPONENT | | | | Member | static double MAX_VALUE | | Done | @@ -568,7 +568,7 @@ | Type | Java | ArkTS | Status | | ------ | ----------------------------------------- | -------------------------------------- | ------ | -| Class | java.lang.Float | std.core.Float | Done | +| Type | java.lang.Float | std.core.Float | Done | | Member | static int BYTES | BYTE_SIZE | | | Member | static int MAX_EXPONENT | | | | Member | static float MAX_VALUE | | Done | @@ -616,7 +616,7 @@ | Type | Java | ArkTS | Status | | ------ | ------------------------------------------------------- | -------------------------------- | ------ | -| Class | java.lang.Integer | std.core.Integer | Done | +| Type | java.lang.Integer | std.core.Integer | Done | | Member | static int BYTES | BYTE_SIZE | | | Member | static int MAX_VALUE | | Done | | Member | static int MIN_VALUE | | Done | @@ -676,7 +676,7 @@ | Type | Java | ArkTS | Status | | ------ | ---------------------------------------------------------- | ---------------------------------- | ------ | -| Class | java.lang.Long | std.core.Long | Done | +| Type | java.lang.Long | std.core.Long | Done | | Member | static int BYTES | BYTE_SIZE | | | Member | static long MAX_VALUE | | Done | | Member | static long MIN_VALUE | | Done | @@ -735,7 +735,7 @@ | Type | Java | ArkTS | Status | | ------ | ------------------------------------------------------- | -------------------------------------------- | ------ | -| Class | java.lang.Math | std.math.math | Done | +| Type | java.lang.Math | std.math.math | Done | | Member | static double E | | | | Member | static double PI | std.math.math.PI; | | | Method | static double abs(double a) | | Done | @@ -817,7 +817,7 @@ | Type | Java | ArkTS | Status | | ------ | ----------------------------- | ----------------- | ------ | -| Class | java.lang.Number | std.core.Integral | Done | +| Type | java.lang.Number | std.core.Integral | Done | | Method | byte byteValue() | | Done | | Method | abstract double doubleValue() | | Done | | Method | abstract float floatValue() | | Done | @@ -829,7 +829,7 @@ | Type | Java | ArkTS | Status | | ------ | ---------------------------------- | --------------- | ------ | -| Class | java.lang.Object | std.core.Object | Done | +| Type | java.lang.Object | std.core.Object | Done | | Method | Object() | | | | Method | protected Object clone() | | | | Method | boolean equals(Object obj) | | Done | @@ -847,7 +847,7 @@ | Type | Java | ArkTS | Status | | ------ | -------------------------------------------------------- | ---------------- | ------ | -| Class | java.lang.Runtime | std.core.Runtime | Done | +| Type | java.lang.Runtime | std.core.Runtime | Done | | Method | void addShutdownHook(Thread hook) | | | | Method | int availableProcessors() | | | | Method | Process exec(String command) | | | @@ -877,7 +877,7 @@ | Type | Java | ArkTS | Status | | ------ | -------------------------------------------- | ------------------------------------ | ------ | -| Class | java.lang.Short | std.core.Short | Done | +| Type | java.lang.Short | std.core.Short | Done | | Member | static int BYTES | BYTE_SIZE | | | Member | static short MAX_VALUE | | Done | | Member | static short MIN_VALUE | | Done | @@ -912,7 +912,7 @@ | Type | Java | ArkTS | Status | | ------ | ------------------------------------------------------------------------------------------ | --------------------------------------------------------------------------------- | ------ | -| Class | java.lang.String | std.core.String | Done | +| Type | java.lang.String | std.core.String | Done | | Member | static Comparator\ CASE_INSENSITIVE_ORDER | | | | Method | String() | | Done | | Method | String(byte[] bytes) | | | @@ -1000,7 +1000,7 @@ | Type | Java | ArkTS | Status | | ------ | ----------------------------------------------------------------------- | ---------------------- | ------ | -| Class | java.lang.StringBuilder | std.core.StringBuilder | Done | +| Type | java.lang.StringBuilder | std.core.StringBuilder | Done | | Method | StringBuilder() | | Done | | Method | StringBuilder(CharSequence seq) | | | | Method | StringBuilder(int capacity) | | | @@ -1060,7 +1060,7 @@ | Type | Java | ArkTS | Status | | ------ | ----------------------------------------------------------------------------------- | --------------- | ------ | -| Class | java.lang.System | std.core.System | Done | +| Type | java.lang.System | std.core.System | Done | | Member | static PrintStream err | | | | Member | static InputStream in | | | | Member | static PrintStream out | | | @@ -1104,7 +1104,7 @@ | Type | Java | ArkTS | Status | | ------ | ----------------------------------------------------------------------------------------------------------------------------------------------------- | ----- | ------ | -| Class | java.util.Map | | | +| Type | java.util.Map | | | | Method | void clear​() | | | | Method | default V compute​(K key, BiFunction\ remappingFunction) | | | | Method | default V computeIfAbsent​(K key, Function\ mappingFunction) | | | @@ -1146,195 +1146,195 @@ ### java.util.Set -| Type | Java | ArkTS | Status | -| ----- | ------------------------------------------------------------------------------------ | ----- | ------ | -| Class | java.util.Set | | | -| | boolean add​(E e) | | | -| | boolean addAll​(Collection\ c) | | | -| | void clear​() | | | -| | boolean contains​(Object o) | | | -| | boolean containsAll​(Collection\ c) | | | -| | boolean equals​(Object o) | | | -| | int hashCode​() | | | -| | boolean isEmpty​() | | | -| | Iterator\ iterator​() | | | -| | static \ Set\ of​() | | | -| | static \ Set\ of​(E e1) | | | -| | static \ Set\ of​(E... elements) | | | -| | static \ Set\ of​(E e1, E e2) | | | -| | static \ Set\ of​(E e1, E e2, E e3) | | | -| | static \ Set\ of​(E e1, E e2, E e3, E e4) | | | -| | static \ Set\ of​(E e1, E e2, E e3, E e4, E e5) | | | -| | static \ Set\ of​(E e1, E e2, E e3, E e4, E e5, E e6) | | | -| | static \ Set\ of​(E e1, E e2, E e3, E e4, E e5, E e6, E e7) | | | -| | static \ Set\ of​(E e1, E e2, E e3, E e4, E e5, E e6, E e7, E e8) | | | -| | static \ Set\ of​(E e1, E e2, E e3, E e4, E e5, E e6, E e7, E e8, E e9) | | | -| | static \ Set\ of​(E e1, E e2, E e3, E e4, E e5, E e6, E e7, E e8, E e9, E e10) | | | -| | boolean remove​(Object o) | | | -| | boolean removeAll​(Collection\ c) | | | -| | boolean retainAll​(Collection\ c) | | | -| | int size​() | | | -| | default Spliterator\ spliterator​() | | | -| | Object[] toArray​() | | | -| | \ T[] toArray​(T[] a) | | | +| Type | Java | ArkTS | Status | +| ---- | ------------------------------------------------------------------------------------ | ----- | ------ | +| Type | java.util.Set | | | +| | boolean add​(E e) | | | +| | boolean addAll​(Collection\ c) | | | +| | void clear​() | | | +| | boolean contains​(Object o) | | | +| | boolean containsAll​(Collection\ c) | | | +| | boolean equals​(Object o) | | | +| | int hashCode​() | | | +| | boolean isEmpty​() | | | +| | Iterator\ iterator​() | | | +| | static \ Set\ of​() | | | +| | static \ Set\ of​(E e1) | | | +| | static \ Set\ of​(E... elements) | | | +| | static \ Set\ of​(E e1, E e2) | | | +| | static \ Set\ of​(E e1, E e2, E e3) | | | +| | static \ Set\ of​(E e1, E e2, E e3, E e4) | | | +| | static \ Set\ of​(E e1, E e2, E e3, E e4, E e5) | | | +| | static \ Set\ of​(E e1, E e2, E e3, E e4, E e5, E e6) | | | +| | static \ Set\ of​(E e1, E e2, E e3, E e4, E e5, E e6, E e7) | | | +| | static \ Set\ of​(E e1, E e2, E e3, E e4, E e5, E e6, E e7, E e8) | | | +| | static \ Set\ of​(E e1, E e2, E e3, E e4, E e5, E e6, E e7, E e8, E e9) | | | +| | static \ Set\ of​(E e1, E e2, E e3, E e4, E e5, E e6, E e7, E e8, E e9, E e10) | | | +| | boolean remove​(Object o) | | | +| | boolean removeAll​(Collection\ c) | | | +| | boolean retainAll​(Collection\ c) | | | +| | int size​() | | | +| | default Spliterator\ spliterator​() | | | +| | Object[] toArray​() | | | +| | \ T[] toArray​(T[] a) | | | ### java.util.Arrays -| Type | Java | ArkTS | Status | -| ----- | ------------------------------------------------------------------------------------------------ | --------------------------------------------------------------------------- | ------ | -| Class | java.util.Arrays | std.core.Array | | -| | static \ List\ asList(T... a) | | | -| | static int binarySearch(byte[] a, byte key) | | | -| | static int binarySearch(byte[] a, int fromIndex, int toIndex, byte key) | | | -| | static int binarySearch(char[] a, char key) | | | -| | static int binarySearch(char[] a, int fromIndex, int toIndex, char key) | | | -| | static int binarySearch(double[] a, double key) | | | -| | static int binarySearch(double[] a, int fromIndex, int toIndex, double key) | | | -| | static int binarySearch(float[] a, float key) | | | -| | static int binarySearch(float[] a, int fromIndex, int toIndex, float key) | | | -| | static int binarySearch(int[] a, int key) | static int binarySearch(int[] a, int key) | | -| | static int binarySearch(int[] a, int fromIndex, int toIndex, int key) | function indexOf(arr: int[], key: int, startIndex: int, endIndex: int): int | | -| | static int binarySearch(long[] a, int fromIndex, int toIndex, long key) | | | -| | static int binarySearch(long[] a, long key) | | | -| | static int binarySearch(Object[] a, int fromIndex, int toIndex, Object key) | | | -| | static int binarySearch(Object[] a, Object key) | | | -| | static int binarySearch(short[] a, int fromIndex, int toIndex, short key) | | | -| | static int binarySearch(short[] a, short key) | | | -| | static \ int binarySearch(T[] a, int fromIndex, int toIndex, T key, Comparator\ c) | | | -| | static \ int binarySearch(T[] a, T key, Comparator\ c) | | | -| | static boolean[] copyOf(boolean[] original, int newLength) | | | -| | static byte[] copyOf(byte[] original, int newLength) | | | -| | static char[] copyOf(char[] original, int newLength) | | | -| | static double[] copyOf(double[] original, int newLength) | | | -| | static float[] copyOf(float[] original, int newLength) | | | -| | static int[] copyOf(int[] original, int newLength) | | | -| | static long[] copyOf(long[] original, int newLength) | | | -| | static short[] copyOf(short[] original, int newLength) | | | -| | static \ T[] copyOf(T[] original, int newLength) | | | -| | static \ T[] copyOf(U[] original, int newLength, Class\ newType) | | | -| | static boolean[] copyOfRange(boolean[] original, int from, int to) | | | -| | static byte[] copyOfRange(byte[] original, int from, int to) | | | -| | static char[] copyOfRange(char[] original, int from, int to) | | | -| | static double[] copyOfRange(double[] original, int from, int to) | | | -| | static float[] copyOfRange(float[] original, int from, int to) | | | -| | static int[] copyOfRange(int[] original, int from, int to) | function copyOf(arr: int[], startIndex: int, endIndex: int): int[] | | -| | static long[] copyOfRange(long[] original, int from, int to) | | | -| | static short[] copyOfRange(short[] original, int from, int to) | | | -| | static \ T[] copyOfRange(T[] original, int from, int to) | | | -| | static \ T[] copyOfRange(U[] original, int from, int to, Class\ newType) | | | -| | static boolean deepEquals(Object[] a1, Object[] a2) | | | -| | static int deepHashCode(Object[] a) | | | -| | static String deepToString(Object[] a) | | | -| | static boolean equals(boolean[] a, boolean[] a2) | | | -| | static boolean equals(byte[] a, byte[] a2) | | | -| | static boolean equals(char[] a, char[] a2) | | | -| | static boolean equals(double[] a, double[] a2) | | | -| | static boolean equals(float[] a, float[] a2) | | | -| | static boolean equals(int[] a, int[] a2) | | | -| | static boolean equals(long[] a, long[] a2) | | | -| | static boolean equals(Object[] a, Object[] a2) | | | -| | static boolean equals(short[] a, short[] a2) | | | -| | static void fill(boolean[] a, boolean val) | | | -| | static void fill(boolean[] a, int fromIndex, int toIndex, boolean val) | | | -| | static void fill(byte[] a, byte val) | | | -| | static void fill(byte[] a, int fromIndex, int toIndex, byte val) | | | -| | static void fill(char[] a, char val) | | | -| | static void fill(char[] a, int fromIndex, int toIndex, char val) | | | -| | static void fill(double[] a, double val) | | | -| | static void fill(double[] a, int fromIndex, int toIndex, double val) | | | -| | static void fill(float[] a, float val) | | | -| | static void fill(float[] a, int fromIndex, int toIndex, float val) | function fill(arr: int[], value: int, startIndex: int, endIndex: int): void | | -| | static void fill(int[] a, int val) | | Done | -| | static void fill(int[] a, int fromIndex, int toIndex, int val) | | | -| | static void fill(long[] a, int fromIndex, int toIndex, long val) | | | -| | static void fill(long[] a, long val) | | | -| | static void fill(Object[] a, int fromIndex, int toIndex, Object val) | | | -| | static void fill(Object[] a, Object val) | | | -| | static void fill(short[] a, int fromIndex, int toIndex, short val) | | | -| | static void fill(short[] a, short val) | | | -| | static int hashCode(boolean[] a) | | | -| | static int hashCode(byte[] a) | | | -| | static int hashCode(char[] a) | | | -| | static int hashCode(double[] a) | | | -| | static int hashCode(float[] a) | | | -| | static int hashCode(int[] a) | | | -| | static int hashCode(long[] a) | | | -| | static int hashCode(Object[] a) | | | -| | static int hashCode(short[] a) | | | -| | static void parallelPrefix(double[] array, DoubleBinaryOperator op) | | | -| | static void parallelPrefix(double[] array, int fromIndex, int toIndex, DoubleBinaryOperator op) | | | -| | static void parallelPrefix(int[] array, IntBinaryOperator op) | | | -| | static void parallelPrefix(int[] array, int fromIndex, int toIndex, IntBinaryOperator op) | | | -| | static void parallelPrefix(long[] array, int fromIndex, int toIndex, LongBinaryOperator op) | | | -| | static void parallelPrefix(long[] array, LongBinaryOperator op) | | | -| | static \ void parallelPrefix(T[] array, BinaryOperator\ op) | | | -| | static \ void parallelPrefix(T[] array, int fromIndex, int toIndex, BinaryOperator\ op) | | | -| | static void parallelSetAll(double[] array, IntToDoubleFunction generator) | | | -| | static void parallelSetAll(int[] array, IntUnaryOperator generator) | | | -| | static void parallelSetAll(long[] array, IntToLongFunction generator) | | | -| | static \ void parallelSetAll(T[] array, IntFunction\ generator) | | | -| | static void parallelSort(byte[] a) | | | -| | static void parallelSort(byte[] a, int fromIndex, int toIndex) | | | -| | static void parallelSort(char[] a) | | | -| | static void parallelSort(char[] a, int fromIndex, int toIndex) | | | -| | static void parallelSort(double[] a) | | | -| | static void parallelSort(double[] a, int fromIndex, int toIndex) | | | -| | static void parallelSort(float[] a) | | | -| | static void parallelSort(float[] a, int fromIndex, int toIndex) | | | -| | static void parallelSort(int[] a) | | | -| | static void parallelSort(int[] a, int fromIndex, int toIndex) | | | -| | static void parallelSort(long[] a) | | | -| | static void parallelSort(long[] a, int fromIndex, int toIndex) | | | -| | static void parallelSort(short[] a) | | | -| | static void parallelSort(short[] a, int fromIndex, int toIndex) | | | -| | static \ void parallelSort(T[] a) | | | -| | static \ void parallelSort(T[] a, Comparator\ cmp) | | | -| | static \ void parallelSort(T[] a, int fromIndex, int toIndex) | | | -| | static \ void parallelSort(T[] a, int fromIndex, int toIndex, Comparator\ cmp) | | | -| | static void setAll(double[] array, IntToDoubleFunction generator) | | | -| | static void setAll(int[] array, IntUnaryOperator generator) | | | -| | static void setAll(long[] array, IntToLongFunction generator) | | | -| | static \ void setAll(T[] array, IntFunction\ generator) | | | -| | static void sort(byte[] a) | | | -| | static void sort(byte[] a, int fromIndex, int toIndex) | | | -| | static void sort(char[] a) | | | -| | static void sort(char[] a, int fromIndex, int toIndex) | | | -| | static void sort(double[] a) | | | -| | static void sort(double[] a, int fromIndex, int toIndex) | | | -| | static void sort(float[] a) | | | -| | static void sort(float[] a, int fromIndex, int toIndex) | | | -| | static void sort(int[] a) | | Done | -| | static void sort(int[] a, int fromIndex, int toIndex) | | Done | -| | static void sort(long[] a) | | | -| | static void sort(long[] a, int fromIndex, int toIndex) | | | -| | static void sort(Object[] a) | | | -| | static void sort(Object[] a, int fromIndex, int toIndex) | | | -| | static void sort(short[] a) | | | -| | static void sort(short[] a, int fromIndex, int toIndex) | | | -| | static \ void sort(T[] a, Comparator\ c) | | | -| | static \ void sort(T[] a, int fromIndex, int toIndex, Comparator\ c) | | | -| | static Spliterator.OfDouble spliterator(double[] array) | | | -| | static Spliterator.OfDouble spliterator(double[] array, int startInclusive, int endExclusive) | | | -| | static Spliterator.OfInt spliterator(int[] array) | | | -| | static Spliterator.OfInt spliterator(int[] array, int startInclusive, int endExclusive) | | | -| | static Spliterator.OfLong spliterator(long[] array) | | | -| | static Spliterator.OfLong spliterator(long[] array, int startInclusive, int endExclusive) | | | -| | static \ Spliterator\ spliterator(T[] array) | | | -| | static \ Spliterator\ spliterator(T[] array, int startInclusive, int endExclusive) | | | -| | static DoubleStream stream(double[] array) | | | -| | static DoubleStream stream(double[] array, int startInclusive, int endExclusive) | | | -| | static IntStream stream(int[] array) | | | -| | static IntStream stream(int[] array, int startInclusive, int endExclusive) | | | -| | static LongStream stream(long[] array) | | | -| | static LongStream stream(long[] array, int startInclusive, int endExclusive) | | | -| | static \ Stream\ stream(T[] array) | | | -| | static \ Stream\ stream(T[] array, int startInclusive, int endExclusive) | | | -| | static String toString(boolean[] a) | | | -| | static String toString(byte[] a) | | | -| | static String toString(char[] a) | | | -| | static String toString(double[] a) | | | -| | static String toString(float[] a) | | | -| | static String toString(int[] a) | | | -| | static String toString(long[] a) | | | -| | static String toString(Object[] a) | | | -| | static String toString(short[] a) | | | \ No newline at end of file +| Type | Java | ArkTS | Status | +| ---- | ------------------------------------------------------------------------------------------------ | --------------------------------------------------------------------------- | ------ | +| Type | java.util.Arrays | std.core.Array | | +| | static \ List\ asList(T... a) | | | +| | static int binarySearch(byte[] a, byte key) | | | +| | static int binarySearch(byte[] a, int fromIndex, int toIndex, byte key) | | | +| | static int binarySearch(char[] a, char key) | | | +| | static int binarySearch(char[] a, int fromIndex, int toIndex, char key) | | | +| | static int binarySearch(double[] a, double key) | | | +| | static int binarySearch(double[] a, int fromIndex, int toIndex, double key) | | | +| | static int binarySearch(float[] a, float key) | | | +| | static int binarySearch(float[] a, int fromIndex, int toIndex, float key) | | | +| | static int binarySearch(int[] a, int key) | static int binarySearch(int[] a, int key) | | +| | static int binarySearch(int[] a, int fromIndex, int toIndex, int key) | function indexOf(arr: int[], key: int, startIndex: int, endIndex: int): int | | +| | static int binarySearch(long[] a, int fromIndex, int toIndex, long key) | | | +| | static int binarySearch(long[] a, long key) | | | +| | static int binarySearch(Object[] a, int fromIndex, int toIndex, Object key) | | | +| | static int binarySearch(Object[] a, Object key) | | | +| | static int binarySearch(short[] a, int fromIndex, int toIndex, short key) | | | +| | static int binarySearch(short[] a, short key) | | | +| | static \ int binarySearch(T[] a, int fromIndex, int toIndex, T key, Comparator\ c) | | | +| | static \ int binarySearch(T[] a, T key, Comparator\ c) | | | +| | static boolean[] copyOf(boolean[] original, int newLength) | | | +| | static byte[] copyOf(byte[] original, int newLength) | | | +| | static char[] copyOf(char[] original, int newLength) | | | +| | static double[] copyOf(double[] original, int newLength) | | | +| | static float[] copyOf(float[] original, int newLength) | | | +| | static int[] copyOf(int[] original, int newLength) | | | +| | static long[] copyOf(long[] original, int newLength) | | | +| | static short[] copyOf(short[] original, int newLength) | | | +| | static \ T[] copyOf(T[] original, int newLength) | | | +| | static \ T[] copyOf(U[] original, int newLength, Class\ newType) | | | +| | static boolean[] copyOfRange(boolean[] original, int from, int to) | | | +| | static byte[] copyOfRange(byte[] original, int from, int to) | | | +| | static char[] copyOfRange(char[] original, int from, int to) | | | +| | static double[] copyOfRange(double[] original, int from, int to) | | | +| | static float[] copyOfRange(float[] original, int from, int to) | | | +| | static int[] copyOfRange(int[] original, int from, int to) | function copyOf(arr: int[], startIndex: int, endIndex: int): int[] | | +| | static long[] copyOfRange(long[] original, int from, int to) | | | +| | static short[] copyOfRange(short[] original, int from, int to) | | | +| | static \ T[] copyOfRange(T[] original, int from, int to) | | | +| | static \ T[] copyOfRange(U[] original, int from, int to, Class\ newType) | | | +| | static boolean deepEquals(Object[] a1, Object[] a2) | | | +| | static int deepHashCode(Object[] a) | | | +| | static String deepToString(Object[] a) | | | +| | static boolean equals(boolean[] a, boolean[] a2) | | | +| | static boolean equals(byte[] a, byte[] a2) | | | +| | static boolean equals(char[] a, char[] a2) | | | +| | static boolean equals(double[] a, double[] a2) | | | +| | static boolean equals(float[] a, float[] a2) | | | +| | static boolean equals(int[] a, int[] a2) | | | +| | static boolean equals(long[] a, long[] a2) | | | +| | static boolean equals(Object[] a, Object[] a2) | | | +| | static boolean equals(short[] a, short[] a2) | | | +| | static void fill(boolean[] a, boolean val) | | | +| | static void fill(boolean[] a, int fromIndex, int toIndex, boolean val) | | | +| | static void fill(byte[] a, byte val) | | | +| | static void fill(byte[] a, int fromIndex, int toIndex, byte val) | | | +| | static void fill(char[] a, char val) | | | +| | static void fill(char[] a, int fromIndex, int toIndex, char val) | | | +| | static void fill(double[] a, double val) | | | +| | static void fill(double[] a, int fromIndex, int toIndex, double val) | | | +| | static void fill(float[] a, float val) | | | +| | static void fill(float[] a, int fromIndex, int toIndex, float val) | function fill(arr: int[], value: int, startIndex: int, endIndex: int): void | | +| | static void fill(int[] a, int val) | | Done | +| | static void fill(int[] a, int fromIndex, int toIndex, int val) | | | +| | static void fill(long[] a, int fromIndex, int toIndex, long val) | | | +| | static void fill(long[] a, long val) | | | +| | static void fill(Object[] a, int fromIndex, int toIndex, Object val) | | | +| | static void fill(Object[] a, Object val) | | | +| | static void fill(short[] a, int fromIndex, int toIndex, short val) | | | +| | static void fill(short[] a, short val) | | | +| | static int hashCode(boolean[] a) | | | +| | static int hashCode(byte[] a) | | | +| | static int hashCode(char[] a) | | | +| | static int hashCode(double[] a) | | | +| | static int hashCode(float[] a) | | | +| | static int hashCode(int[] a) | | | +| | static int hashCode(long[] a) | | | +| | static int hashCode(Object[] a) | | | +| | static int hashCode(short[] a) | | | +| | static void parallelPrefix(double[] array, DoubleBinaryOperator op) | | | +| | static void parallelPrefix(double[] array, int fromIndex, int toIndex, DoubleBinaryOperator op) | | | +| | static void parallelPrefix(int[] array, IntBinaryOperator op) | | | +| | static void parallelPrefix(int[] array, int fromIndex, int toIndex, IntBinaryOperator op) | | | +| | static void parallelPrefix(long[] array, int fromIndex, int toIndex, LongBinaryOperator op) | | | +| | static void parallelPrefix(long[] array, LongBinaryOperator op) | | | +| | static \ void parallelPrefix(T[] array, BinaryOperator\ op) | | | +| | static \ void parallelPrefix(T[] array, int fromIndex, int toIndex, BinaryOperator\ op) | | | +| | static void parallelSetAll(double[] array, IntToDoubleFunction generator) | | | +| | static void parallelSetAll(int[] array, IntUnaryOperator generator) | | | +| | static void parallelSetAll(long[] array, IntToLongFunction generator) | | | +| | static \ void parallelSetAll(T[] array, IntFunction\ generator) | | | +| | static void parallelSort(byte[] a) | | | +| | static void parallelSort(byte[] a, int fromIndex, int toIndex) | | | +| | static void parallelSort(char[] a) | | | +| | static void parallelSort(char[] a, int fromIndex, int toIndex) | | | +| | static void parallelSort(double[] a) | | | +| | static void parallelSort(double[] a, int fromIndex, int toIndex) | | | +| | static void parallelSort(float[] a) | | | +| | static void parallelSort(float[] a, int fromIndex, int toIndex) | | | +| | static void parallelSort(int[] a) | | | +| | static void parallelSort(int[] a, int fromIndex, int toIndex) | | | +| | static void parallelSort(long[] a) | | | +| | static void parallelSort(long[] a, int fromIndex, int toIndex) | | | +| | static void parallelSort(short[] a) | | | +| | static void parallelSort(short[] a, int fromIndex, int toIndex) | | | +| | static \ void parallelSort(T[] a) | | | +| | static \ void parallelSort(T[] a, Comparator\ cmp) | | | +| | static \ void parallelSort(T[] a, int fromIndex, int toIndex) | | | +| | static \ void parallelSort(T[] a, int fromIndex, int toIndex, Comparator\ cmp) | | | +| | static void setAll(double[] array, IntToDoubleFunction generator) | | | +| | static void setAll(int[] array, IntUnaryOperator generator) | | | +| | static void setAll(long[] array, IntToLongFunction generator) | | | +| | static \ void setAll(T[] array, IntFunction\ generator) | | | +| | static void sort(byte[] a) | | | +| | static void sort(byte[] a, int fromIndex, int toIndex) | | | +| | static void sort(char[] a) | | | +| | static void sort(char[] a, int fromIndex, int toIndex) | | | +| | static void sort(double[] a) | | | +| | static void sort(double[] a, int fromIndex, int toIndex) | | | +| | static void sort(float[] a) | | | +| | static void sort(float[] a, int fromIndex, int toIndex) | | | +| | static void sort(int[] a) | | Done | +| | static void sort(int[] a, int fromIndex, int toIndex) | | Done | +| | static void sort(long[] a) | | | +| | static void sort(long[] a, int fromIndex, int toIndex) | | | +| | static void sort(Object[] a) | | | +| | static void sort(Object[] a, int fromIndex, int toIndex) | | | +| | static void sort(short[] a) | | | +| | static void sort(short[] a, int fromIndex, int toIndex) | | | +| | static \ void sort(T[] a, Comparator\ c) | | | +| | static \ void sort(T[] a, int fromIndex, int toIndex, Comparator\ c) | | | +| | static Spliterator.OfDouble spliterator(double[] array) | | | +| | static Spliterator.OfDouble spliterator(double[] array, int startInclusive, int endExclusive) | | | +| | static Spliterator.OfInt spliterator(int[] array) | | | +| | static Spliterator.OfInt spliterator(int[] array, int startInclusive, int endExclusive) | | | +| | static Spliterator.OfLong spliterator(long[] array) | | | +| | static Spliterator.OfLong spliterator(long[] array, int startInclusive, int endExclusive) | | | +| | static \ Spliterator\ spliterator(T[] array) | | | +| | static \ Spliterator\ spliterator(T[] array, int startInclusive, int endExclusive) | | | +| | static DoubleStream stream(double[] array) | | | +| | static DoubleStream stream(double[] array, int startInclusive, int endExclusive) | | | +| | static IntStream stream(int[] array) | | | +| | static IntStream stream(int[] array, int startInclusive, int endExclusive) | | | +| | static LongStream stream(long[] array) | | | +| | static LongStream stream(long[] array, int startInclusive, int endExclusive) | | | +| | static \ Stream\ stream(T[] array) | | | +| | static \ Stream\ stream(T[] array, int startInclusive, int endExclusive) | | | +| | static String toString(boolean[] a) | | | +| | static String toString(byte[] a) | | | +| | static String toString(char[] a) | | | +| | static String toString(double[] a) | | | +| | static String toString(float[] a) | | | +| | static String toString(int[] a) | | | +| | static String toString(long[] a) | | | +| | static String toString(Object[] a) | | | +| | static String toString(short[] a) | | | \ No newline at end of file -- Gitee From d57f02b8cfd2f7cb8854c3e23ef666f783470d62 Mon Sep 17 00:00:00 2001 From: Orlovsky Maxim Date: Thu, 29 Dec 2022 17:33:37 +0300 Subject: [PATCH 5/7] [Migrator] Added first js api Signed-off-by: Orlovsky Maxim --- migrator/docs/js-api-list.md | 334 +++++++++++++++++++++++++++++++++++ 1 file changed, 334 insertions(+) diff --git a/migrator/docs/js-api-list.md b/migrator/docs/js-api-list.md index e69de29bb..769119c32 100644 --- a/migrator/docs/js-api-list.md +++ b/migrator/docs/js-api-list.md @@ -0,0 +1,334 @@ + +## Fundamental Objects + +### Object Objects + +| Type | JS | ArkTS | Status | +| ----------- | -------------------------------------------------------- | --------------- | ------ | +| Type | Object | std.core.Object | Done | +| Constructor | Object() | constructor () | Done | +| Constructor | Object(value) | | | +| Method | Object.assign(target,...sources) | | | +| Method | Object.create(O,Properties) | | | +| Method | Object.defineProperties(O,Properties) | | | +| Method | Object.defineProperty(O,P,Attributes) | | | +| Method | Object.entries(O) | | | +| Method | Object.freeze(O) | | | +| Method | Object.getOwnPropertyDescriptor(O,P) | | | +| Method | Object.getOwnPropertyDescriptors(O) | | | +| Method | Object.getOwnPropertyNames(O) | | | +| Method | Object.getOwnPropertySymbols(O) | | | +| Method | Object.getPrototypeOf(O) | | | +| Method | Object.is(value1,value2) | | | +| Method | Object.isExtensible(O) | | | +| Method | Object.isFrozen(O) | | | +| Method | Object.isSealed(O) | | | +| Method | Object.keys(O) | | | +| Method | Object.preventExtensions(O) | | | +| Method | Object.prototype | | | +| Method | Object.seal(O) | | | +| Method | Object.setPrototypeOf(O,proto) | | | +| Method | Object.values(O) | | | +| Method | Object.prototype.constructor | | | +| Method | Object.prototype.hasOwnProperty(V) | | | +| Method | Object.prototype.isPrototypeOf(V) | | | +| Method | Object.prototype.propertyIsEnumerable(V) | | | +| Method | Object.prototype.toLocaleString([reserved1[,reserved2]]) | | | +| Method | Object.prototype.toString() | | | +| Method | Object.prototype.valueOf() | | | + +19.2 Function Objects + +19.2.1 The Function Constructor + + 19.2.1.1 Function ( p1, p2, … , pn, body ) + 19.2.1.1.1 RS: CreateDynamicFunction( constructor, newTarget, kind, args ) + +19.2.2 Properties of the Function Constructor + + 19.2.2.1 Function.length + 19.2.2.2 Function.prototype + +19.2.3 Properties of the Function Prototype Object + + 19.2.3.1 Function.prototype.apply ( thisArg, argArray ) + 19.2.3.2 Function.prototype.bind ( thisArg, ...args ) + 19.2.3.3 Function.prototype.call ( thisArg, ...args ) + 19.2.3.4 Function.prototype.constructor + 19.2.3.5 Function.prototype.toString ( ) + 19.2.3.6 Function.prototype [ @@hasInstance ] ( V ) + + 19.2.4 Function Instances + 19.2.4.1 length + 19.2.4.2 name + 19.2.4.3 prototype + +19.3 Boolean Objects + +19.3.1 The Boolean Constructor + + 19.3.1.1 Boolean ( value ) + +19.3.2 Properties of the Boolean Constructor + + 19.3.2.1 Boolean.prototype + + 19.3.3 Properties of the Boolean Prototype Object + 19.3.3.1 Boolean.prototype.constructor + 19.3.3.2 Boolean.prototype.toString ( ) + 19.3.3.3 Boolean.prototype.valueOf ( ) + 19.3.4 Properties of Boolean Instances + +19.4 Symbol Objects + +19.4.1 The Symbol Constructor + + 19.4.1.1 Symbol ( [ description ] ) + +19.4.2 Properties of the Symbol Constructor + + 19.4.2.1 Symbol.for ( key ) + 19.4.2.2 Symbol.hasInstance + 19.4.2.3 Symbol.isConcatSpreadable + 19.4.2.4 Symbol.iterator + 19.4.2.5 Symbol.keyFor ( sym ) + 19.4.2.6 Symbol.match + 19.4.2.7 Symbol.prototype + 19.4.2.8 Symbol.replace + 19.4.2.9 Symbol.search + 19.4.2.10 Symbol.species + 19.4.2.11 Symbol.split + 19.4.2.12 Symbol.toPrimitive + 19.4.2.13 Symbol.toStringTag + 19.4.2.14 Symbol.unscopables + +19.4.3 Properties of the Symbol Prototype Object + + 19.4.3.1 Symbol.prototype.constructor + + 19.4.3.2 Symbol.prototype.toString ( ) + 19.4.3.2.1 RS: SymbolDescriptiveString ( sym ) + 19.4.3.3 Symbol.prototype.valueOf ( ) + 19.4.3.4 Symbol.prototype [ @@toPrimitive ] ( hint ) + 19.4.3.5 Symbol.prototype [ @@toStringTag ] + 19.4.4 Properties of Symbol Instances + +19.5 Error Objects + +19.5.1 The Error Constructor + + 19.5.1.1 Error ( message ) + +19.5.2 Properties of the Error Constructor + + 19.5.2.1 Error.prototype + +19.5.3 Properties of the Error Prototype Object + + 19.5.3.1 Error.prototype.constructor + 19.5.3.2 Error.prototype.message + 19.5.3.3 Error.prototype.name + 19.5.3.4 Error.prototype.toString ( ) + +19.5.4 Properties of Error Instances +19.5.5 Native Error Types Used in This Standard + + 19.5.5.1 EvalError + 19.5.5.2 RangeError + 19.5.5.3 ReferenceError + 19.5.5.4 SyntaxError + 19.5.5.5 TypeError + 19.5.5.6 URIError + +19.5.6 NativeError Object Structure + +19.5.6.1 NativeError Constructors + + 19.5.6.1.1 NativeError ( message ) + +19.5.6.2 Properties of the NativeError Constructors + + 19.5.6.2.1 NativeError.prototype + +19.5.6.3 Properties of the NativeError Prototype Objects + + 19.5.6.3.1 NativeError.prototype.constructor + 19.5.6.3.2 NativeError.prototype.message + 19.5.6.3.3 NativeError.prototype.name + +19.5.6.4 Properties of NativeError Instances + +20 Numbers and Dates + +20.1 Number Objects + +20.1.1 The Number Constructor + + 20.1.1.1 Number ( value ) + +20.1.2 Properties of the Number Constructor + + 20.1.2.1 Number.EPSILON + 20.1.2.2 Number.isFinite ( number ) + 20.1.2.3 Number.isInteger ( number ) + 20.1.2.4 Number.isNaN ( number ) + 20.1.2.5 Number.isSafeInteger ( number ) + 20.1.2.6 Number.MAX_SAFE_INTEGER + 20.1.2.7 Number.MAX_VALUE + 20.1.2.8 Number.MIN_SAFE_INTEGER + 20.1.2.9 Number.MIN_VALUE + 20.1.2.10 Number.NaN + 20.1.2.11 Number.NEGATIVE_INFINITY + 20.1.2.12 Number.parseFloat ( string ) + 20.1.2.13 Number.parseInt ( string, radix ) + 20.1.2.14 Number.POSITIVE_INFINITY + 20.1.2.15 Number.prototype + + 20.1.3 Properties of the Number Prototype Object + 20.1.3.1 Number.prototype.constructor + 20.1.3.2 Number.prototype.toExponential ( fractionDigits ) + 20.1.3.3 Number.prototype.toFixed ( fractionDigits ) + 20.1.3.4 Number.prototype.toLocaleString ( [ reserved1 [ , reserved2 ] ] ) + 20.1.3.5 Number.prototype.toPrecision ( precision ) + 20.1.3.6 Number.prototype.toString ( [ radix ] ) + 20.1.3.7 Number.prototype.valueOf ( ) + 20.1.4 Properties of Number Instances + +20.2 The Math Object + +20.2.1 Value Properties of the Math Object + + 20.2.1.1 Math.E + 20.2.1.2 Math.LN10 + 20.2.1.3 Math.LN2 + 20.2.1.4 Math.LOG10E + 20.2.1.5 Math.LOG2E + 20.2.1.6 Math.PI + 20.2.1.7 Math.SQRT1_2 + 20.2.1.8 Math.SQRT2 + 20.2.1.9 Math [ @@toStringTag ] + + 20.2.2 Function Properties of the Math Object + 20.2.2.1 Math.abs ( x ) + 20.2.2.2 Math.acos ( x ) + 20.2.2.3 Math.acosh ( x ) + 20.2.2.4 Math.asin ( x ) + 20.2.2.5 Math.asinh ( x ) + 20.2.2.6 Math.atan ( x ) + 20.2.2.7 Math.atanh ( x ) + 20.2.2.8 Math.atan2 ( y, x ) + 20.2.2.9 Math.cbrt ( x ) + 20.2.2.10 Math.ceil ( x ) + 20.2.2.11 Math.clz32 ( x ) + 20.2.2.12 Math.cos ( x ) + 20.2.2.13 Math.cosh ( x ) + 20.2.2.14 Math.exp ( x ) + 20.2.2.15 Math.expm1 ( x ) + 20.2.2.16 Math.floor ( x ) + 20.2.2.17 Math.fround ( x ) + 20.2.2.18 Math.hypot ( value1, value2, ...values ) + 20.2.2.19 Math.imul ( x, y ) + 20.2.2.20 Math.log ( x ) + 20.2.2.21 Math.log1p ( x ) + 20.2.2.22 Math.log10 ( x ) + 20.2.2.23 Math.log2 ( x ) + 20.2.2.24 Math.max ( value1, value2, ...values ) + 20.2.2.25 Math.min ( value1, value2, ...values ) + 20.2.2.26 Math.pow ( base, exponent ) + 20.2.2.27 Math.random ( ) + 20.2.2.28 Math.round ( x ) + 20.2.2.29 Math.sign ( x ) + 20.2.2.30 Math.sin ( x ) + 20.2.2.31 Math.sinh ( x ) + 20.2.2.32 Math.sqrt ( x ) + 20.2.2.33 Math.tan ( x ) + 20.2.2.34 Math.tanh ( x ) + 20.2.2.35 Math.trunc ( x ) + +20.3 Date Objects + +20.3.1 Overview of Date Objects and Definitions of Abstract Operations + + 20.3.1.1 Time Values and Time Range + 20.3.1.2 Day Number and Time within Day + 20.3.1.3 Year Number + 20.3.1.4 Month Number + 20.3.1.5 Date Number + 20.3.1.6 Week Day + 20.3.1.7 Local Time Zone Adjustment + 20.3.1.8 Daylight Saving Time Adjustment + 20.3.1.9 LocalTime ( t ) + 20.3.1.10 UTC ( t ) + 20.3.1.11 Hours, Minutes, Second, and Milliseconds + 20.3.1.12 MakeTime ( hour, min, sec, ms ) + 20.3.1.13 MakeDay ( year, month, date ) + 20.3.1.14 MakeDate ( day, time ) + 20.3.1.15 TimeClip ( time ) + + 20.3.1.16 Date Time String Format + 20.3.1.16.1 Extended Years + +20.3.2 The Date Constructor + + 20.3.2.1 Date ( year, month [ , date [ , hours [ , minutes [ , seconds [ , ms ] ] ] ] ] ) + 20.3.2.2 Date ( value ) + 20.3.2.3 Date ( ) + +20.3.3 Properties of the Date Constructor + + 20.3.3.1 Date.now ( ) + 20.3.3.2 Date.parse ( string ) + 20.3.3.3 Date.prototype + 20.3.3.4 Date.UTC ( year [ , month [ , date [ , hours [ , minutes [ , seconds [ , ms ] ] ] ] ] ] ) + +20.3.4 Properties of the Date Prototype Object + + 20.3.4.1 Date.prototype.constructor + 20.3.4.2 Date.prototype.getDate ( ) + 20.3.4.3 Date.prototype.getDay ( ) + 20.3.4.4 Date.prototype.getFullYear ( ) + 20.3.4.5 Date.prototype.getHours ( ) + 20.3.4.6 Date.prototype.getMilliseconds ( ) + 20.3.4.7 Date.prototype.getMinutes ( ) + 20.3.4.8 Date.prototype.getMonth ( ) + 20.3.4.9 Date.prototype.getSeconds ( ) + 20.3.4.10 Date.prototype.getTime ( ) + 20.3.4.11 Date.prototype.getTimezoneOffset ( ) + 20.3.4.12 Date.prototype.getUTCDate ( ) + 20.3.4.13 Date.prototype.getUTCDay ( ) + 20.3.4.14 Date.prototype.getUTCFullYear ( ) + 20.3.4.15 Date.prototype.getUTCHours ( ) + 20.3.4.16 Date.prototype.getUTCMilliseconds ( ) + 20.3.4.17 Date.prototype.getUTCMinutes ( ) + 20.3.4.18 Date.prototype.getUTCMonth ( ) + 20.3.4.19 Date.prototype.getUTCSeconds ( ) + 20.3.4.20 Date.prototype.setDate ( date ) + 20.3.4.21 Date.prototype.setFullYear ( year [ , month [ , date ] ] ) + 20.3.4.22 Date.prototype.setHours ( hour [ , min [ , sec [ , ms ] ] ] ) + 20.3.4.23 Date.prototype.setMilliseconds ( ms ) + 20.3.4.24 Date.prototype.setMinutes ( min [ , sec [ , ms ] ] ) + 20.3.4.25 Date.prototype.setMonth ( month [ , date ] ) + 20.3.4.26 Date.prototype.setSeconds ( sec [ , ms ] ) + 20.3.4.27 Date.prototype.setTime ( time ) + 20.3.4.28 Date.prototype.setUTCDate ( date ) + 20.3.4.29 Date.prototype.setUTCFullYear ( year [ , month [ , date ] ] ) + 20.3.4.30 Date.prototype.setUTCHours ( hour [ , min [ , sec [ , ms ] ] ] ) + 20.3.4.31 Date.prototype.setUTCMilliseconds ( ms ) + 20.3.4.32 Date.prototype.setUTCMinutes ( min [ , sec [ , ms ] ] ) + 20.3.4.33 Date.prototype.setUTCMonth ( month [ , date ] ) + 20.3.4.34 Date.prototype.setUTCSeconds ( sec [ , ms ] ) + 20.3.4.35 Date.prototype.toDateString ( ) + 20.3.4.36 Date.prototype.toISOString ( ) + 20.3.4.37 Date.prototype.toJSON ( key ) + 20.3.4.38 Date.prototype.toLocaleDateString ( [ reserved1 [ , reserved2 ] ] ) + 20.3.4.39 Date.prototype.toLocaleString ( [ reserved1 [ , reserved2 ] ] ) + 20.3.4.40 Date.prototype.toLocaleTimeString ( [ reserved1 [ , reserved2 ] ] ) + + 20.3.4.41 Date.prototype.toString ( ) + 20.3.4.41.1 RS: ToDateString( tv ) + 20.3.4.42 Date.prototype.toTimeString ( ) + 20.3.4.43 Date.prototype.toUTCString ( ) + 20.3.4.44 Date.prototype.valueOf ( ) + 20.3.4.45 Date.prototype [ @@toPrimitive ] ( hint ) + +20.3.5 Properties of Date Instances -- Gitee From fd57a8ea5f410ba221aaf5b7d59d60deb77c2943 Mon Sep 17 00:00:00 2001 From: Orlovsky Maxim Date: Tue, 10 Jan 2023 15:12:33 +0300 Subject: [PATCH 6/7] [Migrator] Fixed tests for boolean hashCode Signed-off-by: Orlovsky Maxim --- migrator/test/java-mapper/CallExpressionRulesBoolean.java.sts | 2 +- migrator/test/java-mapper/TestBoolean.java.sts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/migrator/test/java-mapper/CallExpressionRulesBoolean.java.sts b/migrator/test/java-mapper/CallExpressionRulesBoolean.java.sts index b4858354e..bf57b6a67 100644 --- a/migrator/test/java-mapper/CallExpressionRulesBoolean.java.sts +++ b/migrator/test/java-mapper/CallExpressionRulesBoolean.java.sts @@ -20,7 +20,7 @@ open class CallExpressiontRulesBoolean { let b1 : Boolean = new Boolean(false); let b : boolean = b1.unboxed(); let res : int = new Boolean(false).compareTo(new Boolean(true)); - let hesh : int = new Boolean(false).hashCode(false); + let hesh : int = new Boolean(false).hashCode(); let s : String = new Boolean(true).toString(); } } diff --git a/migrator/test/java-mapper/TestBoolean.java.sts b/migrator/test/java-mapper/TestBoolean.java.sts index f64a615f6..d379b73de 100644 --- a/migrator/test/java-mapper/TestBoolean.java.sts +++ b/migrator/test/java-mapper/TestBoolean.java.sts @@ -11,7 +11,7 @@ export open class TestBoolean { let v6 : int = Boolean.TRUE.compareTo(Boolean.TRUE); let v7 : boolean = Boolean.TRUE.equals(Boolean.TRUE); let v8 : boolean = Boolean.getBoolean("false"); - let v9 : int = new Boolean(false).hashCode(false); + let v9 : int = new Boolean(false).hashCode(); let v10 : int = Boolean.TRUE.hashCode(); let v11 : boolean = new Boolean(false).and(new Boolean(true)); let v12 : boolean = new Boolean(false).or(new Boolean(true)); -- Gitee From 727e250ace008aa6bac1af3e39d99f5d2ae4c9a8 Mon Sep 17 00:00:00 2001 From: Orlovsky Maxim Date: Tue, 10 Jan 2023 15:13:54 +0300 Subject: [PATCH 7/7] [Migrator] Reworked api list and rules according to previous PR Signed-off-by: Orlovsky Maxim --- migrator/config/java-api-mapper.xml | 1667 +++++++++++++-------------- migrator/docs/java-api-list.md | 16 +- 2 files changed, 831 insertions(+), 852 deletions(-) diff --git a/migrator/config/java-api-mapper.xml b/migrator/config/java-api-mapper.xml index 4b5a6a183..e5441990a 100644 --- a/migrator/config/java-api-mapper.xml +++ b/migrator/config/java-api-mapper.xml @@ -1,846 +1,825 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/migrator/docs/java-api-list.md b/migrator/docs/java-api-list.md index 7aa7bb8bc..18289bc5c 100644 --- a/migrator/docs/java-api-list.md +++ b/migrator/docs/java-api-list.md @@ -305,24 +305,24 @@ | Type | java.lang.Comparable | std.core.Comparable | Done | | Member | static Boolean FALSE | | Done | | Member | static Boolean TRUE | | Done | -| Member | static Class\ TYPE | | | +| Member | static Class\ TYPE | | TODO | | Method | Boolean(boolean value) | | Done | -| Method | Boolean(String s) | | | +| Method | Boolean(String s) | | TODO | | Method | boolean booleanValue() | function unboxed(): boolean | | | Method | static int compare(boolean x, boolean y) | function compareTo(other: Boolean): int | | | Method | int compareTo(Boolean b) | | Done | | Method | boolean equals(Object obj) | | Done | -| Method | static boolean getBoolean(String name) | | | +| Method | static boolean getBoolean(String name) | | TODO | | Method | int hashCode() | | Done | | Method | static int hashCode(boolean value) | function hashCode(): int | | -| Method | static boolean logicalAnd(boolean a, boolean b) | | | -| Method | static boolean logicalOr(boolean a, boolean b) | | | -| Method | static boolean logicalXor(boolean a, boolean b) | | | -| Method | static boolean parseBoolean(String s) | | | +| Method | static boolean logicalAnd(boolean a, boolean b) | function and(other: Boolean): Boolean | | +| Method | static boolean logicalOr(boolean a, boolean b) | function or(other: Boolean): Boolean | | +| Method | static boolean logicalXor(boolean a, boolean b) | function xor(other: Boolean): Boolean | | +| Method | static boolean parseBoolean(String s) | | TODO | | Method | String toString() | | Done | | Method | static String toString(boolean b) | function toString(): String | | | Method | static Boolean valueOf(boolean b) | | Done | -| Method | static Boolean valueOf(String s) | | | +| Method | static Boolean valueOf(String s) | | TODO | ### java.lang.Byte -- Gitee