Philippe Cloutier

Results 181 issues of Philippe Cloutier

Background My organization has a mission system mostly written in a dated Java, which heavily uses the collection framework. Looking at modern Java, the addition of the Stream API certainly...

[The `Predicate` interface](https://eclipse.dev/collections/javadoc/11.1.0/org/eclipse/collections/api/block/predicate/Predicate.html)'s description reads: > A Predicate is a lambda or closure with a boolean result. The method accept should be implemented to indicate the object passed to the...

[The _Select and Reject patterns_ subsection of the chapter _Iteration patterns_ of the reference guide](https://github.com/eclipse/eclipse-collections/blob/master/docs/1-Iteration_Patterns.adoc#select-reject-patterns) contains a good number of issues. I've opted to report all of those I spotted...

[Section _Function_ in the _Code Blocks_ chapter of the reference guide](https://github.com/eclipse/eclipse-collections/blob/master/docs/3-Code_Blocks.adoc#function) opens with: > The [Function](https://www.eclipse.org/collections/javadoc/11.1.0/org/eclipse/collections/api/block/function/Function.html) code block in its most common usage takes each element of a collection as...

[Chapter _Code Blocks_ of the reference guide](https://github.com/eclipse/eclipse-collections/blob/master/docs/3-Code_Blocks.adoc) contains a few issues. I'm taking the liberty to report those I spotted here, but feel free to mark this as resolved once...

EC's [Predicate](https://eclipse.dev/collections/javadoc/11.1.0/org/eclipse/collections/api/block/predicate/Predicate.html) and [Predicate2](https://eclipse.dev/collections/javadoc/11.1.0/org/eclipse/collections/api/block/predicate/Predicate2.html) interfaces both mandate an `accept` method. Unfortunately, it is not documented (it lacks JavaDoc).

[The `org.eclipse.collections.impl.utility` package summary](https://eclipse.dev/collections/javadoc/11.1.0/org/eclipse/collections/impl/utility/package-summary.html) shows the following as the summary for the `MapIterate` class: The MapIterate class provides a few of the methods from the Smalltalk Collection Protocol. I do...

The JavaDoc for factory classes contains examples. For example, the description of [`org.eclipse.collections.impl.factory.Sets`](https://eclipse.dev/collections/javadoc/11.1.0/org/eclipse/collections/impl/factory/Sets.html) contains: > Mutable Examples: > > ```MutableSet emptySet = Sets.mutable.empty();``` > ```MutableSet setWith = Sets.mutable.with("a", "b", "c");```...

[The _About Eclipse Collections_ section of the _Eclipse Collections Reference Guide_](https://github.com/eclipse/eclipse-collections/blob/master/docs/0-RefGuide.adoc#about-eclipse-collections) contains [a EclipseCollectionDiagram.png diagram](https://github.com/eclipse/eclipse-collections/blob/master/docs/EclipseCollectionDiagram.png). One of the boxes at the bottom contains the following: > The key enhancement Eclipse...

[The _Concept_ section of EC's homepage](https://eclipse.dev/collections/#concept) contains graphs of a performance benchmark measuring the memory footprint of EC classes compared to JDK equivalents. These measurements unfortunately have little value without...