C# Class Catrobat.IDE.Core.CatrobatObjects.Range

Show file Open project: Catrobat/CatrobatForWindows Class Usage Examples

Public Properties

Property Type Description
Length int
Start int

Private Properties

Property Type Description
Range System

Public Methods

Method Description
Combine ( Range x, Range y ) : Range
Contains ( Range other ) : bool
Empty ( int start ) : Range
FromIndices ( int start, int end ) : Range
FromLength ( int start, int length ) : Range
Single ( int start ) : Range

Private Methods

Method Description
Range ( int start, int length ) : System

Method Details

Combine() public static method

public static Combine ( Range x, Range y ) : Range
x Range
y Range
return Range

Contains() public method

public Contains ( Range other ) : bool
other Range
return bool

Empty() public static method

public static Empty ( int start ) : Range
start int
return Range

FromIndices() public static method

public static FromIndices ( int start, int end ) : Range
start int
end int
return Range

FromLength() public static method

public static FromLength ( int start, int length ) : Range
start int
length int
return Range

Single() public static method

public static Single ( int start ) : Range
start int
return Range

Property Details

Length public property

public int Length
return int

Start public property

public int Start
return int