This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="UTF-8"?> | |
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | |
<plist version="1.0"> | |
<dict> | |
<key>AboutToPasteTabsWithCancel</key> | |
<true/> | |
<key>AboutToPasteTabsWithCancel_selection</key> | |
<integer>0</integer> | |
<key>AlternateMouseScroll</key> | |
<true/> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// sample 1 : DTO enum to business enum | |
return Customer.newCustomer() | |
.customerType(UEnum.map(CustomerType.class, customerDataPeriodicalDTO.getCustomerType())) | |
// sample 2 : Business enum to DTO | |
.map(it -> new ScheduleEnergyMonthlyPaymentVariation() | |
.withEnergyType(UEnum.map(EnergyTypeDTO.class, it.getEnergyType())) | |
// Sample 3 : String to a business Enum - NamedPeriodPrice is an interface, method .name() return a String. |