Class Localizables.LocationRandomAccess

    • Constructor Detail

      • LocationRandomAccess

        public LocationRandomAccess​(int n)
      • LocationRandomAccess

        public LocationRandomAccess​(Localizable initialPosition)
    • Method Detail

      • get

        public Localizable get()
        Description copied from interface: Sampler
        Access the actual T instance providing access to a pixel, sub-pixel or integral region value the Sampler points at.
        Specified by:
        get in interface Sampler<Localizable>
      • getType

        public Localizable getType()
        Description copied from interface: Typed
        Get an instance of T.

        It should not be assumed that the returned T instance is an independent copy. In particular, repeated calls to getType() may return the same instance.

        Specified by:
        getType in interface Sampler<Localizable>
        Specified by:
        getType in interface Typed<Localizable>
        Returns:
        an instance of T