JDK-7057645 : Add methods to Character.UnicodeBlock (returning first & last codepoints, the list of blocks)
  • Type: Enhancement
  • Component: core-libs
  • Sub-Component: java.lang
  • Affected Version: 8
  • Priority: P4
  • Status: Resolved
  • Resolution: Won't Fix
  • OS: generic
  • CPU: generic
  • Submitted: 2011-06-21
  • Updated: 2019-01-24
  • Resolved: 2019-01-24
Related Reports
Relates :  
Description
The following methods seems very helpful for developers who handle Unicode blocks. They should be added to JDK.

- int getFirstCodePoint() - returns the first code point of the block
- int getLastCodePoint() - returns the last code point of the block
- UnicodeBlock[] getAllBlocks() or something - returns all UnicodeBlocks

Comments
No convincing use cases of such new methods seems to be found..closing as "Won't Fix"
24-01-2019