Activity › Forums › Salesforce® Discussions › What is System.iterator in Salesforce? Salesforce® Discussions What is System.iterator in Salesforce? Posted by Shubham on January 24, 2020 at 4:44 PM What is System.Iterator in and when it should be used? Kirandeep replied 6 years, 4 months ago 2 Members · 1 Reply 1 Reply Kirandeep Member January 24, 2020 at 5:39 PM Iterator is a interface which has two methods hasNext and next. Returns true if there is another item in the collection being traversed, false otherwise. Log In to reply. Public All Members My Connections Only Me PublicAll MembersMy ConnectionsOnly Me Public All Members My Connections Only Me