equal
deleted
inserted
replaced
1 /* |
1 /* |
2 * Copyright (c) 2000, 2018, Oracle and/or its affiliates. All rights reserved. |
2 * Copyright (c) 2000, 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 |
453 } |
453 } |
454 |
454 |
455 /** |
455 /** |
456 * Returns the maximum number of $otype$s that will be produced for each |
456 * Returns the maximum number of $otype$s that will be produced for each |
457 * $itype$ of input. This value may be used to compute the worst-case size |
457 * $itype$ of input. This value may be used to compute the worst-case size |
458 * of the output buffer required for a given input sequence. |
458 * of the output buffer required for a given input sequence. This value |
|
459 * accounts for any necessary content-independent prefix or suffix |
|
460 #if[encoder] |
|
461 * $otype$s, such as byte-order marks. |
|
462 #end[encoder] |
|
463 #if[decoder] |
|
464 * $otype$s. |
|
465 #end[decoder] |
459 * |
466 * |
460 * @return The maximum number of $otype$s that will be produced per |
467 * @return The maximum number of $otype$s that will be produced per |
461 * $itype$ of input |
468 * $itype$ of input |
462 */ |
469 */ |
463 public final float max$ItypesPerOtype$() { |
470 public final float max$ItypesPerOtype$() { |