Package org.assertj.core.api
Class ProxyableListAssert.ListFromStream<ELEMENT,STREAM extends BaseStream<ELEMENT,STREAM>>
- java.lang.Object
-
- java.util.AbstractCollection<E>
-
- java.util.AbstractList<ELEMENT>
-
- org.assertj.core.api.ProxyableListAssert.ListFromStream<ELEMENT,STREAM>
-
- All Implemented Interfaces:
Iterable<ELEMENT>,Collection<ELEMENT>,List<ELEMENT>
- Enclosing class:
- ProxyableListAssert<ELEMENT>
static class ProxyableListAssert.ListFromStream<ELEMENT,STREAM extends BaseStream<ELEMENT,STREAM>> extends AbstractList<ELEMENT>
-
-
Field Summary
Fields Modifier and Type Field Description private List<ELEMENT>listprivate BaseStream<ELEMENT,STREAM>stream-
Fields inherited from class java.util.AbstractList
modCount
-
-
Constructor Summary
Constructors Constructor Description ListFromStream(BaseStream<ELEMENT,STREAM> stream)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ELEMENTget(int index)private List<ELEMENT>initList()intsize()Stream<ELEMENT>stream()-
Methods inherited from class java.util.AbstractList
add, add, addAll, clear, equals, hashCode, indexOf, iterator, lastIndexOf, listIterator, listIterator, remove, removeRange, set, subList
-
Methods inherited from class java.util.AbstractCollection
addAll, contains, containsAll, isEmpty, remove, removeAll, retainAll, toArray, toArray, toString
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface java.util.Collection
parallelStream, removeIf, toArray
-
Methods inherited from interface java.util.List
addAll, contains, containsAll, isEmpty, remove, removeAll, replaceAll, retainAll, sort, spliterator, toArray, toArray
-
-
-
-
Field Detail
-
stream
private BaseStream<ELEMENT,STREAM extends BaseStream<ELEMENT,STREAM>> stream
-
-
Constructor Detail
-
ListFromStream
public ListFromStream(BaseStream<ELEMENT,STREAM> stream)
-
-
Method Detail
-
size
public int size()
- Specified by:
sizein interfaceCollection<ELEMENT>- Specified by:
sizein interfaceList<ELEMENT>- Specified by:
sizein classAbstractCollection<ELEMENT>
-
-