0
I am a beginner in Java and I have done some little projects as tests.
In this case, I’ve been reading and found interesting the map, but, I was upset when it came to applying. I thought it would be a good example for me to familiarize myself with. Could you help me how this implementation would be?
private TesteCiclo buildTesteCiclo(Map<String, String> map, DateService dateService) {
String id = map.get("id");
long idCiclo = Long.parseLong(map.get("id_ciclo"));
String descricao = map.get("descricao");
String servico = map.get("servico");
Long valorCobranca = obtemValorDaCobranca(descricao, id, idCiclo);
return EventosMap.buildTesteCiclo(id, idCiclo, descricao, servico,dateService, valorCobranca);
}
Great explanation. Thank you very much!
– MSSantana
thank you, mark the answer as accepted
– boolean