C# Class DBreeze.LianaTrie.LTrieKidsInNode

显示文件 Open project: hhblaze/DBreeze Class Usage Examples

Public Properties

Property Type Description
ValueIsEmpty bool

Public Methods

Method Description
AddKid ( int kid, byte ptr ) : void
AddKidPointer ( int kid, byte ptr ) : void
ContainsKid ( int kid ) : bool
Count ( ) : int
GetKid ( int kid ) : LTrieKid
GetKidValue ( ) : LTrieKid

Gets Value kid (before 0-255)

GetKidsBackward ( ) : IEnumerable
GetKidsBackward ( int startFrom ) : IEnumerable
GetKidsForSave ( int reservation ) : byte[]

Returns null, if not necessary to save generation node (cause it didn't change). AllowSave = false;

GetKidsForward ( ) : IEnumerable
GetKidsForward ( int startFrom ) : IEnumerable
GetMaxKid ( ) : LTrieKid
GetMinKid ( ) : LTrieKid
GetPointerToTheKid ( int kid ) : byte[]
LTrieKidsInNode ( ushort pointerLength ) : System
ParseKids ( byte &bKids ) : int

Returns quantity of reservation slots

Returns quantity of reservation slots

RemoveAllKids ( ) : void
RemoveKid ( int kid ) : void
RemoveValueKid ( ) : void
ReplaceValueLinkOnKidLink ( int kid ) : byte[]

Private Methods

Method Description
FindNewMax ( ) : void
FindNewMin ( ) : void
SearchExtremums ( ) : void

Method Details

AddKid() public method

public AddKid ( int kid, byte ptr ) : void
kid int
ptr byte
return void

AddKidPointer() public method

public AddKidPointer ( int kid, byte ptr ) : void
kid int
ptr byte
return void

ContainsKid() public method

public ContainsKid ( int kid ) : bool
kid int
return bool

Count() public method

public Count ( ) : int
return int

GetKid() public method

public GetKid ( int kid ) : LTrieKid
kid int
return LTrieKid

GetKidValue() public method

Gets Value kid (before 0-255)
public GetKidValue ( ) : LTrieKid
return LTrieKid

GetKidsBackward() public method

public GetKidsBackward ( ) : IEnumerable
return IEnumerable

GetKidsBackward() public method

public GetKidsBackward ( int startFrom ) : IEnumerable
startFrom int
return IEnumerable

GetKidsForSave() public method

Returns null, if not necessary to save generation node (cause it didn't change). AllowSave = false;
public GetKidsForSave ( int reservation ) : byte[]
reservation int
return byte[]

GetKidsForward() public method

public GetKidsForward ( ) : IEnumerable
return IEnumerable

GetKidsForward() public method

public GetKidsForward ( int startFrom ) : IEnumerable
startFrom int
return IEnumerable

GetMaxKid() public method

public GetMaxKid ( ) : LTrieKid
return LTrieKid

GetMinKid() public method

public GetMinKid ( ) : LTrieKid
return LTrieKid

GetPointerToTheKid() public method

public GetPointerToTheKid ( int kid ) : byte[]
kid int
return byte[]

LTrieKidsInNode() public method

public LTrieKidsInNode ( ushort pointerLength ) : System
pointerLength ushort
return System

ParseKids() public method

Returns quantity of reservation slots Returns quantity of reservation slots
public ParseKids ( byte &bKids ) : int
bKids byte
return int

RemoveAllKids() public method

public RemoveAllKids ( ) : void
return void

RemoveKid() public method

public RemoveKid ( int kid ) : void
kid int
return void

RemoveValueKid() public method

public RemoveValueKid ( ) : void
return void

ReplaceValueLinkOnKidLink() public method

public ReplaceValueLinkOnKidLink ( int kid ) : byte[]
kid int
return byte[]

Property Details

ValueIsEmpty public_oe property

Indicates that Kids Line contains no Value-Kid
public bool ValueIsEmpty
return bool