We Recommend

Java How to Program Java How to Program
Takes a new tools-based approach to Web application development that uses Netbeans 5.5 and Java Studio Creator 2 to create and consume Web Services. Features new AJAX-enabled, Web applications built with JavaServer Faces (JSF), Java Studio Creator 2 and the Java Blueprints AJAX Components. Includes new topics throughout, such as JDBC 4, SwingWorker for multithreaded GUIs, GroupLayout, Java Desktop Integration Components (JDIC), and much more.


Posted By

cetnar on 07/15/06


Tagged

generics tiger unknown


Versions (?)


Who likes this?

1 person has marked this snippet as a favorite

xaviaracil


Generics - List of unknown


Published in: Java 


Użycie jednoliterowego typu w definicji typu generycznego oznacza, że może być użyta tam dowolna klasa.

  1. public interface List<E> {
  2.  
  3.  
  4.  
  5. public E get( );
  6.  
  7.  
  8.  
  9. public void add(E value);
  10.  
  11. }

Report this snippet 

You need to login to post a comment.