58a72b0286
modified: src/test/java/AllgemeinTest.java
14 lines
276 B
Java
14 lines
276 B
Java
import java.util.stream.Stream;
|
|
import java.util.Vector;
|
|
import java.lang.Integer;
|
|
|
|
class StreamTest {
|
|
|
|
m() {
|
|
var vecInt = new Vector<Integer>();
|
|
var strInt = vecInt.stream();
|
|
var dup = x -> x*2;
|
|
strInt.map(dup);
|
|
return dup;
|
|
}
|
|
} |