Interface ContourPlot.PixelConvertingSpliterator.PixelConverter<P extends ContourPlot.PixelBase,​T>

    • Method Detail

      • allocateElement

        T allocateElement()
        Allocates a new element for the PixelConvertingSpliterator (will be called once per split)
        Returns:
        element, probably in uninitialized state
      • convertPixelToElement

        void convertPixelToElement​(P px,
                                   T element)
        converts the specified pixel to the specified element (initiliazation of previously allocated element).
        NOT ALLOCATION, ONLY SETUP OF THE ELEMENT
        Parameters:
        px - to used for setting up the element
        element - to be set up
      • convertElementToPixel

        void convertElementToPixel​(T element,
                                   P px)
        converts the specified element back to the specified pixel (set pixel value according to element).
        NOT ALLOCATION, ONLY SETTING THE PIXEL VALUE ACCORDINGLY
        Parameters:
        element - to be used for setting the pixel value
        px - to be set