Surrogate
Utility class for dealing with surrogates.
Author
Mark Reinhold
Martin Buchholz
Ulf Zibis
Functions
Returns the high UTF-16 surrogate for the given supplementary UCS-4 character. Use of Character.highSurrogate is generally preferred.
Tells whether or not the given value is in the high surrogate range. Use of Character.isHighSurrogate is generally preferred.
Tells whether or not the given value is in the low surrogate range. Use of Character.isLowSurrogate is generally preferred.
Returns the low UTF-16 surrogate for the given supplementary UCS-4 character. Use of Character.lowSurrogate is generally preferred.
Tells whether or not the given UCS-4 character must be represented as a surrogate pair in UTF-16. Use of Character.isSupplementaryCodePoint is generally preferred.