C# delegate to Java conversion -


I am in the process of converting some code from C # to Java. I have never used C # before, but it is very easy till this point.

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

  Coverage CreateMethod = Representative (GridPoint GP) {// Here are some method materials, refunds With objecct}  

What is it really trying to do? It looks a bit like an inline square, but I'm not sure how to convert HTC into Java

Edit: More on the specific problem

called STKDriver.java I have the following in the file

  coverageDefinitionOnctalbodie coverage = new coverageDefinitionIncentralBody (...); . . . DClass value = New DClass (STKDriver.class, "invoke", coverage grid category); Coverage.setGridPointCreationMethod (value); DClass.java, which extends to CreateCoverageGridPointForAccess, has the following:  
  Public DClass (class 1 class, string string, class Lieutenant; Coverage GridPoint & gt; class2 {} .... Public IserviceProvider Invoke (Coverage GridPoint Gridpoint) {Restore some of the ClassStep Platform}  

Is it done correctly ? Class Definitions Here are the links:

Note that the square is the CreateCoverageGridPointForAccess summary and that Enhance the delegation class.

Has this implementation been made correct? If necessary, I can write more code

This is an unknown method in C #. It's technically the same thing:

  

There is only one shortcut; Coverage .createMethod = New Function & Gridpoint, Object & gt; (Sample method); Public object SampleMethod (Gridpoint GP) {return thingy; Can use code to reduce


Comments