Package ome.util

Interface CBlock<E>

  • All Known Implementing Classes:
    IdBlock

    public interface CBlock<E>
    Block template used to "C"ollect the results of some function called on each IObject in a collection. The CBlock can be used to "map" IObject inputs to arbitrary outputs. All collection valued fields on model objects have a method that will scan the collection and apply the block of code. For example, Image.collectPixels(CBlock)
    Since:
    3.0
    • Method Detail

      • call

        E call​(IObject object)
        invoke this block.
        Parameters:
        object - An IObject (possibly null) which should be considered for mapping.
        Returns:
        A possibly null value which is under some interpretation "mapped" to the object argument