What the term says exactly about "Immutable Iterator" ?
I had gone across .each() function in jquery. Many of the documents are saying as its an "Immutable iterator". Is there any "Mutable iterator" too ?
Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend4days leftRegister
Delpin Susai RajRank #53 · 29.5K reputationPosted Oct 4, 2016, 10:56 PM EDT
Delpin Susai RajRank #53 · 29.5K reputationPosted Oct 4, 2016, 10:57 PM EDT
public final class Wrapper implements Iterable { private final List list; private Wrapper(List list) { this.list = Collections.unmodifiableList(new ArrayList(list)); } public static Wrapper of(List list) { return new Wrapper(list); } public Iterator iterator() { return list.iterator(); } public List data() { return list; } }Sreekanth ReddyRank #726 · 3.2K reputationPosted Oct 5, 2016, 12:15 AM EDT
Bikesh SrivastavaRank #108 · 20.3K reputationPosted Oct 5, 2016, 5:25 AM EDT
$("input[type=file]").change(function(event) { // check your console to see the value of `this` console.log(this, "changed"); });