@ SuppressWarnings ( "unchecked" ) public static < T > T get ( Object key ) { try { return ( T ) CACHE . get ( key ) ; } catch ( ClassCastException e ) { System . out . print ( "E/Cache: Can't use cached object: wrong type" ) ; } return null ; }
Returns cached item