Class OutOfBoundsConstantValue<T extends Type<T>>

Type Parameters:
T -
All Implemented Interfaces:
EuclideanSpace, Localizable, Bounded, OutOfBounds<T>, Positionable, RandomAccess<T>, RealLocalizable, Sampler<T>

public class OutOfBoundsConstantValue<T extends Type<T>> extends AbstractOutOfBoundsValue<T>
Author:
Stephan Preibisch, Stephan Saalfeld
  • Field Details

    • value

      protected final T extends Type<T> value
  • Constructor Details

    • OutOfBoundsConstantValue

      protected OutOfBoundsConstantValue(OutOfBoundsConstantValue<T> outOfBounds)
    • OutOfBoundsConstantValue

      public OutOfBoundsConstantValue(F f, T value)
  • Method Details

    • get

      public final T 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.
    • copy

      public final OutOfBoundsConstantValue<T> copy()
      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)
    • copyRandomAccess

      public final OutOfBoundsConstantValue<T> copyRandomAccess()