This shows you the differences between two versions of the page.
Both sides previous revision Previous revision | Next revision Both sides next revision | ||
java:generics [2015/03/16 06:35] gthanos [Παραμετρικοί τύποι δεδομένων (Generics)] |
java:generics [2015/03/16 06:36] gthanos [Παραμετρικοί τύποι δεδομένων με πολλές παραμέτρους] |
||
---|---|---|---|
Line 86: | Line 86: | ||
public K getKey(); | public K getKey(); | ||
public V getValue(); | public V getValue(); | ||
+ | public void setKey(K key); | ||
+ | public void setValue(V value); | ||
} | } | ||
</code> | </code> |