Package io.ciera.runtime.summit.types
Class List<E>
- java.lang.Object
-
- io.ciera.runtime.summit.types.List<E>
-
- All Implemented Interfaces:
IList<E>,IXtumlType,Iterable<E>,Collection<E>,List<E>
public abstract class List<E> extends Object implements IList<E>
-
-
Constructor Summary
Constructors Constructor Description List()List(int initialCapacity)List(Collection<? extends E> c)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidadd(int index, E element)booleanadd(E e)booleanaddAll(Collection<? extends E> c)Eany()EanyWhere(IWhere<E> condition)voidclear()booleancontains(Object o)booleancontainsAll(Collection<?> c)booleanequality(IXtumlType value)Eget(int index)intindexOf(Object o)booleanisEmpty()Iterator<E>iterator()intlastIndexOf(Object o)ListIterator<E>listIterator()ListIterator<E>listIterator(int index)Eremove(int index)booleanremove(Object o)booleanremoveAll(Collection<?> c)booleanretainAll(Collection<?> c)Eset(int index, E element)intsize()List<E>subList(int fromIndex, int toIndex)Object[]toArray()<T> T[]toArray(T[] a)IList<E>where(IWhere<E> condition)-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface java.util.Collection
parallelStream, removeIf, stream, toArray
-
Methods inherited from interface io.ciera.runtime.summit.types.IList
emptyList, nullElement
-
Methods inherited from interface io.ciera.runtime.summit.types.IXtumlType
inequality, oneWhere, serialize
-
Methods inherited from interface java.util.List
addAll, equals, hashCode, replaceAll, sort, spliterator
-
-
-
-
Constructor Detail
-
List
public List()
-
List
public List(Collection<? extends E> c)
-
List
public List(int initialCapacity)
-
-
Method Detail
-
where
public IList<E> where(IWhere<E> condition) throws XtumlException
- Specified by:
wherein interfaceIList<E>- Throws:
XtumlException
-
anyWhere
public E anyWhere(IWhere<E> condition) throws XtumlException
- Specified by:
anyWherein interfaceIList<E>- Throws:
XtumlException
-
add
public boolean add(E e)
-
remove
public boolean remove(Object o)
-
addAll
public boolean addAll(Collection<? extends E> c)
-
retainAll
public boolean retainAll(Collection<?> c)
-
removeAll
public boolean removeAll(Collection<?> c)
-
size
public int size()
-
isEmpty
public boolean isEmpty()
-
contains
public boolean contains(Object o)
-
toArray
public Object[] toArray()
-
toArray
public <T> T[] toArray(T[] a)
-
containsAll
public boolean containsAll(Collection<?> c)
- Specified by:
containsAllin interfaceCollection<E>- Specified by:
containsAllin interfaceList<E>
-
clear
public void clear()
-
lastIndexOf
public int lastIndexOf(Object o)
- Specified by:
lastIndexOfin interfaceList<E>
-
listIterator
public ListIterator<E> listIterator()
- Specified by:
listIteratorin interfaceList<E>
-
listIterator
public ListIterator<E> listIterator(int index)
- Specified by:
listIteratorin interfaceList<E>
-
equality
public boolean equality(IXtumlType value) throws XtumlException
- Specified by:
equalityin interfaceIXtumlType- Throws:
XtumlException
-
-