-
Notifications
You must be signed in to change notification settings - Fork 35
T_CodeJam_Collections_Sequence
Andrew Koryavchenko edited this page Jul 4, 2017
·
3 revisions
Contains methods for sequence creation.
System.Object
CodeJam.Collections.Sequence
Namespace: CodeJam.Collections
Assembly: CodeJam (in CodeJam.dll) Version: 1.1.0.0 (1.1.0.0)
C#
public static class Sequence
VB
Public NotInheritable Class Sequence
F#
[<AbstractClassAttribute>]
[<SealedAttribute>]
type Sequence = class end
Name | Description | |
---|---|---|
Create(T)(T, Func(T, T)) | Creates a sequence from start value and next element factory. | |
Create(T)(T, Func(T, Boolean), Func(T, T)) | Creates a sequence from start value and next element factory. | |
Create(T, TResult)(T, Func(T, T), Func(T, TResult)) | Creates a sequence from start value and next element factory. | |
Create(T, TResult)(T, Func(T, Boolean), Func(T, T), Func(T, TResult)) | Creates a sequence from start value and next element factory. | |
CreateSingle(T)(Func(T)) | Creates a single element sequence. | |
CreateSingle(T)(T) | Creates a single element sequence. | |
CreateWhileNotNull(T)(T, Func(T, T)) | Creates a sequence from start value and next element factory till factory returns null. | |
CreateWhileNotNull(T, TResult)(T, Func(T, T), Func(T, TResult)) | Creates a sequence from start value and next element factory till factory returns null. | |
Random(Int32) | Creates infinite sequence of random int numbers; | |
Random(Int32, Int32) | Creates infinite sequence of random int numbers; | |
Random(Int32, Int32, Int32) | Creates infinite sequence of random int numbers; |