IBaseIterator<TValue> 接口

定义

定义所有 STL/CLR 迭代器的基本接口。

generic <typename TValue>
public interface class IBaseIterator : ICloneable
public interface IBaseIterator<TValue> : ICloneable
type IBaseIterator<'Value> = interface
    interface ICloneable
Public Interface IBaseIterator(Of TValue)
Implements ICloneable

类型参数

TValue

受控序列中的元素的类型。

派生
实现

方法

名称 说明
Clone()

创建一个新对象,该对象是当前实例的副本。

(继承自 ICloneable)
container()

获取迭代器遍历的容器。

get_bias()

获取迭代器的偏差。 偏差是迭代器与元素零的偏移量。

get_node()

获取迭代器指向的节点或元素。

next()

将迭代器递增到基础容器中的下一个位置,或者在容器完全遍历后的第一个位置。

valid()

确定迭代器是否有效,并可以安全地用于遍历基础容器。

适用于