2
0
Fork 0
mirror of https://github.com/MartinThoma/LaTeX-examples.git synced 2025-04-25 22:38:04 +02:00

Typisierung

This commit is contained in:
Martin Thoma 2014-03-18 18:21:39 +01:00
parent 682d2a6f21
commit 137a44cd5e
4 changed files with 114 additions and 8 deletions

View file

@ -0,0 +1,2 @@
ArrayList<String> l1 = new ArrayList<String>();
ArrayList<Integer> l2 = new ArrayList<Integer>();

View file

@ -0,0 +1,4 @@
def quacker(duck:
{def quack(value: String): String}) {
println (duck.quack("like a duck!"))
}