src/java.base/share/classes/java/text/ChoiceFormat.java
changeset 54206 003cc64366da
parent 51275 b095f437af22
child 57956 e0b8b019d2f5
child 58678 9cf78a70fa4f
equal deleted inserted replaced
54205:d9f43dfbe524 54206:003cc64366da
     1 /*
     1 /*
     2  * Copyright (c) 1996, 2018, Oracle and/or its affiliates. All rights reserved.
     2  * Copyright (c) 1996, 2019, Oracle and/or its affiliates. All rights reserved.
     3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     4  *
     4  *
     5  * This code is free software; you can redistribute it and/or modify it
     5  * This code is free software; you can redistribute it and/or modify it
     6  * under the terms of the GNU General Public License version 2 only, as
     6  * under the terms of the GNU General Public License version 2 only, as
     7  * published by the Free Software Foundation.  Oracle designates this
     7  * published by the Free Software Foundation.  Oracle designates this
   149  * Format with NaN : is negative
   149  * Format with NaN : is negative
   150  * Format with +INF : is more than 2.
   150  * Format with +INF : is more than 2.
   151  * }</pre>
   151  * }</pre>
   152  * </blockquote>
   152  * </blockquote>
   153  *
   153  *
   154  * <h3><a id="synchronization">Synchronization</a></h3>
   154  * <h2><a id="synchronization">Synchronization</a></h2>
   155  *
   155  *
   156  * <p>
   156  * <p>
   157  * Choice formats are not synchronized.
   157  * Choice formats are not synchronized.
   158  * It is recommended to create separate format instances for each thread.
   158  * It is recommended to create separate format instances for each thread.
   159  * If multiple threads access a format concurrently, it must be synchronized
   159  * If multiple threads access a format concurrently, it must be synchronized