@ Pure public boolean contains ( BusItineraryHalt bushalt ) { if ( bushalt == null ) { return false ; } if ( bushalt . isValidPrimitive ( ) ) { return ListUtil . contains ( this . validHalts , VALID_HALT_COMPARATOR , bushalt ) ; } return ListUtil . contains ( this . invalidHalts , INVALID_HALT_COMPARATOR , bushalt ) ; }
Replies if the given bus halt is inside this bus itinerary .