Class XIterable.Executor<E>
- java.lang.Object
-
- one.microstream.collections.types.XIterable.Executor<E>
-
- All Implemented Interfaces:
XIterable<E>
public static final class XIterable.Executor<E> extends Object implements XIterable<E>
Wrapper class that implementsXIterable
to wrap a subject of type E that procedures shall be executed on.By using an executor instance, an instance not implementing
XIterable
can be passed to a context expecting anXIterable
instance. Through this abstraction, logic can be written that can be equally executed on single objects (via this wrapper) or multiple objects (via X-collections).Example:
someRegistryLogic.register(persons); someRegistryLogic.register(new Exector
(singlePerson));
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface one.microstream.collections.types.XIterable
XIterable.Executor<E>
-
-