aspose file tools*
The moose likes Other JSE/JEE APIs and the fly likes interface with parameters Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Other JSE/JEE APIs
Bookmark "interface with parameters" Watch "interface with parameters" New topic
Author

interface with parameters

Palraj Jayaraj
Ranch Hand

Joined: Jun 06, 2012
Posts: 35

what is the meaning of <T> in the following

public interface Task<T> {
T execute();
}
Rob Spoor
Sheriff

Joined: Oct 27, 2005
Posts: 19790
    
  20

Generics


SCJP 1.4 - SCJP 6 - SCWCD 5 - OCEEJBD 6
How To Ask Questions How To Answer Questions
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: interface with parameters