fossilesque@mander.xyzM to Science Memes@mander.xyzEnglish · 2 months agoExplain yourselves, comp sci.mander.xyzimagemessage-square63fedilinkarrow-up1485arrow-down116
arrow-up1469arrow-down1imageExplain yourselves, comp sci.mander.xyzfossilesque@mander.xyzM to Science Memes@mander.xyzEnglish · 2 months agomessage-square63fedilink
minus-squareunalivejoy@lemm.eelinkfedilinkEnglisharrow-up9·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.