T_Cyjb_Collections_IRangeCollection_1 - CYJB/Cyjb GitHub Wiki
表示可以使用范围表示的集合。
Namespace: Cyjb.Collections
Assembly: Cyjb (in Cyjb.dll) Version: 1.0.23+7750dd8e971297c5fa962a3bee37fb78f72793f6
C#
public interface IRangeCollection<T> : IEnumerable<T>,
IEnumerable
where T : Object, IComparable<T>
- T
- 集合中元素的类型。
名称 | 说明 | |
---|---|---|
![]() |
Count | 获取当前集合包含的元素数。 |
名称 | 说明 | |
---|---|---|
![]() |
GetEnumerator | Returns an enumerator that iterates through the collection. (继承自 IEnumerable(T)。) |
![]() |
Ranges | 返回一个循环访问元素范围的枚举器。 |
名称 | 说明 | |
---|---|---|
![]() |
IsDistinct(T) | 判断序列中是否不包含重复元素。 (由 EnumerableUtil 定义。) |