回答編集履歴
2
型推論
test
CHANGED
@@ -54,7 +54,7 @@
|
|
54
54
|
|
55
55
|
```java
|
56
56
|
|
57
|
-
|
57
|
+
var customers = new ArrayList<Customer>();
|
58
58
|
|
59
59
|
customers.add(new Customer(1 , "Miura", "Kazuyoshi"));
|
60
60
|
|
1
簡易記法
test
CHANGED
@@ -48,7 +48,7 @@
|
|
48
48
|
|
49
49
|
|
50
50
|
|
51
|
-
1個目の記事より引用
|
51
|
+
1個目の記事より引用,少しアレンジ
|
52
52
|
|
53
53
|
|
54
54
|
|
@@ -72,11 +72,11 @@
|
|
72
72
|
|
73
73
|
<tr th:each="customer : ${customers}">
|
74
74
|
|
75
|
-
<td
|
75
|
+
<td>[[${customer.id}]]</td>
|
76
76
|
|
77
|
-
<td
|
77
|
+
<td>[[${customer.lastName}]]</td>
|
78
78
|
|
79
|
-
<td
|
79
|
+
<td>[[${customer.firstName}]]</td>
|
80
80
|
|
81
81
|
</tr>
|
82
82
|
|