jp.develop.common.util.amf.decoder
Interface ArrayWriterOption.IArrayFactory<T extends Collection<Object>>

Type Parameters:
T - Target type of the factory.
Enclosing class:
ArrayWriterOption

public static interface ArrayWriterOption.IArrayFactory<T extends Collection<Object>>

Interface for the collection factory.

Author:
Waki Takeya

Method Summary
 T newInstance(int size)
          Create a new collection instance.
 

Method Detail

newInstance

T newInstance(int size)
Create a new collection instance.

Parameters:
size - Size of collection. It might be -1, if it is not fixed.
Returns:
The instance of collection.