Package org.jpmml.model.collections
Class AbstractFixedSizeList<E>
- java.lang.Object
-
- java.util.AbstractCollection<E>
-
- org.jpmml.model.collections.AbstractFixedSizeList<E>
-
- All Implemented Interfaces:
Iterable<E>,Collection<E>,List<E>
- Direct Known Subclasses:
DoubletonList,SingletonList,TripletonList
public abstract class AbstractFixedSizeList<E> extends AbstractCollection<E> implements List<E>
-
-
Constructor Summary
Constructors Constructor Description AbstractFixedSizeList()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidadd(int index, E element)booleanaddAll(int index, Collection<? extends E> elements)booleanequals(Object object)inthashCode()intindexOf(Object object)Iterator<E>iterator()intlastIndexOf(Object object)ListIterator<E>listIterator()ListIterator<E>listIterator(int index)Eremove(int index)Eset(int index, E element)-
Methods inherited from class java.util.AbstractCollection
add, addAll, clear, contains, containsAll, isEmpty, remove, removeAll, retainAll, size, toArray, toArray, toString
-
Methods inherited from interface java.util.Collection
parallelStream, removeIf, stream, toArray
-
-
-
-
Method Detail
-
equals
public boolean equals(Object object)
-
hashCode
public int hashCode()
-
listIterator
public ListIterator<E> listIterator()
- Specified by:
listIteratorin interfaceList<E>
-
listIterator
public ListIterator<E> listIterator(int index)
- Specified by:
listIteratorin interfaceList<E>
-
addAll
public boolean addAll(int index, Collection<? extends E> elements)
-
lastIndexOf
public int lastIndexOf(Object object)
- Specified by:
lastIndexOfin interfaceList<E>
-
-