Commit af51c4a1 authored by tominaga's avatar tominaga

新規追加

parent 94a0d8dc
package com.tomi;
import java.util.List;
import org.junit.jupiter.api.AfterEach;
import org.junit.jupiter.api.BeforeEach;
import org.junit.jupiter.api.Test;
class Test2 {
@BeforeEach
void setUp() throws Exception {
}
@AfterEach
void tearDown() throws Exception {
}
@Test
void testStream() {
List<String>numbers = List.of("1","2","3","4");
numbers.stream().forEach(v -> System.out.printf( "Number=%s\n", v));
}
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment