diff options
Diffstat (limited to 'website/usageExamples/BuilderExample_pre.jpage')
-rw-r--r-- | website/usageExamples/BuilderExample_pre.jpage | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/website/usageExamples/BuilderExample_pre.jpage b/website/usageExamples/BuilderExample_pre.jpage new file mode 100644 index 00000000..1557fff4 --- /dev/null +++ b/website/usageExamples/BuilderExample_pre.jpage @@ -0,0 +1,10 @@ +import lombok.Builder; +import lombok.Singular; +import java.util.Set; + +@Builder +public class BuilderExample { + private String name; + private int age; + @Singular private Set<String> occupations; +} |