harpoon.Util
Interface ArrayFactory


public interface ArrayFactory

The ArrayFactory interface allows you to make arrays of objects without run-time type information to determine the object's type.

Version:
$Id: ArrayFactory.java,v 1.2 2002/02/25 21:08:44 cananian Exp $
Author:
C. Scott Ananian <cananian@alumni.princeton.edu>

Method Summary
 Object[] newArray(int len)
          Create and return a new array of the specified length.
 

Method Detail

newArray

public Object[] newArray(int len)
Create and return a new array of the specified length. The type is determined by the specific ArrayFactory that you are using.

See Also:
Temp.arrayFactory, Temp.doubleArrayFactory, Quad.arrayFactory, HCode.elementArrayFactory()