/** * Contains a factory method for producing IVector implementations. * @author Jeff Raab */ public class VectorFactory { /** Constructs a new object of type IVector. */ public static IVector createVector() { return new DynamicArrayVector(); } }