@ Pure public BusItineraryHalt [ ] toValidBusHaltArray ( ) { final BusItineraryHalt [ ] tab = new BusItineraryHalt [ this . validHalts . size ( ) ] ; return this . validHalts . toArray ( tab ) ; }
Replies an array of the valid bus halts inside this itinerary . This function copy the internal data structures into the array .