Package org.jpmml.model.collections
Class TripletonList<E>
- java.lang.Object
-
- java.util.AbstractCollection<E>
-
- org.jpmml.model.collections.AbstractFixedSizeList<E>
-
- org.jpmml.model.collections.TripletonList<E>
-
- All Implemented Interfaces:
Serializable,Iterable<E>,Collection<E>,List<E>,RandomAccess
public class TripletonList<E> extends AbstractFixedSizeList<E> implements RandomAccess, Serializable
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description TripletonList(E first, E second, E third)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Eget(int index)booleanisEmpty()Eset(int index, E element)intsize()List<E>subList(int fromIndex, int toIndex)-
Methods inherited from class org.jpmml.model.collections.AbstractFixedSizeList
add, addAll, equals, hashCode, indexOf, iterator, lastIndexOf, listIterator, listIterator, remove
-
Methods inherited from class java.util.AbstractCollection
add, addAll, clear, contains, containsAll, remove, removeAll, retainAll, toArray, toArray, toString
-
Methods inherited from interface java.util.Collection
parallelStream, removeIf, stream, toArray
-
Methods inherited from interface java.util.List
add, addAll, clear, contains, containsAll, remove, removeAll, replaceAll, retainAll, sort, spliterator, toArray, toArray
-
-
-
-
Method Detail
-
size
public int size()
- Specified by:
sizein interfaceCollection<E>- Specified by:
sizein interfaceList<E>- Specified by:
sizein classAbstractCollection<E>
-
isEmpty
public boolean isEmpty()
- Specified by:
isEmptyin interfaceCollection<E>- Specified by:
isEmptyin interfaceList<E>- Overrides:
isEmptyin classAbstractCollection<E>
-
-