質問編集履歴

1

文章の訂正

2024/05/09 23:01

投稿

h__
h__

スコア3

test CHANGED
File without changes
test CHANGED
@@ -90,7 +90,7 @@
90
90
  import java.util.stream.Collectors;
91
91
  public class Main{
92
92
  public static void main(String[] args) {
93
- String[] userIdArray = {"UPL0001","upload1","uld1234","uPl1223","xxx1234","1234UPL"};
93
+ String[] userIdArray = {"ASD1234","asdfgh1","aSd1234","asd1223","mmm1234","1234ASD"};
94
94
  ArrayList<String> idList = new ArrayList<String>(Arrays.asList(userIdArray)); //配列からリストに変換
95
95
  System.out.println("チェックOKリスト-------------");
96
96
  List<String> okList = idList.stream() //リストとして取り出す