Ivan Hetman
e13746a650
classlib: fix reverse bytes methods in primitive wrappers ( #753 )
2023-09-21 13:58:03 +02:00
Alexey Andreev
2ae9c593d2
classlib: satisfy checkstyle after applying latest PR
2023-09-21 09:51:34 +02:00
Jonathan Coates
6efade1b49
classlib: Add nio's channel interfaces ( #751 )
...
- Add the basic java.nio.channels.Channel interfaces.
- Add several nio exception types.
- Add UncheckedIOException
2023-09-21 09:20:24 +02:00
Ivan Hetman
8277671376
classlib: make difference between raw and normal floating points to int conversion
2023-09-20 23:51:55 +03:00
Alexey Andreev
3b6b31ff8f
Implement more precise comparison logic
2023-09-20 21:30:56 +02:00
Ivan Hetman
154bf7abd9
classlib: more fixes to Math.nextUp/nextDown ( #746 )
2023-09-19 13:21:32 +02:00
Alexey Andreev
617ce67871
classlib: follow-up for math fixes
2023-09-19 11:34:51 +02:00
Alexey Andreev
c245eb08cd
Fix checkstyle rule violation
2023-09-19 11:34:50 +02:00
Ivan Hetman
93d1a5e492
classlib: float/double equals fixes ( #741 )
2023-09-19 11:34:29 +02:00
Ivan Hetman
0997a65596
classlib: math fixes ( #742 )
2023-09-19 09:52:10 +02:00
Ivan Hetman
4a081db1c3
classlib: update RandomGenerator implementation ( #743 )
2023-09-19 09:39:57 +02:00
Alexey Andreev
062d4ae4e9
classlib: improve accuracy of float parsing and formatting
2023-09-15 12:11:37 +02:00
Alexey Andreev
e1706f242d
classlib: improve accuracy of Double.toString
2023-09-14 20:55:09 +02:00
Alexey Andreev
7059038cf0
classlib: improve accuracy of double parser
2023-09-14 15:38:43 +02:00
Alexey Andreev
0a92994c4b
classlib: improve accuracy of double parser and fix possible issue
2023-09-14 10:04:27 +02:00
Alexey Andreev
b2aae0634e
classlib: improve accuracy of Double.toString
2023-09-13 21:20:18 +02:00
Alexey Andreev
e2ee9f1dbb
classlib: improve precision of float/double parsing and formatting
2023-09-13 19:40:00 +02:00
Alexey Andreev
e6c71fa106
classlib: add ThreadDeath class
...
Fix #733
2023-09-10 18:46:33 +02:00
Alexey Andreev
83ace9bf3e
classlib: fix ByteBuffer.putLong implementation
...
Fix #737
2023-09-05 09:26:22 +02:00
Alexey Andreev
401fcabeae
wasm: support ServiceLoader
2023-08-28 19:32:22 +02:00
Alexey Andreev
9ecb3ad817
classlib: support ReferenceQueue.remove
2023-08-21 20:13:06 +02:00
Alexey Andreev
56dfa124ca
classlib: add more methods to Logger
2023-08-18 18:29:50 +02:00
Alexey Andreev
9af6d262fe
classlib: properly implement ByteOrder.nativeOrder
2023-08-18 17:55:01 +02:00
Alexey Andreev
a3f0ec52d4
classlib: support putFloat/getFloat/putDouble/getDouble in ByteBuffer
2023-08-17 11:59:48 +02:00
Alexey Andreev
22864c88f2
js: support WeakReference
2023-08-10 20:47:01 +02:00
Alexey Andreev
cd38447057
classlib: make Reader class implement Readable interface
2023-08-10 19:24:49 +02:00
Alexey Andreev
7aefaf37ed
classlib: fix issue in PrintStream.println
...
Fix #726
2023-08-04 09:47:53 +02:00
Alexey Andreev
948244cbf4
JS: marshall JS object to Java in a wrapper
2023-07-29 18:54:23 +02:00
Alexey Andreev
9438380716
classlib: improve System.arraycopy for primitive arrays
2023-07-20 20:21:52 +02:00
Alexey Andreev
61eb666503
classlib: faster implementation of System.arraycopy
2023-07-19 21:11:27 +02:00
Alexey Andreev
b11ad994fd
classlib: support more methods in InputStream
2023-07-19 19:22:17 +02:00
Ivan Hetman
61ef007672
classlib: add Stream dropWhile and takeWhile
2023-07-05 19:44:10 +02:00
Ivan Hetman
ac2e5d6fa0
classlib: added Stream iterate method ( #721 )
2023-07-05 19:40:08 +02:00
Alexey Andreev
eed42e33b0
classlib: implement ConcurrentHashMap
2023-07-05 19:38:37 +02:00
Ivan Hetman
8e676ff16c
classlib: add mapMulti to Stream ( #720 )
2023-07-03 20:35:36 +03:00
Ivan Hetman
23a6393267
classlib: collectors partitioning by ( #716 )
2023-06-21 15:35:37 +02:00
Kirill Prazdnikov
81124a084b
classlib: fix ByteBuffer,CharBuffer,*Buffer IOOB exception throw with zero length arrays in arguments
...
fix #713
2023-06-21 15:30:30 +02:00
Jasper Siepkes
efe15e323b
classlib: add not method to Predicate interface ( #709 )
...
With this addition the Predicate interface is 100% complete for Java 17.
2023-06-07 12:57:22 +02:00
Alexey Andreev
9dd9fc3a8a
classlib: improve performance of several String methods
2023-06-07 11:22:01 +02:00
Alexey Andreev
cb67595f5b
Fix checkstyle errors
2023-06-07 10:51:47 +02:00
Ivan Hetman
8b9d39dbb8
classlib: additional collectors for streams
2023-06-07 10:18:37 +02:00
Jasper Siepkes
a409763f76
classlib: add the copyOf method to List, Set and Map interfaces ( #708 )
...
The copyOf static method was added in Java 10 to the List, Set and Map interfaces. Since no additions were made since Java 10 this commit brings the List, Set and Map interfaces to 100% completion for the latest LTS (Java 17) at the time of writing.
2023-06-07 10:13:20 +02:00
Ivan Hetman
d209a5f02e
classlib: add Collectors.reducing ( #704 )
2023-06-06 11:08:15 +02:00
Jasper Siepkes
7104edb592
classlib: add stripLeading and stripTrailing methods to String class ( #707 )
...
The stripLeading and stripTrailing methods were added in Java 11 to the String class.
Based on the implementation of the existing strip method in TeaVM this commit adds the stripLeading() and stripTrailing() methods (and tests) to the String class in the class library.
2023-06-06 10:09:25 +02:00
Ivan Hetman
ac8cb377c3
classlib: improve and fix Integer/Long long bit operations
2023-05-16 11:08:05 +02:00
Alexey Andreev
73d2379185
classlib: add Integer/Long parse subsequence
2023-05-16 10:37:38 +02:00
Alexey Andreev
81f78fab01
classlib: add String.strip
2023-05-16 10:12:36 +02:00
Ivan Hetman
697ad73762
classlib: add Collectors grouping by
2023-05-16 09:57:13 +02:00
Alexey Andreev
9f349385ec
classlib: fix issue in BitSet.set
2023-04-26 16:25:25 +02:00
Ivan Hetman
25890adcf8
Add record class name to toString implementation ( #691 )
2023-04-21 12:57:51 +02:00