edu.unm.cs.cs351.f10.tdrl.p2
Interface Findable<T>


public interface Findable<T>

Interface representing something that can be found by a key, rather than by priority or complete object identity. Classes that implement Findable implement a getKey() method that returns a key with respect to which the object can be found in some data structure. This is useful when you only want to use some aspect of the object (say, an order ID) as an index to store the object into a data structure (such as a HashMap), rather than the the entire object itself.

Version:
1.0
Author:
terran

Method Summary
 T getKey()
           
 

Method Detail

getKey

T getKey()