Class AbstractMemoryModel

java.lang.Object
net.algart.arrays.AbstractMemoryModel
All Implemented Interfaces:
MemoryModel
Direct Known Subclasses:
BufferMemoryModel, CombinedMemoryModel, LargeMemoryModel, SignalMemoryModel, SimpleMemoryModel

public abstract class AbstractMemoryModel extends Object implements MemoryModel

A skeletal implementation of the MemoryModel interface to minimize the effort required to implement this interface.

This class implements all concrete newEmptyXxxArray, newXxxArray and newUnresizableXxxArray methods, and also all valueOf methods via trivial calls of corresponding newEmptyArray and newArray methods. This class implements all concrete newXxxMatrix via trivial calls of newMatrix method. It also offers a simple implementation of some other methods: see comments to them.

Author:
Daniel Alievsky