Skip to content

T_CodeJam_Collections_Sequence

andrewvk edited this page Nov 5, 2016 · 3 revisions

Sequence Class

Contains methods for sequence creation.

Inheritance Hierarchy

System.Object
  CodeJam.Collections.Sequence
Namespace: CodeJam.Collections
Assembly: CodeJam (in CodeJam.dll) Version: 1.1.0.0 (1.1.0.0)

Syntax

C#

public class Sequence

VB

Public Class Sequence

F#

type Sequence =  class end

The Sequence type exposes the following members.

Constructors

 

Name Description
Public method Sequence Initializes a new instance of the Sequence class
  Back to Top

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

CodeJam.Collections Namespace

Clone this wiki locally