K - This parameter is a generic for the type of key each element must have.
Please note that K must implement the Comparable interface, or
a super class of K must implement the Comparable interface.public interface KeyedElementInterface<K extends java.lang.Comparable<? super K>>
| Modifier and Type | Method and Description |
|---|---|
KeyedElementInterface<K> |
copy()
This method makes a deep copy of the KeyedElement.
|
K |
getKey()
This method returns the key to be used by elements that will be used by
classes implementing the ListInterface and the HashTableInterface.
|
K getKey()
KeyedElementInterface<K> copy()