(int fromIndex, int toIndex)
| 597 | } |
| 598 | |
| 599 | @Override |
| 600 | public List<Integer> subList(int fromIndex, int toIndex) { |
| 601 | int size = size(); |
| 602 | checkPositionIndexes(fromIndex, toIndex, size); |
| 603 | if (fromIndex == toIndex) { |
| 604 | return Collections.emptyList(); |
| 605 | } |
| 606 | return new IntArrayAsList(array, start + fromIndex, start + toIndex); |
| 607 | } |
| 608 | |
| 609 | @Override |
| 610 | public boolean equals(@Nullable Object object) { |
nothing calls this directly
no test coverage detected