< prev index next >
src/java.base/share/classes/java/lang/Character.java
Print this page
rev 52936 : [mq]: 8215194
*** 679,693 ****
*
* @since 1.2
*/
public static final class UnicodeBlock extends Subset {
/**
! * 649 - the expected number of entities
* 0.75 - the default load factor of HashMap
*/
private static Map<String, UnicodeBlock> map =
! new HashMap<>((int)(649 / 0.75f + 1.0f));
/**
* Creates a UnicodeBlock with the given identifier name.
* This name must be the same as the block identifier.
*/
--- 679,693 ----
*
* @since 1.2
*/
public static final class UnicodeBlock extends Subset {
/**
! * 667 - the expected number of entities
* 0.75 - the default load factor of HashMap
*/
private static Map<String, UnicodeBlock> map =
! new HashMap<>((int)(667 / 0.75f + 1.0f));
/**
* Creates a UnicodeBlock with the given identifier name.
* This name must be the same as the block identifier.
*/
< prev index next >