public abstract class AbstractROListTest<T> extends AbstractROCollectionTest<T>
ReadOnlyLists.| Constructor and Description |
|---|
AbstractROListTest() |
| Modifier and Type | Method and Description |
|---|---|
void |
getAndIndexOfMatchIndexwise()
Each index A in a list holds an element whose index is less than
or equal to A.
|
void |
getAndLastIndexOfMathIndexwise()
Each index A in a list holds an element whose last index is
greater than or equal to A.
|
void |
getReturnsSameElementConsecutively()
Method
ReadOnlyList.get(int) should return ==-identical result on
consecutive invocations. |
protected abstract ReadOnlyList<T> |
implInstance()
Creates an instance of a class to test.
|
containsFirstIteratorResult, interatorSizeMatchesCollectionSize, mayBeNotEmpty, mayHaveSizeGreaterThanZero, streamAccessesSameElementsAsIteratorpublic final void getReturnsSameElementConsecutively()
ReadOnlyList.get(int) should return ==-identical result on
consecutive invocations.public final void getAndIndexOfMatchIndexwise()
public final void getAndLastIndexOfMathIndexwise()
protected abstract ReadOnlyList<T> implInstance()
AbstractROCollectionTestimplInstance in class AbstractROCollectionTest<T>Copyright © 2012–2015 jcabi.com. All rights reserved.