public NSArray topMostTaserParents() { Enumeration enumer = anItem.topMostParents().objectEnumerator(); NSMutableArray temp = new NSMutableArray(); // System.out.println("Item - " + anItem.valueForKey("bugId") + " - " + anItem.shortDesc()); while (enumer.hasMoreElements()) { Item tempEo = (Item) enumer.nextElement(); // System.out.println("\t\tparentA - " + tempEo.bugId() + " - " + tempEo.shortDesc()); if ((tempEo.type().equals("Prospect")) || (tempEo.type().equals("Customer"))) { temp.addObject(tempEo); // System.out.println("\t\tparentB - " + tempEo.bugId() + " - " + tempEo.shortDesc()); } } return temp; }