Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/amigoscode/java-streams
/ map
Method
map
src/test/java/com/amigoscode/beans/PersonDTO.java:37–42 ·
view source on GitHub ↗
(Person person)
Source
from the content-addressed store, hash-verified
35
}
36
37
public
static
PersonDTO map(Person person) {
38
return
new
PersonDTO(
39
person.getId(),
40
person.getFirstName(),
41
person.getAge());
42
}
43
}
Callers
9
joiningStringsWithStream
Method · 0.80
steams
Method · 0.80
sortingSteamOfElements
Method · 0.80
sortingSteamOfElementsReverse
Method · 0.80
collect
Method · 0.80
lazy
Method · 0.80
yourFirstTransformationWithMap
Method · 0.80
understandingCollect
Method · 0.80
intermediateAndTerminalOperations
Method · 0.80
Calls
3
getFirstName
Method · 0.80
getId
Method · 0.45
getAge
Method · 0.45
Tested by
no test coverage detected