Alternative class to allow for extensible Strings: How to work around java.lang.String being final? [closed]
问题 Closed . This question needs details or clarity. It is not currently accepting answers. Want to improve this question? Add details and clarify the problem by editing this post. Closed 5 days ago . Improve this question Recreating java.lang.String is not hard. See attached code. I'm really writing this to show how easy it is. If anybody wants to figure out how to get the native isBigEndian() and add it in the solutions, that'd be great. Other String methods would be great too. Just put this