Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.
Due to space constraints, you’ve been presented with the simplified fragments of the DataCollection code to highlight its main features and give you a push in the right direction, should you want to create your own version of such a collection. Here are a few more possible approaches that may prove useful.
Note:
You can find the complete and up-to-date source code of the DataCollection class (900+ lines of code) in the SourceForge repository.