Home | History | Annotate | Download | only in core

Lines Matching refs:nameValue

42  * Implements a simple NameValue association with a quick lookup function (via a
54 public class NameValueList implements Serializable, Cloneable, Map<String,NameValue> {
59 private Map<String,NameValue> hmap;
68 this.hmap = new LinkedHashMap<String,NameValue>();
74 this.hmap = new ConcurrentHashMap<String,NameValue>();
76 this.hmap = new LinkedHashMap<String,NameValue>();
95 Iterator<NameValue> iterator = hmap.values().iterator();
120 * Set a namevalue object in this list.
123 public void set(NameValue nv) {
128 * Set a namevalue object in this list.
131 NameValue nameValue = new NameValue(name, value);
132 hmap.put(name.toLowerCase(), nameValue);
137 * Compare if two NameValue lists are equal.
159 NameValue nv1 = this.getNameValue(key);
160 NameValue nv2 = (NameValue) other.hmap.get(key);
173 NameValue nv = this.getNameValue(name.toLowerCase());
181 * Get the NameValue record given a name.
185 public NameValue getNameValue(String name) {
186 return (NameValue) this.hmap.get(name.toLowerCase());
218 Iterator<NameValue> it = this.hmap.values().iterator();
220 retval.set((NameValue) ((NameValue) it.next()).clone());
244 public Iterator<NameValue> iterator() {
302 public Set<java.util.Map.Entry<String, NameValue>> entrySet() {
310 public NameValue get(Object key) {
326 public NameValue put(String name, NameValue nameValue) {
327 return this.hmap.put(name, nameValue);
330 public void putAll(Map<? extends String, ? extends NameValue> map) {
338 public NameValue remove(Object key) {
346 public Collection<NameValue> values() {