Package clojure.lang

Examples of clojure.lang.MapEntry.val()


    public ClojureQuery(Map<String, Object> query, int skip, int limit, IPersistentMap order) {
        super(query, skip, limit);
        Iterator<MapEntry> i = order.iterator();
        while (i.hasNext()) {
            MapEntry entry = i.next();
            if (entry.val().equals(DESC)) {
                field(toString(entry.key())).orderDescending();
            } else {
                field(toString(entry.key())).orderAscending();
            }
        }
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. 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.