< prev index next >

src/java.desktop/share/classes/javax/sound/midi/MetaMessage.java

Print this page

        

*** 193,202 **** --- 193,203 ---- * Creates a new object of the same class and with the same contents as this * object. * * @return a clone of this instance */ + @Override public Object clone() { byte[] newData = new byte[length]; System.arraycopy(data, 0, newData, 0, newData.length); MetaMessage event = new MetaMessage(newData);
< prev index next >