H - The type of the handles.REF - The type of the objects to which the handles reference to.public interface HandleLookup<H,REF>
| Modifier and Type | Method and Description |
|---|---|
boolean |
hasHandle(H aHandle)
Used to test if the given handle is known by an implementing system.
|
REF |
lookupHandle(H aHandle)
Gets the object associated to a given handle.
|
REF |
removeHandle(H aHandle)
Gets the descriptor for a given handle.
|
boolean hasHandle(H aHandle)
aHandle - The handle for which to find out if there is any related
data.REF lookupHandle(H aHandle) throws UnknownHandleRuntimeException
aHandle - The handle for which to get the related data.UnknownHandleRuntimeException - the unknown handle runtime
exceptionREF removeHandle(H aHandle) throws UnknownHandleRuntimeException
aHandle - The handle for which to get the descriptor.UnknownHandleRuntimeException - the unknown handle runtime
exceptionCopyright © 2018. All rights reserved.