collections.immutable.List23List Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of collections Show documentation
Show all versions of collections Show documentation
Java code for the collections package.
The newest version!
package collections.immutable;
import java.util.AbstractList;
final class List23List extends AbstractList {
private final ImmList list23;
public List23List(ImmList list23) {
super();
this.list23 = list23;
}
@Override
public E get(int index) {
return list23.getAt(index);
}
@Override
public int size() {
return list23.size();
}
}