equal
deleted
inserted
replaced
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; |