request for paired constants in j.l.Character
Ulf.Zibis at gmx.de
Wed Mar 17 01:14:36 UTC 2010
In java.lang.Character we have:
public static final char MIN_VALUE = '\u0000';
public static final char MAX_VALUE = '\uFFFF';
public static final int MIN_CODE_POINT = 0x000000;
public static final int MAX_CODE_POINT = 0X10FFFF;
public static final int MIN_SUPPLEMENTARY_CODE_POINT = MAX_VALUE + 1;
As we have MIN_CODE_POINT, which is duplicate of MIN_VALUE, IMO we
additionally could have
public static final int MAX_SUPPLEMENTARY_CODE_POINT = MAX_CODE_POINT;
It would look better and serve plenty users expectations to find those
MIN/MAX constants as pair.
Is there anybody who agrees with me ?
More information about the core-libs-dev