Skip to content

Commit de3ff70

Browse files
committed
doc update
1 parent b129faf commit de3ff70

File tree

1 file changed

+10
-2
lines changed

1 file changed

+10
-2
lines changed

README.md

+10-2
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,16 @@ public enum JobTitle {
1414
```
1515

1616
and groups:
17-
* `ADMINISTRATION` = `PRESIDENT`, `VICE_PRESIDENT`
18-
* `OPERATIONAL` = `MANAGER`, `OFFICER`
17+
* administration:
18+
```
19+
private static ImmutableSet<JobTitle> ADMINISTRATION =
20+
ImmutableSet.of(PRESIDENT, VICE_PRESIDENT);
21+
```
22+
* operational:
23+
```
24+
private static ImmutableSet<JobTitle> OPERATIONAL =
25+
ImmutableSet.of(MANAGER, OFFICER);
26+
```
1927
2028
* it is a good practice to provide static methods that return predicates:
2129
```

0 commit comments

Comments
 (0)