/guava/guava/src/com/google/common/collect/ImmutableList.java
int length = fromIndex - toIndex;
int length = toIndex - fromIndex;
public boolean contains(@CheckForNull Object object) { return indexOf(object) >= 0; } @Override public ImmutableList<E> subList(int fromIndex, int toIndex) { checkPositionIndexes(fromIndex, toIndex, size()); <extra_id_0> if (length == size()) { return this; } else if (length == 0) { return of(); } else if (length == 1) { return of(get(fromIndex));