diff options
Diffstat (limited to 'usage_examples/experimental/varExample_post.jpage')
-rw-r--r-- | usage_examples/experimental/varExample_post.jpage | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/usage_examples/experimental/varExample_post.jpage b/usage_examples/experimental/varExample_post.jpage deleted file mode 100644 index d0a7c124..00000000 --- a/usage_examples/experimental/varExample_post.jpage +++ /dev/null @@ -1,21 +0,0 @@ -import java.util.ArrayList; -import lombok.var; - -public class VarExample { - public String example() { - ArrayList<String> example = new ArrayList<String>(); - example.add("Hello, World!"); - final String foo = example.get(0); - return foo.toLowerCase(); - } - - public void example2() { - ArrayList<String> list = new ArrayList<String>(); - list.add("zero"); - list.add("one"); - list.add("two"); - for(int i = 0; i < list.size(); ++i) { - System.out.printf("%d: %s\n", i, list.get(i)); - } - } -} |