public void ArrayFill(ClubMember[] cmArray) { for (int i = 0; i < cmArray.Length; i++) { cmArray[i] = CMFactory.GetClubMember(); } }
public void TreeFill(MyBST bst, int size, ClubMember[] arr) { for (int i = 0; i < size; i++) { arr[i] = CMFactory.GetClubMember(); bst.Insert(arr[i]); } }
public void HashAdtFill(HashADT hashObj, int size) { int properSize = size + (size / 10); for (int i = 0; i < properSize; i++) { ClubMember cm = CMFactory.GetClubMember(); hashObj.Insert(cm); } }