类 PartitionList<T>
- java.lang.Object
-
- java.util.AbstractCollection<E>
-
- java.util.AbstractList<List<T>>
-
- io.github.burukeyou.dataframe.util.PartitionList<T>
-
public class PartitionList<T> extends AbstractList<List<T>>
-
-
字段概要
-
从类继承的字段 java.util.AbstractList
modCount
-
-
构造器概要
构造器 构造器 说明 PartitionList(List<T> list, int size)
-
方法概要
所有方法 静态方法 实例方法 具体方法 修饰符和类型 方法 说明 static intcheckElementIndex(int index, int size, String desc)static intdivide(int p, int q, RoundingMode mode)List<T>get(int index)booleanisEmpty()static StringlenientFormat(String template, Object... args)intsize()-
从类继承的方法 java.util.AbstractList
add, add, addAll, clear, equals, hashCode, indexOf, iterator, lastIndexOf, listIterator, listIterator, remove, removeRange, set, subList
-
从类继承的方法 java.util.AbstractCollection
addAll, contains, containsAll, remove, removeAll, retainAll, toArray, toArray, toString
-
从接口继承的方法 java.util.Collection
parallelStream, removeIf, stream, toArray
-
从接口继承的方法 java.util.List
addAll, contains, containsAll, remove, removeAll, replaceAll, retainAll, sort, spliterator, toArray, toArray
-
-
-
-
方法详细资料
-
size
public int size()
- 指定者:
size在接口中Collection<T>- 指定者:
size在接口中List<T>- 指定者:
size在类中AbstractCollection<List<T>>
-
isEmpty
public boolean isEmpty()
- 指定者:
isEmpty在接口中Collection<T>- 指定者:
isEmpty在接口中List<T>- 覆盖:
isEmpty在类中AbstractCollection<List<T>>
-
checkElementIndex
public static int checkElementIndex(int index, int size, String desc)
-
divide
public static int divide(int p, int q, RoundingMode mode)
-
-