LEFT | RIGHT |
(Both sides are equal) |
1 // © 2016 and later: Unicode, Inc. and others. | 1 // © 2016 and later: Unicode, Inc. and others. |
2 // License & terms of use: http://www.unicode.org/copyright.html#License | 2 // License & terms of use: http://www.unicode.org/copyright.html#License |
3 /* | 3 /* |
4 * *****************************************************************************
*** | 4 * *****************************************************************************
*** |
5 * Copyright (C) 2007-2011, International Business Machines Corporation and othe
rs. | 5 * Copyright (C) 2007-2011, International Business Machines Corporation and othe
rs. |
6 * All Rights Reserved. | 6 * All Rights Reserved. |
7 * *****************************************************************************
*** | 7 * *****************************************************************************
*** |
8 */ | 8 */ |
9 package com.ibm.icu.impl; | 9 package com.ibm.icu.impl; |
10 | 10 |
(...skipping 496 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
507 | 507 |
508 private static char[] subArray(char[] array, int start, int limit) { | 508 private static char[] subArray(char[] array, int start, int limit) { |
509 if (start == 0 && limit == array.length) { | 509 if (start == 0 && limit == array.length) { |
510 return array; | 510 return array; |
511 } | 511 } |
512 char[] sub = new char[limit - start]; | 512 char[] sub = new char[limit - start]; |
513 System.arraycopy(array, start, sub, 0, limit - start); | 513 System.arraycopy(array, start, sub, 0, limit - start); |
514 return sub; | 514 return sub; |
515 } | 515 } |
516 } | 516 } |
LEFT | RIGHT |