Thanks to visit codestin.com
Credit goes to github.com

Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions programming_languages.rst
Original file line number Diff line number Diff line change
Expand Up @@ -609,14 +609,15 @@ Java
----

``char`` is a character able to store Unicode :ref:`BMP <bmp>` only characters
(U+0000—U+FFFF), whereas ``Character`` is a character able to store any Unicode
character (U+0000—U+10FFFF). ``Character`` methods:
(U+0000—U+FFFF), whereas ``Character`` is a wrapper of the ``char`` with static helper functions.
``Character`` methods:

* ``.getType(ch)``: get the :ref:`category <unicode categories>` of a
character
* ``.isWhitespace(ch)``: test if a character is a whitespace
according to Java
* ``.toUpperCase(ch)``: convert to uppercase
* ``.codePointAt(CharSequence, int)``: return the code point at the given index of the CharSequence

.. todo:: explain isWhitespace()

Expand Down