Class AbstractMathTransform1D

  • All Implemented Interfaces:
    Parameterized, Lenient­Comparable, Math­Transform, Math­Transform1D

    public abstract class AbstractMathTransform1D
    extends AbstractMathTransform
    implements MathTransform1D
    Base class for math transforms that are known to be one-dimensional in all cases. One-dimensional math transforms are not required to extend this class, however doing so may simplify their implementation.

    The simplest way to implement this abstract class is to provide an implementation for the following methods only:

    Immutability and thread safety
    All Apache SIS implementations of Math­Transform1D are immutable and thread-safe. It is highly recommended that third-party implementations be immutable and thread-safe too. This means that unless otherwise noted in the javadoc, Math­Transform1D instances can be shared by many objects and passed between threads without synchronization.
    Serialization
    Math­Transform1D may or may not be serializable, at implementation choices. Most Apache SIS implementations are serializable, but the serialized objects are not guaranteed to be compatible with future SIS versions. Serialization should be used only for short term storage or RMI between applications running the same SIS version.
    Since:
    0.5

    Defined in the sis-referencing module