text: @Override public int indexOf(Object object) {Slice slice = this.slice;Object[] snapshot = elements;slice.checkConcurrentModification(snapshot);int result = CopyOnWriteArrayList.indexOf(object, snapshot, slice.from, slice.to);return (result != -1) ? (result - slice.from) : -1;}