ListExtra<T> extension

on

Properties

indicate Iterable<MapEntry<int, T>>

Available on List<T>, provided by the ListExtra extension

获得带序列的数据列表 >>>

no setter
randomItem → T?

Available on List<T>, provided by the ListExtra extension

no setter

Methods

compare<V>(Iterable<V> list, {Compare? c}) bool

Available on List<T>, provided by the ListExtra extension

endWith(List<T> other, {bool compare(T, T)?}) bool

Available on List<T>, provided by the ListExtra extension

由另外一个List结束 >>>

find(List<T> a) int?

Available on List<T>, provided by the ListExtra extension

findLast(List<T> a) int?

Available on List<T>, provided by the ListExtra extension

isEqualTo(List<T> other, {bool compare(T, T)?}) bool

Available on List<T>, provided by the ListExtra extension

检查两个列表是否相同 >>>

mixItem(T item, {bool around = false}) List<T>

Available on List<T>, provided by the ListExtra extension

混合插入元素 >>>

mixList(List<T> next) List<T>

Available on List<T>, provided by the ListExtra extension

混合插入两个list >>>

startWith(List<T> other, {bool compare(T, T)?}) bool

Available on List<T>, provided by the ListExtra extension

由另外一个List开头 >>>