Package org.assertj.core.api
Class ListAssert.ListFromStream<ELEMENT,STREAM extends BaseStream<ELEMENT,STREAM>>
- java.lang.Object
-
- java.util.AbstractCollection<E>
-
- java.util.AbstractList<ELEMENT>
-
- org.assertj.core.api.ListAssert.ListFromStream<ELEMENT,STREAM>
-
- All Implemented Interfaces:
Iterable<ELEMENT>
,Collection<ELEMENT>
,List<ELEMENT>
- Enclosing class:
- ListAssert<ELEMENT>
static class ListAssert.ListFromStream<ELEMENT,STREAM extends BaseStream<ELEMENT,STREAM>> extends AbstractList<ELEMENT>
-
-
Field Summary
Fields Modifier and Type Field Description private List<ELEMENT>
list
private 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 ELEMENT
get(int index)
private List<ELEMENT>
initList()
int
size()
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:
size
in interfaceCollection<ELEMENT>
- Specified by:
size
in interfaceList<ELEMENT>
- Specified by:
size
in classAbstractCollection<ELEMENT>
-
-