Class WriteConvertedRandomAccess<A,​B>

    • Field Detail

      • converterSupplier

        private final java.util.function.Supplier<SamplerConverter<? super A,​B>> converterSupplier
      • converted

        private final B converted
    • Constructor Detail

      • WriteConvertedRandomAccess

        public WriteConvertedRandomAccess​(RandomAccess<A> source,
                                          java.util.function.Supplier<SamplerConverter<? super A,​B>> converterSupplier)
    • Method Detail

      • get

        public B 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.
      • getType

        public B 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.

        Returns:
        an instance of T