View Single Post
  #3 (permalink)  
Old 12-31-2007, 05:28 AM
spoon! spoon! is offline
Member
 
Join Date: Dec 2007
Posts: 12
spoon! is on a distinguished road
it would help more if you told us what this method should do
you could use generics like this:
Code:
public static <E> E startProcess(E a) { ... }
but you won't be able to do very much with the argument unless you know what type it is
Reply With Quote