copyVector

public static Vector copyVector(Vector vector)

Copies a Vector, but with a different reference location in the memory. So basically a deep copy.

Return

returns the copied Vector.

Parameters

vector

Vector to be deep copied.