Type Discrimination
lThe type of an Object can be discriminated using the instanceof operator:

Object ob = L.first();

if( ob instanceof Long ) ...

if( ob instanceof OpenList ) ...