Posts by Bevilaqua • 161 points
1 post
-
6
votes2
answers220
viewsA: Alternative to create a new method in a String object?
If positions are static, create an Enum public enum ArchiveEnum { NOME(0, 5), CPF(6, 20); private Integer minAge; private Integer maxAge; private ArchiveEnum(Integer minAge, Integer maxAge) {…