return results.stream().map(role -> new RoleAdapter(session,realm,em,role)).collect(Collectors.collectingAndThen(Collectors.toCollection(LinkedHashSet::new),Collections::unmodifiableSet)); | return results.map(role -> new RoleAdapter(session,realm,em,role)); | results.stream().map(role -> new RoleAdapter(session,realm,em,role)).collect(Collectors.collectingAndThen(Collectors.toCollection(LinkedHashSet::new),Collections::unmodifiableSet)) | results.map(role -> new RoleAdapter(session,realm,em,role)) | keycloak | feef5b4db2add4d583630674afe778b9fdc551e0 | org.keycloak.models.jpa.JpaRealmProvider | | _1 | getRoles |
---|
_2 | getRolesStream |
---|
| v0 | role |
---|
v2 | session |
---|
v3 | results |
---|
v4 | realm |
---|
v5 | em |
---|
| - java.util.stream.Collectors
| v0 | role |
---|
v2 | session |
---|
v3 | results |
---|
v4 | realm |
---|
v5 | em |
---|
| Returns | True |