text: @Override public List<E> subList(int from, int to) {Slice slice = this.slice;if (from < 0 || from > to || to > size()) {throw new IndexOutOfBoundsException("from=" + from + ", to=" + to +", list size=" + size());}return new CowSubList(slice.expectedElements, slice.from + from, slice.from + to);}