principles:single_level_of_abstraction
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
principles:single_level_of_abstraction [2020-10-12 12:36] – old revision restored (2017-10-13 20:41) 159.69.186.191 | principles:single_level_of_abstraction [2020-10-12 12:36] – old revision restored (2015-11-23 13:11) 159.69.186.191 | ||
---|---|---|---|
Line 76: | Line 76: | ||
==== Example1: Loops ==== | ==== Example1: Loops ==== | ||
- | |||
- | **No Sam No** | ||
A typical example for the application of SLA is a loop iterating over a certain data structure: | A typical example for the application of SLA is a loop iterating over a certain data structure: | ||
Line 106: | Line 104: | ||
} | } | ||
- | private ResultDto toDto(ResultEntity | + | private ResultDto toDto(ResultEntity) { |
ResultDto dto = new ResultDto(); | ResultDto dto = new ResultDto(); | ||
dto.setShoeSize(entity.getShoeSize()); | dto.setShoeSize(entity.getShoeSize()); |
principles/single_level_of_abstraction.txt · Last modified: 2021-10-18 22:03 by christian