Skip to content

Instantly share code, notes, and snippets.

@ekoontz
Created January 8, 2011 01:03
Show Gist options
  • Save ekoontz/770399 to your computer and use it in GitHub Desktop.
Save ekoontz/770399 to your computer and use it in GitHub Desktop.
foo
import java.util.LinkedList;
public class foo {
class NameValuePair {
String name;
String value;
NameValuePair(String _name, String _value) {
name = _name;
value = _value;
}
}
private LinkedList<NameValuePair> nameValuePairs;
public foo() {
nameValuePairs = new LinkedList<NameValuePair>();
nameValuePairs.add(new NameValuePair("foo","bar"));
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment