Update README.md

This commit is contained in:
Klemek
2018-02-21 18:58:59 +01:00
committed by GitHub
parent f7d477442b
commit 8ab718a581
+3 -3
View File
@@ -22,8 +22,8 @@ With BetterLists :
BetterArrayList<Contact> contacts = BetterArrayList.fromList(someFunction());
BetterList<String> contactsEmails = contacts.skip(5)
.where(c -> c.getEmail() != null)
.<String>select(c -> c.getEmail());
.where(c -> c.getEmail() != null)
.<String>select(c -> c.getEmail());
```
NOTE : Please note that, unlike C# LINQ, these functions are not optimized at low levels and will have the same impact as standard loops in your program.
@@ -192,4 +192,4 @@ Filters a sequence of values based on a predicate.
BetterArrayList<Contact> contacts = BetterArrayList.fromList(someFunction());
BetterList<Contact> validContacts = contacts.where(c -> c.getEmail() != null);
```
```