@SuppressWarnings({"unchecked"}) @Nullable @Override public Object apply(Object o) { try { return ((GridCacheEntry)o).get(); } catch (GridException e) { throw new GridClosureException(e); } }
@SuppressWarnings({"unchecked"}) @Override public boolean apply(Object o) { try { return ((GridCacheEntry)o).get() != null; } catch (GridException e) { throw new GridClosureException(e); } }
@SuppressWarnings({"unchecked"}) @Override public boolean apply(Object o) { try { return ((GridCacheEntry)o).get() == null; } catch (GridException e) { throw new GridClosureException(e); } }
try { K k = e.getKey(); V v = e.get();