@sitevision/api 2023.2.2-beta.1 → 2023.2.2-beta.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (125) hide show
  1. package/package.json +1 -1
  2. package/types/java/io/File/index.d.ts +0 -120
  3. package/types/java/io/File/index.js +0 -2
  4. package/types/java/lang/Boolean/index.d.ts +0 -123
  5. package/types/java/lang/Boolean/index.js +1 -8
  6. package/types/java/lang/Class/index.d.ts +2 -93
  7. package/types/java/lang/Class/index.js +0 -1
  8. package/types/java/lang/ClassLoader/index.d.ts +0 -91
  9. package/types/java/lang/ClassLoader/index.js +0 -5
  10. package/types/java/lang/Double/index.d.ts +0 -541
  11. package/types/java/lang/Double/index.js +2 -13
  12. package/types/java/lang/Enum/index.d.ts +0 -23
  13. package/types/java/lang/Enum/index.js +0 -1
  14. package/types/java/lang/Float/index.d.ts +0 -494
  15. package/types/java/lang/Float/index.js +2 -13
  16. package/types/java/lang/Integer/index.d.ts +0 -780
  17. package/types/java/lang/Integer/index.js +2 -29
  18. package/types/java/lang/Long/index.d.ts +0 -788
  19. package/types/java/lang/Long/index.js +2 -28
  20. package/types/java/lang/Package/index.d.ts +0 -28
  21. package/types/java/lang/Package/index.js +0 -2
  22. package/types/java/lang/String/index.d.ts +0 -193
  23. package/types/java/lang/String/index.js +0 -4
  24. package/types/java/lang/reflect/AccessibleObject/index.d.ts +0 -25
  25. package/types/java/math/BigDecimal/index.d.ts +1 -40
  26. package/types/java/math/BigDecimal/index.js +0 -1
  27. package/types/java/math/BigInteger/index.d.ts +0 -25
  28. package/types/java/math/BigInteger/index.js +0 -2
  29. package/types/java/net/InetAddress/index.d.ts +0 -134
  30. package/types/java/net/InetAddress/index.js +1 -6
  31. package/types/java/net/NetworkInterface/index.d.ts +0 -50
  32. package/types/java/net/NetworkInterface/index.js +0 -4
  33. package/types/java/net/URI/index.d.ts +0 -22
  34. package/types/java/net/URI/index.js +0 -1
  35. package/types/java/net/URL/index.d.ts +0 -23
  36. package/types/java/net/URL/index.js +1 -2
  37. package/types/java/net/URLConnection/index.d.ts +0 -125
  38. package/types/java/net/URLConnection/index.js +1 -10
  39. package/types/java/nio/channels/AsynchronousFileChannel/index.d.ts +0 -136
  40. package/types/java/nio/channels/AsynchronousFileChannel/index.js +0 -1
  41. package/types/java/nio/channels/FileChannel/index.d.ts +0 -128
  42. package/types/java/nio/channels/FileChannel/index.js +0 -1
  43. package/types/java/nio/charset/Charset/index.d.ts +1 -58
  44. package/types/java/nio/charset/Charset/index.js +0 -4
  45. package/types/java/nio/file/spi/FileSystemProvider/index.d.ts +0 -12
  46. package/types/java/nio/file/spi/FileSystemProvider/index.js +0 -1
  47. package/types/java/text/DateFormat/index.d.ts +0 -130
  48. package/types/java/text/DateFormat/index.js +0 -5
  49. package/types/java/text/DateFormatSymbols/index.d.ts +0 -45
  50. package/types/java/text/DateFormatSymbols/index.js +0 -2
  51. package/types/java/text/NumberFormat/index.d.ts +0 -123
  52. package/types/java/text/NumberFormat/index.js +0 -6
  53. package/types/java/time/Clock/index.d.ts +1 -162
  54. package/types/java/time/Clock/index.js +0 -8
  55. package/types/java/time/Duration/index.d.ts +3 -193
  56. package/types/java/time/Duration/index.js +0 -10
  57. package/types/java/time/Instant/index.d.ts +0 -101
  58. package/types/java/time/Instant/index.js +0 -5
  59. package/types/java/time/LocalDate/index.d.ts +4 -134
  60. package/types/java/time/LocalDate/index.js +0 -6
  61. package/types/java/time/LocalDateTime/index.d.ts +7 -285
  62. package/types/java/time/LocalDateTime/index.js +0 -6
  63. package/types/java/time/LocalTime/index.d.ts +2 -146
  64. package/types/java/time/LocalTime/index.js +0 -6
  65. package/types/java/time/OffsetDateTime/index.d.ts +7 -177
  66. package/types/java/time/OffsetDateTime/index.js +0 -6
  67. package/types/java/time/OffsetTime/index.d.ts +3 -141
  68. package/types/java/time/OffsetTime/index.js +0 -5
  69. package/types/java/time/Period/index.d.ts +1 -135
  70. package/types/java/time/Period/index.js +0 -8
  71. package/types/java/time/ZoneId/index.d.ts +1 -121
  72. package/types/java/time/ZoneId/index.js +0 -5
  73. package/types/java/time/ZoneOffset/index.d.ts +1 -104
  74. package/types/java/time/ZoneOffset/index.js +0 -6
  75. package/types/java/time/ZonedDateTime/index.d.ts +6 -284
  76. package/types/java/time/ZonedDateTime/index.js +0 -7
  77. package/types/java/time/format/DateTimeFormatter/index.d.ts +2 -215
  78. package/types/java/time/format/DateTimeFormatter/index.js +0 -6
  79. package/types/java/time/format/DecimalStyle/index.d.ts +0 -34
  80. package/types/java/time/format/DecimalStyle/index.js +0 -3
  81. package/types/java/time/temporal/ValueRange/index.d.ts +0 -43
  82. package/types/java/time/temporal/ValueRange/index.js +0 -1
  83. package/types/java/time/zone/ZoneOffsetTransition/index.d.ts +2 -19
  84. package/types/java/time/zone/ZoneOffsetTransition/index.js +0 -1
  85. package/types/java/time/zone/ZoneRules/index.d.ts +2 -28
  86. package/types/java/time/zone/ZoneRules/index.js +0 -1
  87. package/types/java/util/Calendar/index.d.ts +2 -67
  88. package/types/java/util/Calendar/index.js +0 -3
  89. package/types/java/util/Comparator/index.d.ts +16 -16
  90. package/types/java/util/Currency/index.d.ts +0 -38
  91. package/types/java/util/Currency/index.js +0 -2
  92. package/types/java/util/Date/index.d.ts +0 -160
  93. package/types/java/util/Date/index.js +0 -3
  94. package/types/java/util/Locale/index.d.ts +0 -344
  95. package/types/java/util/Locale/index.js +1 -11
  96. package/types/java/util/Optional/index.d.ts +0 -27
  97. package/types/java/util/Optional/index.js +0 -3
  98. package/types/java/util/OptionalDouble/index.d.ts +0 -15
  99. package/types/java/util/OptionalDouble/index.js +0 -2
  100. package/types/java/util/OptionalInt/index.d.ts +0 -15
  101. package/types/java/util/OptionalInt/index.js +0 -2
  102. package/types/java/util/OptionalLong/index.d.ts +0 -15
  103. package/types/java/util/OptionalLong/index.js +0 -2
  104. package/types/java/util/TimeZone/index.d.ts +0 -65
  105. package/types/java/util/TimeZone/index.js +0 -4
  106. package/types/javax/jcr/PropertyType/index.d.ts +2 -18
  107. package/types/javax/jcr/PropertyType/index.js +1 -4
  108. package/types/javax/jcr/version/OnParentVersionAction/index.d.ts +2 -19
  109. package/types/javax/jcr/version/OnParentVersionAction/index.js +1 -4
  110. package/types/java/net/ContentHandler/index.d.ts +0 -70
  111. package/types/java/net/ContentHandler/index.js +0 -10
  112. package/types/java/net/ContentHandlerFactory/index.d.ts +0 -26
  113. package/types/java/net/ContentHandlerFactory/index.js +0 -10
  114. package/types/java/net/FileNameMap/index.d.ts +0 -16
  115. package/types/java/net/FileNameMap/index.js +0 -10
  116. package/types/java/net/URLStreamHandler/index.d.ts +0 -199
  117. package/types/java/net/URLStreamHandler/index.js +0 -19
  118. package/types/java/net/URLStreamHandlerFactory/index.d.ts +0 -24
  119. package/types/java/net/URLStreamHandlerFactory/index.js +0 -10
  120. package/types/java/time/format/FormatStyle/index.d.ts +0 -14
  121. package/types/java/time/format/FormatStyle/index.js +0 -13
  122. package/types/java/util/Locale.Category/index.d.ts +0 -12
  123. package/types/java/util/Locale.Category/index.js +0 -11
  124. package/types/java/util/Locale.FilteringMode/index.d.ts +0 -97
  125. package/types/java/util/Locale.FilteringMode/index.js +0 -14
@@ -5,41 +5,15 @@ Object.defineProperty(exports, "__esModule", {
5
5
  });
6
6
  exports["default"] = void 0;
7
7
  var _default = {
8
- toString: function toString() {},
9
- toUnsignedString: function toUnsignedString() {},
10
- toHexString: function toHexString() {},
11
- toOctalString: function toOctalString() {},
12
- toBinaryString: function toBinaryString() {},
13
- parseLong: function parseLong() {},
14
- parseUnsignedLong: function parseUnsignedLong() {},
15
- valueOf: function valueOf() {},
16
- decode: function decode() {},
17
8
  byteValue: function byteValue() {},
18
9
  shortValue: function shortValue() {},
19
10
  intValue: function intValue() {},
20
11
  longValue: function longValue() {},
21
12
  floatValue: function floatValue() {},
22
13
  doubleValue: function doubleValue() {},
14
+ toString: function toString() {},
23
15
  hashCode: function hashCode() {},
24
16
  equals: function equals() {},
25
- getLong: function getLong() {},
26
- compareTo: function compareTo() {},
27
- compare: function compare() {},
28
- compareUnsigned: function compareUnsigned() {},
29
- divideUnsigned: function divideUnsigned() {},
30
- remainderUnsigned: function remainderUnsigned() {},
31
- highestOneBit: function highestOneBit() {},
32
- lowestOneBit: function lowestOneBit() {},
33
- numberOfLeadingZeros: function numberOfLeadingZeros() {},
34
- numberOfTrailingZeros: function numberOfTrailingZeros() {},
35
- bitCount: function bitCount() {},
36
- rotateLeft: function rotateLeft() {},
37
- rotateRight: function rotateRight() {},
38
- reverse: function reverse() {},
39
- signum: function signum() {},
40
- reverseBytes: function reverseBytes() {},
41
- sum: function sum() {},
42
- max: function max() {},
43
- min: function min() {}
17
+ compareTo: function compareTo() {}
44
18
  };
45
19
  exports["default"] = _default;
@@ -152,34 +152,6 @@ export type Package = Object &
152
152
  */
153
153
  isCompatibleWith(desired: String | string): boolean;
154
154
 
155
- /**
156
- * Find a package by name in the callers {@code ClassLoader} instance.
157
- * The callers {@code ClassLoader} instance is used to find the package
158
- * instance corresponding to the named class. If the callers
159
- * {@code ClassLoader} instance is null then the set of packages loaded
160
- * by the system {@code ClassLoader} instance is searched to find the
161
- * named package. <p>
162
- *
163
- * Packages have attributes for versions and specifications only if the class
164
- * loader created the package instance with the appropriate attributes. Typically,
165
- * those attributes are defined in the manifests that accompany the classes.
166
- * @param name a package name, for example, java.lang.
167
- * @return the package of the requested name. It may be null if no package&#xA; information is available from the archive or codebase.
168
- */
169
- getPackage(name: String | string): Package;
170
-
171
- /**
172
- * Get all the packages currently known for the caller's {@code ClassLoader}
173
- * instance. Those packages correspond to classes loaded via or accessible by
174
- * name to that {@code ClassLoader} instance. If the caller's
175
- * {@code ClassLoader} instance is the bootstrap {@code ClassLoader}
176
- * instance, which may be represented by {@code null} in some implementations,
177
- * only packages corresponding to classes loaded by the bootstrap
178
- * {@code ClassLoader} instance will be returned.
179
- * @return a new array of packages known to the callers {@code ClassLoader}&#xA; instance. An zero length array is returned if none are known.
180
- */
181
- getPackages(): Package;
182
-
183
155
  /**
184
156
  * Return the hash code computed from the package name.
185
157
  * @return the hash code computed from the package name.
@@ -14,8 +14,6 @@ var _default = {
14
14
  getImplementationVendor: function getImplementationVendor() {},
15
15
  isSealed: function isSealed() {},
16
16
  isCompatibleWith: function isCompatibleWith() {},
17
- getPackage: function getPackage() {},
18
- getPackages: function getPackages() {},
19
17
  hashCode: function hashCode() {},
20
18
  toString: function toString() {},
21
19
  getAnnotation: function getAnnotation() {},
@@ -2,9 +2,7 @@ import type { Charset } from "../../nio/charset/Charset";
2
2
  import type { Object } from "../Object";
3
3
  import type { StringBuffer } from "../StringBuffer";
4
4
  import type { CharSequence } from "../CharSequence";
5
- import type { Iterable } from "../Iterable";
6
5
  import type { Locale } from "../../util/Locale";
7
-
8
6
  import type { Serializable } from "../../io/Serializable";
9
7
  import type { Comparable } from "../Comparable";
10
8
  import type { Comparator } from "../../util/Comparator";
@@ -1011,58 +1009,6 @@ export type String = Object &
1011
1009
  */
1012
1010
  split(regex: String | string): string;
1013
1011
 
1014
- /**
1015
- * Returns a new String composed of copies of the
1016
- * {@code CharSequence elements} joined together with a copy of
1017
- * the specified {@code delimiter}.
1018
- *
1019
- * <blockquote>For example,
1020
- * <pre>{@code
1021
- * String message = String.join("-", "Java", "is", "cool");
1022
- * // message returned is: "Java-is-cool"
1023
- * }</pre></blockquote>
1024
- *
1025
- * Note that if an element is null, then {@code "null"} is added.
1026
- * @param delimiter the delimiter that separates each element
1027
- * @param elements the elements to join together.
1028
- * @return a new {@code String} that is composed of the {@code elements}&#xA; separated by the {@code delimiter}
1029
- * @throws NullPointerException If {@code delimiter} or {@code elements}&#xA; is {@code null}
1030
- * @see java.util.StringJoiner
1031
- * @since 1.8
1032
- */
1033
- join(delimiter: CharSequence, elements: CharSequence[]): string;
1034
-
1035
- /**
1036
- * Returns a new {@code String} composed of copies of the
1037
- * {@code CharSequence elements} joined together with a copy of the
1038
- * specified {@code delimiter}.
1039
- *
1040
- * <blockquote>For example,
1041
- * <pre>{@code
1042
- * List<String> strings = new LinkedList<>();
1043
- * strings.add("Java");strings.add("is");
1044
- * strings.add("cool");
1045
- * String message = String.join(" ", strings);
1046
- * //message returned is: "Java is cool"
1047
- *
1048
- * Set<String> strings = new LinkedHashSet<>();
1049
- * strings.add("Java"); strings.add("is");
1050
- * strings.add("very"); strings.add("cool");
1051
- * String message = String.join("-", strings);
1052
- * //message returned is: "Java-is-very-cool"
1053
- * }</pre></blockquote>
1054
- *
1055
- * Note that if an individual element is {@code null}, then {@code "null"} is added.
1056
- * @param delimiter a sequence of characters that is used to separate each&#xA; of the {@code elements} in the resulting {@code String}
1057
- * @param elements an {@code Iterable} that will have its {@code elements}&#xA; joined together.
1058
- * @return a new {@code String} that is composed from the {@code elements}&#xA; argument
1059
- * @throws NullPointerException If {@code delimiter} or {@code elements}&#xA; is {@code null}
1060
- * @see #join(CharSequence,CharSequence...)
1061
- * @see java.util.StringJoiner
1062
- * @since 1.8
1063
- */
1064
- join(delimiter: CharSequence, elements: Iterable): string;
1065
-
1066
1012
  /**
1067
1013
  * Converts all of the characters in this {@code String} to lower
1068
1014
  * case using the rules of the given {@code Locale}. Case mapping is based
@@ -1250,145 +1196,6 @@ export type String = Object &
1250
1196
  */
1251
1197
  toCharArray(): string;
1252
1198
 
1253
- /**
1254
- * Returns a formatted string using the specified format string and
1255
- * arguments.
1256
- *
1257
- * <p> The locale always used is the one returned by {@link
1258
- * java.util.Locale#getDefault() Locale.getDefault()}.
1259
- * @param format&#xA; A <a href="../util/Formatter.html#syntax">format string</a>
1260
- * @param args&#xA; Arguments referenced by the format specifiers in the format&#xA; string. If there are more arguments than format specifiers, the&#xA; extra arguments are ignored. The number of arguments is&#xA; variable and may be zero. The maximum number of arguments is&#xA; limited by the maximum dimension of a Java array as defined by&#xA; <cite>The Java&trade; Virtual Machine Specification</cite>.&#xA; The behaviour on a&#xA; {@code null} argument depends on the <a&#xA; href="../util/Formatter.html#syntax">conversion</a>.
1261
- * @throws java.util.IllegalFormatException&#xA; If a format string contains an illegal syntax, a format&#xA; specifier that is incompatible with the given arguments,&#xA; insufficient arguments given the format string, or other&#xA; illegal conditions. For specification of all possible&#xA; formatting errors, see the <a&#xA; href="../util/Formatter.html#detail">Details</a> section of the&#xA; formatter class specification.
1262
- * @return A formatted string
1263
- * @see java.util.Formatter
1264
- * @since 1.5
1265
- */
1266
- format(format: String | string, args: unknown[]): string;
1267
-
1268
- /**
1269
- * Returns a formatted string using the specified locale, format string,
1270
- * and arguments.
1271
- * @param l&#xA; The {@linkplain java.util.Locale locale} to apply during&#xA; formatting. If {@code l} is {@code null} then no localization&#xA; is applied.
1272
- * @param format&#xA; A <a href="../util/Formatter.html#syntax">format string</a>
1273
- * @param args&#xA; Arguments referenced by the format specifiers in the format&#xA; string. If there are more arguments than format specifiers, the&#xA; extra arguments are ignored. The number of arguments is&#xA; variable and may be zero. The maximum number of arguments is&#xA; limited by the maximum dimension of a Java array as defined by&#xA; <cite>The Java&trade; Virtual Machine Specification</cite>.&#xA; The behaviour on a&#xA; {@code null} argument depends on the&#xA; <a href="../util/Formatter.html#syntax">conversion</a>.
1274
- * @throws java.util.IllegalFormatException&#xA; If a format string contains an illegal syntax, a format&#xA; specifier that is incompatible with the given arguments,&#xA; insufficient arguments given the format string, or other&#xA; illegal conditions. For specification of all possible&#xA; formatting errors, see the <a&#xA; href="../util/Formatter.html#detail">Details</a> section of the&#xA; formatter class specification
1275
- * @return A formatted string
1276
- * @see java.util.Formatter
1277
- * @since 1.5
1278
- */
1279
- format(l: Locale, format: String | string, args: unknown[]): string;
1280
-
1281
- /**
1282
- * Returns the string representation of the {@code Object} argument.
1283
- * @param obj an {@code Object}.
1284
- * @return if the argument is {@code null}, then a string equal to&#xA; {@code "null"}; otherwise, the value of&#xA; {@code obj.toString()} is returned.
1285
- * @see java.lang.Object#toString()
1286
- */
1287
- valueOf(obj: unknown): string;
1288
-
1289
- /**
1290
- * Returns the string representation of the {@code char} array
1291
- * argument. The contents of the character array are copied; subsequent
1292
- * modification of the character array does not affect the returned
1293
- * string.
1294
- * @param data the character array.
1295
- * @return a {@code String} that contains the characters of the&#xA; character array.
1296
- */
1297
- valueOf(data: string[]): string;
1298
-
1299
- /**
1300
- * Returns the string representation of a specific subarray of the
1301
- * {@code char} array argument.
1302
- * <p>
1303
- * The {@code offset} argument is the index of the first
1304
- * character of the subarray. The {@code count} argument
1305
- * specifies the length of the subarray. The contents of the subarray
1306
- * are copied; subsequent modification of the character array does not
1307
- * affect the returned string.
1308
- * @param data the character array.
1309
- * @param offset initial offset of the subarray.
1310
- * @param count length of the subarray.
1311
- * @return a {@code String} that contains the characters of the&#xA; specified subarray of the character array.
1312
- * @throws IndexOutOfBoundsException if {@code offset} is&#xA; negative, or {@code count} is negative, or&#xA; {@code offset+count} is larger than&#xA; {@code data.length}.
1313
- */
1314
- valueOf(data: string[], offset: number, count: number): string;
1315
-
1316
- /**
1317
- * Equivalent to {@link #valueOf(char[], int, int)}.
1318
- * @param data the character array.
1319
- * @param offset initial offset of the subarray.
1320
- * @param count length of the subarray.
1321
- * @return a {@code String} that contains the characters of the&#xA; specified subarray of the character array.
1322
- * @throws IndexOutOfBoundsException if {@code offset} is&#xA; negative, or {@code count} is negative, or&#xA; {@code offset+count} is larger than&#xA; {@code data.length}.
1323
- */
1324
- copyValueOf(data: string[], offset: number, count: number): string;
1325
-
1326
- /**
1327
- * Equivalent to {@link #valueOf(char[])}.
1328
- * @param data the character array.
1329
- * @return a {@code String} that contains the characters of the&#xA; character array.
1330
- */
1331
- copyValueOf(data: string[]): string;
1332
-
1333
- /**
1334
- * Returns the string representation of the {@code boolean} argument.
1335
- * @param b a {@code boolean}.
1336
- * @return if the argument is {@code true}, a string equal to&#xA; {@code "true"} is returned; otherwise, a string equal to&#xA; {@code "false"} is returned.
1337
- */
1338
- valueOf(b: boolean): string;
1339
-
1340
- /**
1341
- * Returns the string representation of the {@code char}
1342
- * argument.
1343
- * @param c a {@code char}.
1344
- * @return a string of length {@code 1} containing&#xA; as its single character the argument {@code c}.
1345
- */
1346
- valueOf(c: string): string;
1347
-
1348
- /**
1349
- * Returns the string representation of the {@code int} argument.
1350
- * <p>
1351
- * The representation is exactly the one returned by the
1352
- * {@code Integer.toString} method of one argument.
1353
- * @param i an {@code int}.
1354
- * @return a string representation of the {@code int} argument.
1355
- * @see java.lang.Integer#toString(int, int)
1356
- */
1357
- valueOf(i: number): string;
1358
-
1359
- /**
1360
- * Returns the string representation of the {@code long} argument.
1361
- * <p>
1362
- * The representation is exactly the one returned by the
1363
- * {@code Long.toString} method of one argument.
1364
- * @param l a {@code long}.
1365
- * @return a string representation of the {@code long} argument.
1366
- * @see java.lang.Long#toString(long)
1367
- */
1368
- valueOf(l: number): string;
1369
-
1370
- /**
1371
- * Returns the string representation of the {@code float} argument.
1372
- * <p>
1373
- * The representation is exactly the one returned by the
1374
- * {@code Float.toString} method of one argument.
1375
- * @param f a {@code float}.
1376
- * @return a string representation of the {@code float} argument.
1377
- * @see java.lang.Float#toString(float)
1378
- */
1379
- valueOf(f: number): string;
1380
-
1381
- /**
1382
- * Returns the string representation of the {@code double} argument.
1383
- * <p>
1384
- * The representation is exactly the one returned by the
1385
- * {@code Double.toString} method of one argument.
1386
- * @param d a {@code double}.
1387
- * @return a string representation of the {@code double} argument.
1388
- * @see java.lang.Double#toString(double)
1389
- */
1390
- valueOf(d: number): string;
1391
-
1392
1199
  /**
1393
1200
  * Returns a canonical representation for the string object.
1394
1201
  * <p>
@@ -34,15 +34,11 @@ var _default = {
34
34
  replaceFirst: function replaceFirst() {},
35
35
  replaceAll: function replaceAll() {},
36
36
  split: function split() {},
37
- join: function join() {},
38
37
  toLowerCase: function toLowerCase() {},
39
38
  toUpperCase: function toUpperCase() {},
40
39
  trim: function trim() {},
41
40
  toString: function toString() {},
42
41
  toCharArray: function toCharArray() {},
43
- format: function format() {},
44
- valueOf: function valueOf() {},
45
- copyValueOf: function copyValueOf() {},
46
42
  intern: function intern() {}
47
43
  };
48
44
  exports["default"] = _default;
@@ -28,31 +28,6 @@ import type { AnnotatedElement } from "../AnnotatedElement";
28
28
  */
29
29
  export type AccessibleObject = Object &
30
30
  AnnotatedElement & {
31
- /**
32
- * Convenience method to set the {@code accessible} flag for an
33
- * array of objects with a single security check (for efficiency).
34
- *
35
- * <p>First, if there is a security manager, its
36
- * {@code checkPermission} method is called with a
37
- * {@code ReflectPermission("suppressAccessChecks")} permission.
38
- *
39
- * <p>A {@code SecurityException} is raised if {@code flag} is
40
- * {@code true} but accessibility of any of the elements of the input
41
- * {@code array} may not be changed (for example, if the element
42
- * object is a {@link Constructor} object for the class {@link
43
- * java.lang.Class}). In the event of such a SecurityException, the
44
- * accessibility of objects is set to {@code flag} for array elements
45
- * upto (and excluding) the element for which the exception occurred; the
46
- * accessibility of elements beyond (and including) the element for which
47
- * the exception occurred is unchanged.
48
- * @param array the array of AccessibleObjects
49
- * @param flag the new value for the {@code accessible} flag&#xA; in each object
50
- * @throws SecurityException if the request is denied.
51
- * @see SecurityManager#checkPermission
52
- * @see java.lang.RuntimePermission
53
- */
54
- setAccessible(array: AccessibleObject[], flag: boolean): void;
55
-
56
31
  /**
57
32
  * Set the {@code accessible} flag for this object to
58
33
  * the indicated boolean value. A value of {@code true} indicates that
@@ -1,4 +1,5 @@
1
1
  import type { MathContext } from "../MathContext";
2
+
2
3
  import type { RoundingMode } from "../RoundingMode";
3
4
  import type { BigInteger } from "../BigInteger";
4
5
  import type { Object } from "../../lang/Object";
@@ -194,46 +195,6 @@ import type { Comparable } from "../../lang/Comparable";
194
195
  */
195
196
  export type BigDecimal = Number &
196
197
  Comparable & {
197
- /**
198
- * Translates a {@code long} unscaled value and an
199
- * {@code int} scale into a {@code BigDecimal}. This
200
- * {@literal "static factory method"} is provided in preference to
201
- * a ({@code long}, {@code int}) constructor because it
202
- * allows for reuse of frequently used {@code BigDecimal} values..
203
- * @param unscaledVal unscaled value of the {@code BigDecimal}.
204
- * @param scale scale of the {@code BigDecimal}.
205
- * @return a {@code BigDecimal} whose value is&#xA; <tt>(unscaledVal &times; 10<sup>-scale</sup>)</tt>.
206
- */
207
- valueOf(unscaledVal: number, scale: number): BigDecimal;
208
-
209
- /**
210
- * Translates a {@code long} value into a {@code BigDecimal}
211
- * with a scale of zero. This {@literal "static factory method"}
212
- * is provided in preference to a ({@code long}) constructor
213
- * because it allows for reuse of frequently used
214
- * {@code BigDecimal} values.
215
- * @param val value of the {@code BigDecimal}.
216
- * @return a {@code BigDecimal} whose value is {@code val}.
217
- */
218
- valueOf(val: number): BigDecimal;
219
-
220
- /**
221
- * Translates a {@code double} into a {@code BigDecimal}, using
222
- * the {@code double}'s canonical string representation provided
223
- * by the {@link Double#toString(double)} method.
224
- *
225
- * <p><b>Note:</b> This is generally the preferred way to convert
226
- * a {@code double} (or {@code float}) into a
227
- * {@code BigDecimal}, as the value returned is equal to that
228
- * resulting from constructing a {@code BigDecimal} from the
229
- * result of using {@link Double#toString(double)}.
230
- * @param val {@code double} to convert to a {@code BigDecimal}.
231
- * @return a {@code BigDecimal} whose value is equal to or approximately&#xA; equal to the value of {@code val}.
232
- * @throws NumberFormatException if {@code val} is infinite or NaN.
233
- * @since 1.5
234
- */
235
- valueOf(val: number): BigDecimal;
236
-
237
198
  /**
238
199
  * Returns a {@code BigDecimal} whose value is {@code (this +
239
200
  * augend)}, and whose scale is {@code max(this.scale(),
@@ -5,7 +5,6 @@ Object.defineProperty(exports, "__esModule", {
5
5
  });
6
6
  exports["default"] = void 0;
7
7
  var _default = {
8
- valueOf: function valueOf() {},
9
8
  add: function add() {},
10
9
  subtract: function subtract() {},
11
10
  multiply: function multiply() {},
@@ -1,5 +1,3 @@
1
- import type { Random } from "../../util/Random";
2
-
3
1
  import type { Object } from "../../lang/Object";
4
2
  import type { String } from "../../lang/String";
5
3
 
@@ -82,19 +80,6 @@ import type { Comparable } from "../../lang/Comparable";
82
80
  */
83
81
  export type BigInteger = Number &
84
82
  Comparable & {
85
- /**
86
- * Returns a positive BigInteger that is probably prime, with the
87
- * specified bitLength. The probability that a BigInteger returned
88
- * by this method is composite does not exceed 2<sup>-100</sup>.
89
- * @param bitLength bitLength of the returned BigInteger.
90
- * @param rnd source of random bits used to select candidates to be&#xA; tested for primality.
91
- * @return a BigInteger of {@code bitLength} bits that is probably prime
92
- * @throws ArithmeticException {@code bitLength < 2} or {@code bitLength} is too large.
93
- * @see #bitLength()
94
- * @since 1.4
95
- */
96
- probablePrime(bitLength: number, rnd: Random): BigInteger;
97
-
98
83
  /**
99
84
  * Returns the first integer greater than this {@code BigInteger} that
100
85
  * is probably prime. The probability that the number returned by this
@@ -107,16 +92,6 @@ export type BigInteger = Number &
107
92
  */
108
93
  nextProbablePrime(): BigInteger;
109
94
 
110
- /**
111
- * Returns a BigInteger whose value is equal to that of the
112
- * specified {@code long}. This "static factory method" is
113
- * provided in preference to a ({@code long}) constructor
114
- * because it allows for reuse of frequently used BigIntegers.
115
- * @param val value of the BigInteger to return.
116
- * @return a BigInteger with the specified value.
117
- */
118
- valueOf(val: number): BigInteger;
119
-
120
95
  /**
121
96
  * Returns a BigInteger whose value is {@code (this + val)}.
122
97
  * @param val value to be added to this BigInteger.
@@ -5,9 +5,7 @@ Object.defineProperty(exports, "__esModule", {
5
5
  });
6
6
  exports["default"] = void 0;
7
7
  var _default = {
8
- probablePrime: function probablePrime() {},
9
8
  nextProbablePrime: function nextProbablePrime() {},
10
- valueOf: function valueOf() {},
11
9
  add: function add() {},
12
10
  subtract: function subtract() {},
13
11
  multiply: function multiply() {},
@@ -353,138 +353,4 @@ export type InetAddress = Object &
353
353
  * @return a string representation of this IP address.
354
354
  */
355
355
  toString(): string;
356
-
357
- /**
358
- * Creates an InetAddress based on the provided host name and IP address.
359
- * No name service is checked for the validity of the address.
360
- *
361
- * <p> The host name can either be a machine name, such as
362
- * "{@code java.sun.com}", or a textual representation of its IP
363
- * address.
364
- * <p> No validity checking is done on the host name either.
365
- *
366
- * <p> If addr specifies an IPv4 address an instance of Inet4Address
367
- * will be returned; otherwise, an instance of Inet6Address
368
- * will be returned.
369
- *
370
- * <p> IPv4 address byte array must be 4 bytes long and IPv6 byte array
371
- * must be 16 bytes long
372
- * @param host the specified host
373
- * @param addr the raw IP address in network byte order
374
- * @return an InetAddress object created from the raw IP address.
375
- * @throws UnknownHostException if IP address is of illegal length
376
- * @since 1.4
377
- */
378
- getByAddress(host: String | string, addr: unknown[]): InetAddress;
379
-
380
- /**
381
- * Determines the IP address of a host, given the host's name.
382
- *
383
- * <p> The host name can either be a machine name, such as
384
- * "{@code java.sun.com}", or a textual representation of its
385
- * IP address. If a literal IP address is supplied, only the
386
- * validity of the address format is checked.
387
- *
388
- * <p> For {@code host} specified in literal IPv6 address,
389
- * either the form defined in RFC 2732 or the literal IPv6 address
390
- * format defined in RFC 2373 is accepted. IPv6 scoped addresses are also
391
- * supported. See <a href="Inet6Address.html#scoped">here</a> for a description of IPv6
392
- * scoped addresses.
393
- *
394
- * <p> If the host is {@code null} then an {@code InetAddress}
395
- * representing an address of the loopback interface is returned.
396
- * See <a href="http://www.ietf.org/rfc/rfc3330.txt">RFC&nbsp;3330</a>
397
- * section&nbsp;2 and <a href="http://www.ietf.org/rfc/rfc2373.txt">RFC&nbsp;2373</a>
398
- * section&nbsp;2.5.3. </p>
399
- * @param host the specified host, or {@code null}.
400
- * @return an IP address for the given host name.
401
- * @throws UnknownHostException if no IP address for the&#xA; {@code host} could be found, or if a scope_id was specified&#xA; for a global IPv6 address.
402
- * @throws SecurityException if a security manager exists&#xA; and its checkConnect method doesn't allow the operation
403
- */
404
- getByName(host: String | string): InetAddress;
405
-
406
- /**
407
- * Given the name of a host, returns an array of its IP addresses,
408
- * based on the configured name service on the system.
409
- *
410
- * <p> The host name can either be a machine name, such as
411
- * "{@code java.sun.com}", or a textual representation of its IP
412
- * address. If a literal IP address is supplied, only the
413
- * validity of the address format is checked.
414
- *
415
- * <p> For {@code host} specified in <i>literal IPv6 address</i>,
416
- * either the form defined in RFC 2732 or the literal IPv6 address
417
- * format defined in RFC 2373 is accepted. A literal IPv6 address may
418
- * also be qualified by appending a scoped zone identifier or scope_id.
419
- * The syntax and usage of scope_ids is described
420
- * <a href="Inet6Address.html#scoped">here</a>.
421
- * <p> If the host is {@code null} then an {@code InetAddress}
422
- * representing an address of the loopback interface is returned.
423
- * See <a href="http://www.ietf.org/rfc/rfc3330.txt">RFC&nbsp;3330</a>
424
- * section&nbsp;2 and <a href="http://www.ietf.org/rfc/rfc2373.txt">RFC&nbsp;2373</a>
425
- * section&nbsp;2.5.3. </p>
426
- *
427
- * <p> If there is a security manager and {@code host} is not
428
- * null and {@code host.length() } is not equal to zero, the
429
- * security manager's
430
- * {@code checkConnect} method is called
431
- * with the hostname and {@code -1}
432
- * as its arguments to see if the operation is allowed.
433
- * @param host the name of the host, or {@code null}.
434
- * @return an array of all the IP addresses for a given host name.
435
- * @throws UnknownHostException if no IP address for the&#xA; {@code host} could be found, or if a scope_id was specified&#xA; for a global IPv6 address.
436
- * @throws SecurityException if a security manager exists and its&#xA; {@code checkConnect} method doesn't allow the operation.
437
- * @see SecurityManager#checkConnect
438
- */
439
- getAllByName(host: String | string): InetAddress;
440
-
441
- /**
442
- * Returns the loopback address.
443
- * <p>
444
- * The InetAddress returned will represent the IPv4
445
- * loopback address, 127.0.0.1, or the IPv6 loopback
446
- * address, ::1. The IPv4 loopback address returned
447
- * is only one of many in the form 127.*.*.*
448
- * @return the InetAddress loopback instance.
449
- * @since 1.7
450
- */
451
- getLoopbackAddress(): InetAddress;
452
-
453
- /**
454
- * Returns an {@code InetAddress} object given the raw IP address .
455
- * The argument is in network byte order: the highest order
456
- * byte of the address is in {@code getAddress()[0]}.
457
- *
458
- * <p> This method doesn't block, i.e. no reverse name service lookup
459
- * is performed.
460
- *
461
- * <p> IPv4 address byte array must be 4 bytes long and IPv6 byte array
462
- * must be 16 bytes long
463
- * @param addr the raw IP address in network byte order
464
- * @return an InetAddress object created from the raw IP address.
465
- * @throws UnknownHostException if IP address is of illegal length
466
- * @since 1.4
467
- */
468
- getByAddress(addr: unknown[]): InetAddress;
469
-
470
- /**
471
- * Returns the address of the local host. This is achieved by retrieving
472
- * the name of the host from the system, then resolving that name into
473
- * an {@code InetAddress}.
474
- *
475
- * <P>Note: The resolved address may be cached for a short period of time.
476
- * </P>
477
- *
478
- * <p>If there is a security manager, its
479
- * {@code checkConnect} method is called
480
- * with the local host name and {@code -1}
481
- * as its arguments to see if the operation is allowed.
482
- * If the operation is not allowed, an InetAddress representing
483
- * the loopback address is returned.
484
- * @return the address of the local host.
485
- * @throws UnknownHostException if the local host name could not&#xA; be resolved into an address.
486
- * @see SecurityManager#checkConnect
487
- * @see java.net.InetAddress#getByName(java.lang.String)
488
- */
489
- getLocalHost(): InetAddress;
490
356
  };
@@ -22,11 +22,6 @@ var _default = {
22
22
  getHostAddress: function getHostAddress() {},
23
23
  hashCode: function hashCode() {},
24
24
  equals: function equals() {},
25
- toString: function toString() {},
26
- getByAddress: function getByAddress() {},
27
- getByName: function getByName() {},
28
- getAllByName: function getAllByName() {},
29
- getLoopbackAddress: function getLoopbackAddress() {},
30
- getLocalHost: function getLocalHost() {}
25
+ toString: function toString() {}
31
26
  };
32
27
  exports["default"] = _default;