toArray(":) :)") fails
See original GitHub issueIt returns [{…}, " :)"], this is, just an emoji (the first one) and then a simple " 😃" text.
Issue Analytics
- State:
- Created 6 years ago
- Reactions:1
- Comments:8 (2 by maintainers)
Top Results From Across the Web
java - In what case does casting ArrayList<Type>.toArray() to ...
This is why it will always fail - the toArray() method ALWAYS produces an Object[] , which cannot be cast like that.
Read more >Enumerable.ToArray() fails on the results of some uses of ...
ToArray() where someSequence is an IEnumerable<Enum1> produces a perfectly find Enum1[] . It's surprising behaviour that source.Cast<Enum1>().
Read more >Question about toArray() method, Java - LeetCode Discuss
The toArray() method is used to get an array which contains all the elements in ArrayList object in proper sequence (from first to...
Read more >Collection.toArray(new T[0]) or .toArray(new T[size]) - Baeldung
The toArray() method allocates a new in-memory array with a length equal to the size of the collection. Internally, it invokes the Arrays....
Read more >ArrayList to Array Conversion in Java : toArray() Methods
Note: toArray() method returns an array of type Object(Object[]). ... If we do not typecast, we get compilation error.
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

Hi, great library ! I’m fixing this and I will open a PR.
And confirmed that it works 😃