Skip to content

Commit

Permalink
(#1246) After review fixes done
Browse files Browse the repository at this point in the history
  • Loading branch information
fanifieiev committed Nov 28, 2019
1 parent f148f49 commit 002dbab
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -208,7 +208,7 @@ int total = new LengthOf(
).intValue();
```

To get a set of unique elements by providing varargs:
To create a set of elements by providing variable arguments:

```java
final Set<String> unique = new SetOf<String>(
Expand All @@ -219,14 +219,14 @@ final Set<String> unique = new SetOf<String>(
);
```

To get a set of unique elements from existing iterable:
To create a set of elements from existing iterable:
```java
final Set<String> words = new SetOf<>(
new IterableOf<>("abc", "bcd", "abc", "ccc")
);
```

To get sorted iterable with unique elements from existing iterable:
To create a sorted iterable with unique elements from existing iterable:
```java
final Iterable<String> sorted = new Sorted<>(
new SetOf<>(
Expand Down

0 comments on commit 002dbab

Please sign in to comment.