Creating a EntityIterable from multiple Entity objects

I’m trying to implement a “nearby” filter with Xodus, having this code: AtomicReference referenceToScope = …; PropertyNearbyCondition propertyNearbyCondition = (…