Back to project page NewAndroidTwitter.
The source code is released under:
Apache License
If you think the Android project NewAndroidTwitter listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
package net.londatiga.android.twitter.http; /*w w w . ja v a 2 s.com*/ import java.util.TreeSet; /** * Http parameter values. * * @author Lorensius W. L. T <lorenz@londatiga.net> * */ public class HttpValues { private TreeSet<String> mValues; public HttpValues() { mValues = new TreeSet<String>(); } public HttpValues(String value) { mValues = new TreeSet<String>(); mValues.add(value); } public void add(String value) { mValues.add(value); } public void remove(String value) { mValues.remove(value); } public void clear() { mValues.clear(); } public boolean isEmpty() { return mValues.isEmpty(); } public TreeSet<String> getAll() { return mValues; } }