Package net.imglib2

Class AbstractLocalizingCursorInt<T>

    • Constructor Detail

      • AbstractLocalizingCursorInt

        public AbstractLocalizingCursorInt​(int n)
        Parameters:
        n - number of dimensions in the Img.
    • Method Detail

      • copy

        public abstract AbstractLocalizingCursorInt<T> copy()
        Specified by:
        copy in interface Cursor<T>
        Specified by:
        copy in interface RealCursor<T>
        Specified by:
        copy in interface Sampler<T>
        Returns:
        - A new Sampler in the same state accessing the same values. It does NOT copy T, just the state of the Sampler. Otherwise use T.copy() if available. Sampler.copy().get() == Sampler.get(), i.e. both hold the same value, not necessarily the same instance (this is the case for an ArrayCursor for example)