質問するログイン新規登録

質問編集履歴

2

aaaaaaa

2018/11/03 17:36

投稿

aiueoaiueoaiue
aiueoaiueoaiue

スコア94

title CHANGED
File without changes
body CHANGED
@@ -7,13 +7,13 @@
7
7
  ```Java
8
8
  int test = 0;
9
9
  for(int i = 1;i < 9;i++){
10
- test = wholepoint.indexOf(new Eex(-1, -1), test);
10
+ test = list.indexOf(new Eex(-1, -1), test);
11
- if(test != -1)minus.add(test);
11
+ if(test != -1)po.add(test);
12
12
  }
13
13
  ```
14
14
  ###エラー
15
15
  エラー: indexOfに適切なメソッドが見つかりません(Eex,int)
16
- test = wholepoint.indexOf(new Eex(-1, -1), test);
16
+ test = list.indexOf(new Eex(-1, -1), test);
17
17
  ^
18
18
  メソッド List.indexOf(Object)は使用できません
19
19
  (実引数リストと仮引数リストの長さが異なります)

1

aaaaaaaaaa

2018/11/03 17:36

投稿

aiueoaiueoaiue
aiueoaiueoaiue

スコア94

title CHANGED
File without changes
body CHANGED
@@ -8,12 +8,12 @@
8
8
  int test = 0;
9
9
  for(int i = 1;i < 9;i++){
10
10
  test = wholepoint.indexOf(new Eex(-1, -1), test);
11
- if(test != -1)minus.add(repeat);
11
+ if(test != -1)minus.add(test);
12
12
  }
13
13
  ```
14
14
  ###エラー
15
15
  エラー: indexOfに適切なメソッドが見つかりません(Eex,int)
16
- repeat = wholepoint.indexOf(new Eex(-1, -1), repeat);
16
+ test = wholepoint.indexOf(new Eex(-1, -1), test);
17
17
  ^
18
18
  メソッド List.indexOf(Object)は使用できません
19
19
  (実引数リストと仮引数リストの長さが異なります)