Class 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.
    • Constructor Detail

      • ValueList

        public ValueList()
      • ValueList

        public ValueList​(java.util.List<IValue> valueList)
    • Method Detail

      • size

        public int size()
        Specified by:
        size in interface java.util.Collection<IValue>
        Specified by:
        size in interface java.util.List<IValue>
      • isEmpty

        public boolean isEmpty()
        Specified by:
        isEmpty in interface java.util.Collection<IValue>
        Specified by:
        isEmpty in interface java.util.List<IValue>
      • contains

        public boolean contains​(java.lang.Object o)
        Specified by:
        contains in interface java.util.Collection<IValue>
        Specified by:
        contains in interface java.util.List<IValue>
      • iterator

        public java.util.Iterator<IValue> iterator()
        Specified by:
        iterator in interface java.util.Collection<IValue>
        Specified by:
        iterator in interface java.lang.Iterable<IValue>
        Specified by:
        iterator in interface java.util.List<IValue>
      • toArray

        public java.lang.Object[] toArray()
        Specified by:
        toArray in interface java.util.Collection<IValue>
        Specified by:
        toArray in interface java.util.List<IValue>
      • toArray

        public <T> T[] toArray​(T[] a)
        Specified by:
        toArray in interface java.util.Collection<IValue>
        Specified by:
        toArray in interface java.util.List<IValue>
      • add

        public boolean add​(IValue iValue)
        Specified by:
        add in interface java.util.Collection<IValue>
        Specified by:
        add in interface java.util.List<IValue>
      • remove

        public boolean remove​(java.lang.Object value)
        Specified by:
        remove in interface java.util.Collection<IValue>
        Specified by:
        remove in interface java.util.List<IValue>
      • containsAll

        public boolean containsAll​(java.util.Collection<?> subList)
        Specified by:
        containsAll in interface java.util.Collection<IValue>
        Specified by:
        containsAll in interface java.util.List<IValue>
      • addAll

        public boolean addAll​(java.util.Collection<? extends IValue> subList)
        Specified by:
        addAll in interface java.util.Collection<IValue>
        Specified by:
        addAll in interface java.util.List<IValue>
      • addAll

        public boolean addAll​(int index,
                              java.util.Collection<? extends IValue> subList)
        Specified by:
        addAll in interface java.util.List<IValue>
      • removeAll

        public boolean removeAll​(java.util.Collection<?> subList)
        Specified by:
        removeAll in interface java.util.Collection<IValue>
        Specified by:
        removeAll in interface java.util.List<IValue>
      • retainAll

        public boolean retainAll​(java.util.Collection<?> subList)
        Specified by:
        retainAll in interface java.util.Collection<IValue>
        Specified by:
        retainAll in interface java.util.List<IValue>
      • clear

        public void clear()
        Specified by:
        clear in interface java.util.Collection<IValue>
        Specified by:
        clear in interface java.util.List<IValue>
      • get

        public IValue get​(int index)
        Specified by:
        get in interface java.util.List<IValue>
      • set

        public IValue set​(int index,
                          IValue value)
        Specified by:
        set in interface java.util.List<IValue>
      • add

        public void add​(int index,
                        IValue value)
        Specified by:
        add in interface java.util.List<IValue>
      • remove

        public IValue remove​(int index)
        Specified by:
        remove in interface java.util.List<IValue>
      • indexOf

        public int indexOf​(java.lang.Object value)
        Specified by:
        indexOf in interface java.util.List<IValue>
      • lastIndexOf

        public int lastIndexOf​(java.lang.Object value)
        Specified by:
        lastIndexOf in interface java.util.List<IValue>
      • listIterator

        public java.util.ListIterator<IValue> listIterator()
        Specified by:
        listIterator in interface java.util.List<IValue>
      • listIterator

        public java.util.ListIterator<IValue> listIterator​(int index)
        Specified by:
        listIterator in interface java.util.List<IValue>
      • subList

        public java.util.List<IValue> subList​(int fromIndex,
                                              int toIndex)
        Specified by:
        subList in interface java.util.List<IValue>