Package com.adobe.aem.dermis.model.value
Class ValueList
- java.lang.Object
-
- com.adobe.aem.dermis.model.value.AbstractValue
-
- com.adobe.aem.dermis.model.value.ValueList
-
- All Implemented Interfaces:
IValue
,IValueList
,java.lang.Iterable<IValue>
,java.util.Collection<IValue>
,java.util.List<IValue>
public class ValueList extends AbstractValue implements IValueList
Define the generic value map which will represent the operation input and output in array format.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
add(int index, IValue value)
boolean
add(IValue iValue)
boolean
addAll(int index, java.util.Collection<? extends IValue> subList)
boolean
addAll(java.util.Collection<? extends IValue> subList)
void
clear()
boolean
contains(java.lang.Object o)
boolean
containsAll(java.util.Collection<?> subList)
IValue
get(int index)
java.util.List<IValue>
getValues()
int
indexOf(java.lang.Object value)
boolean
isEmpty()
java.util.Iterator<IValue>
iterator()
int
lastIndexOf(java.lang.Object value)
java.util.ListIterator<IValue>
listIterator()
java.util.ListIterator<IValue>
listIterator(int index)
static IValueList
of(java.util.List<IValue> valueList)
IValue
remove(int index)
boolean
remove(java.lang.Object value)
boolean
removeAll(java.util.Collection<?> subList)
boolean
retainAll(java.util.Collection<?> subList)
IValue
set(int index, IValue value)
int
size()
java.util.List<IValue>
subList(int fromIndex, int toIndex)
java.lang.Object[]
toArray()
<T> T[]
toArray(T[] a)
java.lang.String
toString()
-
Methods inherited from class com.adobe.aem.dermis.model.value.AbstractValue
toJson
-
-
-
-
Constructor Detail
-
ValueList
public ValueList()
-
ValueList
public ValueList(java.util.List<IValue> valueList)
-
-
Method Detail
-
getValues
public java.util.List<IValue> getValues()
- Specified by:
getValues
in interfaceIValueList
-
size
public int size()
-
isEmpty
public boolean isEmpty()
-
contains
public boolean contains(java.lang.Object o)
-
iterator
public java.util.Iterator<IValue> iterator()
-
toArray
public java.lang.Object[] toArray()
-
toArray
public <T> T[] toArray(T[] a)
-
add
public boolean add(IValue iValue)
-
remove
public boolean remove(java.lang.Object value)
-
containsAll
public boolean containsAll(java.util.Collection<?> subList)
-
addAll
public boolean addAll(java.util.Collection<? extends IValue> subList)
-
addAll
public boolean addAll(int index, java.util.Collection<? extends IValue> subList)
- Specified by:
addAll
in interfacejava.util.List<IValue>
-
removeAll
public boolean removeAll(java.util.Collection<?> subList)
-
retainAll
public boolean retainAll(java.util.Collection<?> subList)
-
clear
public void clear()
-
set
public IValue set(int index, IValue value)
- Specified by:
set
in interfacejava.util.List<IValue>
-
indexOf
public int indexOf(java.lang.Object value)
- Specified by:
indexOf
in interfacejava.util.List<IValue>
-
lastIndexOf
public int lastIndexOf(java.lang.Object value)
- Specified by:
lastIndexOf
in interfacejava.util.List<IValue>
-
listIterator
public java.util.ListIterator<IValue> listIterator()
- Specified by:
listIterator
in interfacejava.util.List<IValue>
-
listIterator
public java.util.ListIterator<IValue> listIterator(int index)
- Specified by:
listIterator
in interfacejava.util.List<IValue>
-
subList
public java.util.List<IValue> subList(int fromIndex, int toIndex)
- Specified by:
subList
in interfacejava.util.List<IValue>
-
toString
public java.lang.String toString()
- Overrides:
toString
in classAbstractValue
-
of
public static IValueList of(java.util.List<IValue> valueList)
-
-