Is there any way to cast HazelCast IMap to java.util.map(HashMap)?
IMap<K, V> imap = ...;
Map<K, V> map;
Didn't find any library method to do so. One way is forming the Map using entrySet of IMap but that includes iterating over complete entrySet and may slow down for huge IMaps.
IMap derives from ConcurrentMap. So you can cast it as below