Iterators

所属分类:collect
开发工具:Smalltalk
文件大小:0KB
下载次数:0
上传日期:2020-05-03 15:10:43
上 传 者sh-1993
说明:  实现Pharo集合的迭代器。,
(Implements Iterators for Pharo s Collections.,)

文件列表:
.project (27, 2020-05-03)
.smalltalk.ston (255, 2020-05-03)
.travis.yml (195, 2020-05-03)
LICENSE (1074, 2020-05-03)
documentation/ (0, 2020-05-03)
documentation/NeoCSVIntegration.md (711, 2020-05-03)
documentation/UserGuide.md (11190, 2020-05-03)
src/ (0, 2020-05-03)
src/.properties (21, 2020-05-03)
src/BaselineOfIterators/ (0, 2020-05-03)
src/BaselineOfIterators/BaselineOfIterators.class.st (3766, 2020-05-03)
src/BaselineOfIterators/package.st (41, 2020-05-03)
src/Iterators-Benchmarks/ (0, 2020-05-03)
src/Iterators-Benchmarks/IteratorBenchmarks.class.st (1701, 2020-05-03)
src/Iterators-Benchmarks/package.st (44, 2020-05-03)
src/Iterators-CollectionsExtensions-Tests/ (0, 2020-05-03)
src/Iterators-CollectionsExtensions-Tests/DictionaryIteratorExtensionsTest.class.st (902, 2020-05-03)
src/Iterators-CollectionsExtensions-Tests/DoubleLinkedListIteratorExtensionsTest.class.st (970, 2020-05-03)
src/Iterators-CollectionsExtensions-Tests/LinkedListIteratorExtensionsTest.class.st (684, 2020-05-03)
src/Iterators-CollectionsExtensions-Tests/OrderedDictionaryIteratorExtensionsTest.class.st (944, 2020-05-03)
src/Iterators-CollectionsExtensions-Tests/SequenceableCollectionIteratorExtensionsTest.class.st (820, 2020-05-03)
src/Iterators-CollectionsExtensions-Tests/SetIteratorExtensionsTest.class.st (751, 2020-05-03)
src/Iterators-CollectionsExtensions-Tests/package.st (61, 2020-05-03)
src/Iterators-CollectionsExtensions/ (0, 2020-05-03)
src/Iterators-CollectionsExtensions/Dictionary.extension.st (1293, 2020-05-03)
src/Iterators-CollectionsExtensions/DoubleLinkedList.extension.st (675, 2020-05-03)
src/Iterators-CollectionsExtensions/LinkedList.extension.st (393, 2020-05-03)
src/Iterators-CollectionsExtensions/OrderedDictionary.extension.st (1244, 2020-05-03)
src/Iterators-CollectionsExtensions/SequenceableCollection.extension.st (609, 2020-05-03)
src/Iterators-CollectionsExtensions/Set.extension.st (417, 2020-05-03)
src/Iterators-CollectionsExtensions/package.st (55, 2020-05-03)
src/Iterators-Decorators-Tests/ (0, 2020-05-03)
src/Iterators-Decorators-Tests/ActionIteratorTest.class.st (414, 2020-05-03)
src/Iterators-Decorators-Tests/AnonymousIteratorCompositionTest.class.st (633, 2020-05-03)
src/Iterators-Decorators-Tests/CollectIteratorTest.class.st (562, 2020-05-03)
src/Iterators-Decorators-Tests/DetectIteratorTest.class.st (525, 2020-05-03)
src/Iterators-Decorators-Tests/DuplicateRemoverIteratorTest.class.st (693, 2020-05-03)
src/Iterators-Decorators-Tests/FlatCollectIteratorTest.class.st (1108, 2020-05-03)
... ...

# Iterators [![Build Status](https://travis-ci.com/juliendelplanque/Iterators.svg?branch=master)](https://travis-ci.com/juliendelplanque/Iterators) [![License](https://img.shields.io/badge/license-MIT-blue.svg)](LICENSE) [![Pharo version](https://img.shields.io/badge/Pharo-7.0-%23aac9ff.svg)](https://pharo.org/download) [![pharo version](https://img.shields.io/badge/pharo-8.0-%23aac9ff.svg)](https://pharo.org/download) [![pharo version](https://img.shields.io/badge/pharo-9.0-%23aac9ff.svg)](https://pharo.org/download) Implements Iterators for Pharo's Collections. - [Install](#install) - [Documentation](#documentation) - [Add Iterators as a dependency of your project](#add-iterators-as-a-dependency-of-your-project) - [Load a specific group](#load-a-specific-group) ## Install ```Smalltalk Metacello new baseline: 'Iterators'; repository: 'github://juliendelplanque/Iterators/src'; load ``` ## Documentation Checkout the [user documentation](documentation/UserGuide.md) to get started. ## Add Iterators as a dependency of your project To depend on Iterators `v1` major version, insert the following code snippet in your baseline: ```Smalltalk [...] spec baseline: 'Iterators' with: [ spec repository: 'github://juliendelplanque/Iterators:v1.x.x/src']. [...] ``` To depend on a specific minor / patch version, tweak to `v1.x.x` fit your needs (for example `v1.2.0`). > Note: This project use semantic versioning to define the releases. This means that each stable release of the project will be assigned a version number of the form `vX.Y.Z`. > > - **X**defines the major version number > - **Y** defines the minor version number > - **Z** defines the patch version number > > When a release contains only bug fixes, the patch number increases. When the release contains new features that are backward compatible, the minor version increases. When the release contains breaking changes, the major version increases. > > Thus, it should be safe to depend on a fixed major version and moving minor version of this project. ## Load a specific group It is possible to load only a sub-part of Iterators project. The baseline defines the following groups: - `kernel` : Contains abstract `Iterator` class a basic iterators. - `trees` : Contains iterators for tree datastructure. - `decorators` : Contains iterators decorators. - `core` : `kernel` + `trees` + `decorators` - `collections` : Contains extension methods on Pharo collections to get an iterator from a collection easily. - `shell-dsl` : Contains the "shell DSL" for chaining iterators. - `inspector-extensions` : Contains extensions to the GT inspector to show understandable views on iterator objects. - `tests` : Contains tests for the library.

近期下载者

相关文件


收藏者