hi all,
I'm having a problem with a piece of code, and I'm going nuts here.
here's the piece, plese help
public STable(Vector fieldsv, Vector rowsv)
{
originalRows = (Vector)rowsv.clone();
rows = (Vector)rowsv.clone();
...
}
now, the problem is that when rows changes originalRows changes too.
the parameter is a vector of vectors, so I'm guessing that's messging
things up, right?
Any help would be appreciated
TIA
--Yohans
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Yohans Mendoza Unix Administrator
[EMAIL PROTECTED] Sirius Images Inc.
http://www2.utep.edu/~yohans http://www.sirius-images.net
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
----------------------------------------------------------------------
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]