DataBuildInterface<E> class abstract

数据操作接口

Implementers

Constructors

DataBuildInterface()

Properties

hashCode int
The hash code for this object.
no setterinherited
items List<E?>
获取不可变数据列表
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
size int
数据长度
no setter

Methods

addItem(E item) → void
新增item
addItems(List<E?> items) → void
新增数组items
addItemsClear(List<E?> items) → void
清除并新增
clear() → void
清除列表
indexOfItem(E item) int
获取item数据对应首个下标
insert(int position, E item) → void
插入item到指定下标
item(int position) → E?
获取下标position数据项
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
remove(E item) → void
移除item
removeAt(int position) → void
移除下标position
swap(int current, int next) → void
交换下标位置
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited