C# Class BoundedSearch, code

Mostrar archivo Open project: shendongnian/code

Public Methods

Method Description
EqualRange ( IList values, target ) : int>.Tuple

Same as C++'s equal_range()

LowerBound ( IList values, target, int first, int last ) : int

Same as C++'s lower_bound()

UpperBound ( IList values, target, int first, int last ) : int

Same as C++'s upper_bound()

Method Details

EqualRange() public static method

Same as C++'s equal_range()
public static EqualRange ( IList values, target ) : int>.Tuple
values IList
return int>.Tuple

LowerBound() public static method

Same as C++'s lower_bound()
public static LowerBound ( IList values, target, int first, int last ) : int
values IList
first int
last int
return int

UpperBound() public static method

Same as C++'s upper_bound()
public static UpperBound ( IList values, target, int first, int last ) : int
values IList
first int
last int
return int