Package net.csdn.common.collect

Examples of net.csdn.common.collect.Tuple


        if (_query == null) return;
        String[] queries = _query.split("&");
        for (String temp : queries) {
            if (temp.isEmpty() || !temp.contains("=")) continue;
            String[] key_pair = temp.split("=");
            query.add(new Tuple(key_pair[0], key_pair[1]));
        }
    }
View Full Code Here


    public Url(String url) {
        this(URI.create(url));
    }

    public Url addParam(String key, String value) {
        query.add(new Tuple(key, value));
        return this;
    }
View Full Code Here

TOP

Related Classes of net.csdn.common.collect.Tuple

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.