Danke für die Info.
Sind zwei getrennte Dinge:
Code:
public class Vector<E>
extends AbstractList<E>
implements List<E>, RandomAccess, Cloneable, java.io.Serializable
Code:
public class ArrayList<E> extends AbstractList<E>
implements List<E>, RandomAccess, Cloneable, java.io.Serializable{
Habe jetzt keine Lust mir den ganzen Code durchzulesen, anscheinend hat die Vector Klasse aber mehr Codezeilen als ArrayList (1020 vs. 590) kann aber auch an den Kommentaren liegen (und sagt natürlich nichts darüber aus wie sie funktionieren, ich hab aber keine Lust mich in den Quellcode einzulesen).
Jak
____________________________________
Join the DNRC |
Godwin\'s Law (thx@stona)
Documentation is like sex: If it\'s good, it\'s very, very good. If it\'s bad, it\'s better than nothing.
\"In theory, theory and practice are the same. In practice, they are not\" (Lawrence Berra)