File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -42,7 +42,7 @@ compile 'br.com.zbra:android-linq:1.0.0'
4242
4343# Examples
4444
45- ##### Get names from contacts
45+ ### Get names from contacts
4646
4747```
4848List<String> contactNames =
@@ -51,14 +51,14 @@ List<String> contactNames =
5151 .toList();
5252````
5353
54- ##### Get contacts who are 27 years or older
54+ ### Get contacts who are 27 years or older
5555```
5656List<Contact > contacts =
5757 stream(contacts)
5858 .where(c - > c.getAge() >= 27)
5959 .toList();
6060```
61- ##### Sort contacts by name, then by age
61+ ### Sort contacts by name, then by age
6262```
6363List<Contact > contactNames =
6464 stream(contacts)
@@ -67,7 +67,7 @@ List<Contact> contactNames =
6767 .toList();
6868```
6969
70- ##### Group products by category
70+ ### Group products by category
7171
7272```
7373Map<Category, Stream<Product >> productsByCategory
@@ -76,7 +76,7 @@ Map<Category, Stream<Product>> productsByCategory
7676 .toMap(g -> g.getKey() /* Category * /, g.getElements() /* Stream<Product > * /)
7777```
7878
79- ##### Calculate the total price of a purchase
79+ ### Calculate the total price of a purchase
8080
8181```
8282double total =
You can’t perform that action at this time.
0 commit comments