Per copiare due array, diciamo input e output, dello stesso tipo si può fare così: <pre> <verbatim> Object[] input, output; ... System.arraycopy(input, 0, output, 0, output.length); </verbatim> </pre> così si copia velocemente (il + velocemente possibile!) ciò che è in <code>input</code> da 0 ad <code>output.length</code> dentro <code>output</code>.<br> -- Users.LeonardoLombardo - 02 Feb 2001 <br>
This topic: Sistemioperativi1
>
CopiareArray
Topic revision: r1 - 2001-02-02 - LeonardoLombardo
Copyright © 2008-2025 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki?
Send feedback