Some classes that derive from CoreObject have properties that call cellArrayFromEnumerable. For example, EpochGroup:
function b = get.epochBlocks(obj)
b = obj.cellArrayFromEnumerable(obj.cobj.EpochBlocks, @symphonyui.core.persistent.EpochBlock);
end
These properties should probably be changed to methods because they're potentially long running. The only exception might be when the enumerable list is guaranteed to be short.
For the example above, the method would look like:
function b = getEpochBlocks(obj)
b = obj.cellArrayFromEnumerable(obj.cobj.EpochBlocks, @symphonyui.core.persistent.EpochBlock);
end
Some classes that derive from CoreObject have properties that call cellArrayFromEnumerable. For example,
EpochGroup
:These properties should probably be changed to methods because they're potentially long running. The only exception might be when the enumerable list is guaranteed to be short.
For the example above, the method would look like: