Java 11: new in String
Hello! Since the release of Java 11 have passed a day, and now finally began to appear the first release reviews. I'll dedicate my small article to the imperceptible for official releases and therefore to the attention paid update of the String class, especially since it is not mentioned in official documentation of the 11th Java (I, in any case, there is no information about it).
Indeed, if we look at the String class, then among the many familiar methods we find a few, labeled as "@since 11" . And yes, officially in Java they appeared only yesterday.
resource on the github.
It may be interesting