method returns string with total weight and total count of passengers in the stock . concode_field_sep List<Carriage> passengerCarriages concode_field_sep List<Carriage> getPassengerCarriages concode_elem_sep void setPassengerCarriages concode_elem_sep int hashCode concode_elem_sep ArrayList<PassengerCarriage> findByPassengerCount concode_elem_sep boolean equals concode_elem_sep String toString concode_elem_sep void addCarriage concode_elem_sep int getTotalWeightOfBaggage concode_elem_sep int getTotalCountOfPassengers
void function ( ) { System . out . println ( "srini_string" + getTotalCountOfPassengers ( ) + "srini_string" + getTotalWeightOfBaggage ( ) + "srini_string" ) ; }