public static GetInstance ( object obj ) : |
||
obj | object | |
return |
public virtual Target[] GetTargets() { Target[] array = new Target[this.targets.Count]; for (int i = 0; i < this.targets.Count; i++) { array[i] = Target.GetInstance(this.targets[i]); } return(array); }
/** * Returns the targets in an <code>ArrayList</code>. * <p> * The ArrayList is cloned before it is returned.</p> * * @return Returns the targets. */ public virtual Target[] GetTargets() { Target[] result = new Target[targets.Count]; for (int i = 0; i < targets.Count; ++i) { result[i] = Target.GetInstance(targets[i]); } return(result); }