| Author |
I failed to write : Good-looking assignment to private Array
|
Heep Po
Greenhorn
Joined: Sep 03, 2011
Posts: 3
|
|
Thanks for suggestion
|
 |
Jesper de Jong
Java Cowboy
Bartender
Joined: Aug 16, 2005
Posts: 12929
|
|
Welcome to the Ranch.
Instead of this:
try this:
(I have not tested it, but I think that will work).
The _= is part of the method name. You should put it with the method name, not after the (i: Int) argument list.
|
Java Beginners FAQ - JavaRanch SCJP FAQ - The Java Tutorial - Java SE 7 API documentation
Scala Notes - My blog about Scala
|
 |
Heep Po
Greenhorn
Joined: Sep 03, 2011
Posts: 3
|
|
Thanks to your response, Jesper de Jong, but your solution produces compiler error.
And I've got the solution at:
http://scala-forum.org/read.php?3,549,551#msg-551
|
 |
 |
|
|
subject: I failed to write : Good-looking assignment to private Array
|
|
|