DkListOtherExt<E> extension

on

Methods

print() → void

Available on List<E>, provided by the DkListOtherExt extension

打印列表
removeAll(bool test(E it)) → void

Available on List<E>, provided by the DkListOtherExt extension

移除符合条件的元素
removeFirst() → E

Available on List<E>, provided by the DkListOtherExt extension

移除首个元素
removeFirstOrNull() → E?

Available on List<E>, provided by the DkListOtherExt extension

移除首个元素,兼容异常情况
removeIf(bool test(E it)) → void

Available on List<E>, provided by the DkListOtherExt extension

移除符合条件的元素
removeLastOrNull() → E?

Available on List<E>, provided by the DkListOtherExt extension

移除最后的元素,兼容异常情况