withItem
Gets a clone of an ArrayList with an additional item
Solves concurrent modification problems - everyone who had a reference to the previous arrayList can keep using it because it hasn't changed
Gets a clone of an ArrayList with an additional item
Solves concurrent modification problems - everyone who had a reference to the previous arrayList can keep using it because it hasn't changed