Why Java DefaultTableModel use Vector?

I know we have to use AWT thread for all table model update operations. Under the single AWT thread, any table model will be thread-safe. Why DefaultTableModel picks thread-safe Vector as its data stucture, which slower than other data structures like ArrayList?

8
задан user729309 28 April 2011 в 12:59
поделиться