as
Cast the entry to the specified subtype.
Application should refer to the entry type to discover the proper subclass of the entry
Return
the entry instance, casted as requested.
Parameters
entry Class
entry subclass to cast to
<ENTRY>
type of entry class
See also
Throws
in case the entry cannot be casted to the specified subclass