H- The handle used by the
REF- The type of the objects to which the handles reference to.
public interface HandleDirectory<H,REF> extends HandleLookup<H,REF>
|Modifier and Type||Method||Description|
Retrieves a list of all known objects for which there is a handle.
Retrieves a list of all known handles managed by the implementing component.
<T extends REF> Collection<T> handleReferences()
T- As of convenience, the type of the reference returned. CAUTION: The type
Tbeing a sub-type of
REFhas the drawback that in case you specify a sub-type of
T), you may end up with a class cast exception in case you do not make sure that the handle references the expected type
Copyright © 2021. All rights reserved.