tags:

views:

79

answers:

1

I have posted this question

http://stackoverflow.com/questions/2874487/how-can-i-implement-this-python-snippet-in-java

I have compiled it now i need to use in main project

public static void main(String[]args){






}

Can anybody show me example?

+1  A: 
public static void main(String[]args){

  MyFunctor f = new MyFunctor();
  int result = f.myfunction(10);
  System.out.println(result);

}
Scobal