isHighSurrogate

Determines if the given char value is a Unicode high-surrogate code unit (also known as leading-surrogate code unit).

Such values do not represent characters by themselves, but are used in the representation of #supplementary in the UTF-16 encoding.

Return

true if the char value is between .MIN_HIGH_SURROGATE and .MAX_HIGH_SURROGATE inclusive; false otherwise.

Since

1.5

Parameters

ch

the char value to be tested.

See also

Character.UnicodeBlock.of