Class NameValuePairList
- java.lang.Object
-
- org.apache.sling.commons.testing.integration.NameValuePairList
-
- All Implemented Interfaces:
Iterable<NameValuePair>
public class NameValuePairList extends Object implements Iterable<NameValuePair>
A list of name-value pairs.
-
-
Constructor Summary
Constructors Constructor Description NameValuePairList()NameValuePairList(List<NameValuePair> init)NameValuePairList(Map<String,String> clientNodeProperties)NameValuePairList(NameValuePairList clientNodeProperties)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidadd(String name, String value)voidaddIfNew(String name, String value)voidaddOrReplace(String name, String value)voidaddOrReplaceAll(NameValuePairList other)voidclear()Iterator<NameValuePair>iterator()voidprependIfNew(String name, String value)intsize()-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface java.lang.Iterable
forEach, spliterator
-
-
-
-
Constructor Detail
-
NameValuePairList
public NameValuePairList()
-
NameValuePairList
public NameValuePairList(List<NameValuePair> init)
-
NameValuePairList
public NameValuePairList(NameValuePairList clientNodeProperties)
-
-
Method Detail
-
addOrReplaceAll
public void addOrReplaceAll(NameValuePairList other)
-
clear
public void clear()
-
iterator
public Iterator<NameValuePair> iterator()
- Specified by:
iteratorin interfaceIterable<NameValuePair>
-
size
public int size()
-
-