Skip to content

Methods_T_CodeJam_Collections_Sequence

andrewvk edited this page Nov 5, 2016 · 2 revisions

Sequence Methods

The Sequence type exposes the following members.

Methods

 

Name Description
Public methodStatic member Create(T)(T, Func(T, T)) Creates a sequence from start value and next element factory.
Public methodStatic member Create(T)(T, Func(T, Boolean), Func(T, T)) Creates a sequence from start value and next element factory.
Public methodStatic member Create(T, TResult)(T, Func(T, T), Func(T, TResult)) Creates a sequence from start value and next element factory.
Public methodStatic member Create(T, TResult)(T, Func(T, Boolean), Func(T, T), Func(T, TResult)) Creates a sequence from start value and next element factory.
Public method CreateSingle(T)(Func(T)) Creates a single element sequence.
Public method CreateSingle(T)(T) Creates a single element sequence.
Public methodStatic member CreateWhileNotNull(T)(T, Func(T, T)) Creates a sequence from start value and next element factory till factory returns null.
Public methodStatic member CreateWhileNotNull(T, TResult)(T, Func(T, T), Func(T, TResult)) Creates a sequence from start value and next element factory till factory returns null.
Public method Equals Determines whether the specified object is equal to the current object. (Inherited from Object.)
Protected method Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public method GetHashCode Serves as the default hash function. (Inherited from Object.)
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Public method ToString Returns a string that represents the current object. (Inherited from Object.)
  Back to Top

See Also

Reference

Sequence Class
CodeJam.Collections Namespace

Clone this wiki locally