Uso de lombok

package inforhomex; import lombok.*; @Data @AllArgsConstructor @NoArgsConstructor @ToString public class Dato{ @Getter @Setter public int id; @Getter @Setter public String tipo; @Getter @Setter public int maximo; } /* Dato dato1 = new Dato(1,"Double",10000.00); Dato dato2 = new Dato(); = 2; dato2.tipo = "LocalDatetime"; dato2.maximo = 2349; */
Ejemplo del uso de lombok.

Be the first to comment

You can use [html][/html], [css][/css], [php][/php] and more to embed the code. Urls are automatically hyperlinked. Line breaks and paragraphs are automatically generated.