Report the next interesting frame greater than the given frame for which
gridReached
(internal) and processPrepare
will be called.
Report the next interesting frame greater than the given frame for which
gridReached
(internal) and processPrepare
will be called.
If no such event exists, the method must return Long.MaxValue
.
Called during preparation of armed elements.
Called during preparation of armed elements. This
happens either during initial prepare
or during grid-events.
Given the prepareSpan
, the sub-class should
- find the elements using an intersect
- for each build a view and store it somewhere
- for each view call prepareChild
- accumulate the results of prepareChild
into a Map
that is returned.
The map will become part of IPreparing
. (NOT: The returned Boolean
indicates
if elements were found (true
) or not (false
)).
if true
this is an initial preparation which means the method
must include views that start before prepareSpan
if their span
overlaps with prepareSpan
. If false
this is a follow up from
gridReached
and the search must be restricted to views that
start no earlier than prepareSpan
.