List list = (List) item; return new CollectionCacheEntry( list.toArray( new Serializable[list.size()] ) );
CollectionCacheEntry entry = (CollectionCacheEntry) item; return Arrays.asList( entry.getState() );