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