Shouldn't it be easier to turn a String into a stream of chars? (perhaps the String API needs a new method)

2024-09-24 Thread Anil
-> (char) n); It should not take so many obscure steps like this to turn a String into a stream of chars! I feel the Java API needs another method Stream String.asChars() thanks, Anil

Re: want to try out small idea; where is the implementing class for Stream interface?

2024-07-24 Thread Anil
Thank you! I set up ant and IDEA. If I understood you correctly, SDK should not be set at all (screenshot below). [image: image.png] On Tue, Jul 23, 2024 at 6:41 PM Chen Liang wrote: > Hi Anil, > Ant is not a command-line tool of linux; it's an ancient Java build tool > popula

Re: want to try out small idea; where is the implementing class for Stream interface?

2024-07-23 Thread Anil
Chen, Thank you for your reply. I am unable to find ant in cygwin64 anilr@ANIL-LAPTOP /cygdrive/c/users/anil/OpenJDK/jdk $ bin/idea.sh FATAL: cannot find ant. Try setting ANT_HOME. When I run setup, I don't see it at all. [image: image.png] On Sun, Jul 21, 2024 at 6:46 PM Chen Liang

Re: want to try out small idea; where is the implementing class for Stream interface?

2024-07-21 Thread Anil
Chen, Thanks for your reply. Yes, I am using IntelliJ Community Edition (on Windows 11, Cygwin64). I did not set up the project - I just opened the package in IJ C:\Users\Anil\OpenJDK\jdk\src\java.base\share\classes\java\util\stream Is there something different I should be doing? thanks, Anil On

want to try out small idea; where is the implementing class for Stream interface?

2024-07-20 Thread Anil
Hi, I had a small idea on debugging of streams and was trying to implement it to see if it works. I am able to build the OpenJDK (on Windows 11, Cygwin64). However, I am unable to find the implementing class of java.util.Stream. Can you please help? thanks, Anil Philip