Ejemplo n.º 1
0
 public LoanScheduleEntitiesMatcher(Collection<LoanScheduleEntity> loanScheduleEntityMap) {
   this.loanScheduleEntityMap =
       CollectionUtils.asValueMap(
           loanScheduleEntityMap,
           new Transformer<LoanScheduleEntity, Short>() {
             @Override
             public Short transform(LoanScheduleEntity input) {
               return input.getInstallmentId();
             }
           });
 }
Ejemplo n.º 2
0
 protected List<String> getPropertyValues(String key) throws ServiceException {
   String[] values = getProperty(key).split(CSV_DELIMITER);
   return CollectionUtils.asList(values);
 }