C# delegate to Java conversion

Posted by Derek on Stack Overflow See other posts from Stack Overflow or by Derek
Published on 2010-05-17T18:04:24Z Indexed on 2010/05/17 18:10 UTC
Read the original article Hit count: 215

Filed under:
|
|

I am in the process of converting some code from C# to Java. I have never used C# before, but it has been pretty easy up to this point.

I have a line that looks like this in the C# file:

 coverage.createMethod = delegate (Gridpoint gp){
 //Some method stuff in here, with a return objecct
 }

What exactly is this trying to do? It seems a little bit like an inline class but I am not sure how to go about converting htis to java

© Stack Overflow or respective owner

Related posts about c#

Related posts about java