Package com.sparc.knappsack.comparators

Examples of com.sparc.knappsack.comparators.ApplicationVersionComparator


//        return new ArrayList<ApplicationVersion>(applicationVersions);
//    }

    @Override
    public List<ApplicationVersion> getApplicationVersions(User user, Long applicationId, SortOrder sortOrder) {
        TreeSet<ApplicationVersion> versionsSet = new TreeSet<ApplicationVersion>(new ApplicationVersionComparator());
        if (user != null && applicationId != null && applicationId > 0) {
            List<ApplicationVersion> returnedVersions = applicationVersionDao.getAllByApplicationForUser(applicationId, user);
            if (returnedVersions != null) {
                versionsSet.addAll(returnedVersions);
            }
View Full Code Here

TOP

Related Classes of com.sparc.knappsack.comparators.ApplicationVersionComparator

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.