fossilesque@mander.xyzM to Science Memes@mander.xyzEnglish · 2 months agoExplain yourselves, comp sci.mander.xyzimagemessage-square35fedilinkarrow-up1330
arrow-up1330imageExplain yourselves, comp sci.mander.xyzfossilesque@mander.xyzM to Science Memes@mander.xyzEnglish · 2 months agomessage-square35fedilink
minus-squareunalivejoy@lemm.eelinkfedilinkEnglisharrow-up6·edit-22 months agoNo. ArrayList is thread safe and implements the collections API. Vector doesn’t. Though if you’re using Java, there’s almost no instance where you would want to use a Vector instead of ArrayList.
No. ArrayList is thread safe and implements the collections API. Vector doesn’t. Though if you’re using Java, there’s almost no instance where you would want to use a Vector instead of ArrayList.