jdk/src/share/classes/sun/text/CompactByteArray.java
changeset 10419 12c063b39232
parent 5506 202f599c92aa
child 11136 f0f53bbe5bd1
equal deleted inserted replaced
10418:1d57022fdb6e 10419:12c063b39232
   267             other.values = (byte[])values.clone();
   267             other.values = (byte[])values.clone();
   268             other.indices = (short[])indices.clone();
   268             other.indices = (short[])indices.clone();
   269             if (hashes != null) other.hashes = (int[])hashes.clone();
   269             if (hashes != null) other.hashes = (int[])hashes.clone();
   270             return other;
   270             return other;
   271         } catch (CloneNotSupportedException e) {
   271         } catch (CloneNotSupportedException e) {
   272             throw new InternalError();
   272             throw new InternalError(e);
   273         }
   273         }
   274     }
   274     }
   275 
   275 
   276     /**
   276     /**
   277      * Compares the equality of two compact array objects.
   277      * Compares the equality of two compact array objects.