Package trams.util

Examples of trams.util.SortedServices


                    serviceId++;
                }
            }
        }
        //Sort all services.
        Collections.sort(allServices, new SortedServices());
        //Return the services.
        return allServices;
    }
View Full Code Here


                if ( isOutwardService(myService.getStop(0).getStopName(), myService.getStop(1).getStopName()) ) {
                    outgoingServices.add(myService);
                }
            }
        }
        Collections.sort(outgoingServices, new SortedServices());
        return outgoingServices;
    }
View Full Code Here

                if ( !isOutwardService(myService.getStop(0).getStopName(), myService.getStop(1).getStopName()) ) {
                    returnServices.add(myService);
                }
            }
        }
        Collections.sort(returnServices, new SortedServices());
        return returnServices;
    }
View Full Code Here

TOP

Related Classes of trams.util.SortedServices

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.