1717Project architect: [ @victornoel ] ( https://github.com/victornoel )
1818
1919** ATTENTION** : We're still in a very early alpha version, the API
20- may and _ will_ change frequently. Please, use it at your own risk,
20+ may and _ will_ change frequently. Please use it at your own risk
2121until we release version 1.0. You can view our progress towards
2222this release [ here] ( https://github.com/yegor256/cactoos/milestone/1 ) .
2323
@@ -184,7 +184,7 @@ new ForEach<>(
184184 input - > System . out. printf(
185185 " Item: %s\n " , input
186186 )
187- ). exec(new IterableOf (" how" , " are" , " you" , " ?" ));
187+ ). exec(new IterableOf<> (" how" , " are" , " you" , " ?" ));
188188```
189189
190190To sort a list of words in the file:
@@ -224,14 +224,14 @@ final Set<String> unique = new SetOf<>(
224224);
225225```
226226
227- To create a set of elements from existing iterable:
227+ To create a set of elements from an existing iterable:
228228``` java
229229final Set<String > words = new SetOf<> (
230230 new IterableOf<> (" abc" , " bcd" , " abc" , " ccc" )
231231);
232232```
233233
234- To create a sorted iterable with unique elements from existing iterable:
234+ To create a sorted iterable with unique elements from an existing iterable:
235235``` java
236236final Iterable<String > sorted = new Sorted<> (
237237 new SetOf<> (
@@ -240,15 +240,15 @@ final Iterable<String> sorted = new Sorted<>(
240240);
241241```
242242
243- To create a sorted set from existing vararg elements using comparator:
243+ To create a sorted set from existing vararg elements using a comparator:
244244``` java
245245final Set<String > sorted = new org.cactoos.set.Sorted<> (
246246 (first, second) - > first. compareTo(second),
247247 " abc" , " bcd" , " abc" , " ccc" , " acd"
248248);
249249```
250250
251- To create a sorted set from existing iterable using comparator:
251+ To create a sorted set from an existing iterable using a comparator:
252252``` java
253253final Set<String > sorted = new org.cactoos.set.Sorted<> (
254254 (first, second) - > first. compareTo(second),
@@ -358,12 +358,12 @@ Ask your questions related to cactoos library on [Stackoverflow](https://stackov
358358Just fork the repo and send us a pull request.
359359
360360Make sure your branch builds without any warnings/issues:
361- ```
361+ ``` bash
362362mvn clean verify -Pqulice
363363```
364364
365365To run a build similar to the CI with Docker only, use:
366- ```
366+ ``` bash
367367docker run \
368368 --tty \
369369 --interactive \
@@ -376,7 +376,7 @@ docker run \
376376```
377377
378378To remove the cache used by Docker-based build:
379- ```
379+ ``` bash
380380docker volume rm cactoos-mvn-cache
381381```
382382
0 commit comments