标签:视图 and random int ret instance abstract dex abs
public List<E> subList(int fromIndex, int toIndex) {
return (this instanceof RandomAccess ?
new RandomAccessSubList<>(this, fromIndex, toIndex) :
new SubList<>(this, fromIndex, toIndex));
}
注释:用来返回list一部分的视图.
标签:视图 and random int ret instance abstract dex abs
原文地址:http://www.cnblogs.com/devileNC/p/7700902.html