jdk/src/java.base/share/classes/sun/text/CompactByteArray.java
changeset 32649 2ee9017c7597
parent 30655 d83f50188ca9
equal deleted inserted replaced
32648:1fa861caf840 32649:2ee9017c7597
   210     /**
   210     /**
   211      * Convenience utility to compare two arrays of doubles.
   211      * Convenience utility to compare two arrays of doubles.
   212      * @param len the length to compare.
   212      * @param len the length to compare.
   213      * The start indices and start+len must be valid.
   213      * The start indices and start+len must be valid.
   214      */
   214      */
   215     final static boolean arrayRegionMatches(byte[] source, int sourceStart,
   215     static final boolean arrayRegionMatches(byte[] source, int sourceStart,
   216                                             byte[] target, int targetStart,
   216                                             byte[] target, int targetStart,
   217                                             int len)
   217                                             int len)
   218     {
   218     {
   219         int sourceEnd = sourceStart + len;
   219         int sourceEnd = sourceStart + len;
   220         int delta = targetStart - sourceStart;
   220         int delta = targetStart - sourceStart;