The Iterable interface can be defined as the common behavior of all classes in the collection framework that supports a mechanism to iterate through all the elements of a collection. It is an object that uses an Iterator interface to iterate over all the elements in a collection. There are two abstract classes, IterableBase
and IterableMixin
, that implement the Iterator interface. The IterableMixin
class is perfectly suited to be extended in the mixin solutions. If you plan to create your own implementation of the Iterable interface, you need to extend one of them. There are many different methods in the Iterable interface to help you manipulate the elements in a collection.
Mastering Dart
By :
Mastering Dart
By:
Overview of this book
Table of Contents (19 chapters)
Mastering Dart
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Free Chapter
Beyond Dart's Basics
Advanced Techniques and Reflection
Object Creation
Asynchronous Programming
The Stream Framework
The Collection Framework
Dart and JavaScript Interoperation
Internalization and Localization
Client-to-server Communication
Advanced Storage
Supporting Other HTML5 Features
Security Aspects
Index
Customer Reviews