Object entryValue = entry.getValue().value;
final Object objectValue = entryValue instanceof Data
? mapServiceContext.toObject(entryValue) : entryValue;
Data dataKey = mapServiceContext.toData(objectKey);
final SerializationService serializationService = getNodeEngine().getSerializationService();
final QueryEntry queryEntry = new QueryEntry(serializationService, dataKey, objectKey, objectValue);
if (predicate.apply(queryEntry)) {
valueSet.add(entryValue);
}
}
}