harpoon.Util
Interface ArrayFactory<E>


public interface ArrayFactory<E>

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.3 2002/04/10 03:07:03 cananian Exp $
Author:
C. Scott Ananian <cananian@alumni.princeton.edu>

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

Method Detail

newArray

E[] 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()