iText 5

TernaryTree (1)

TernaryTree Public class

Diagram

flowchart LR classDef interfaceStyle stroke-dasharray: 5 5; classDef abstractStyle stroke-width:4px subgraph iTextSharp.text.pdf.hyphenation iTextSharp.text.pdf.hyphenation.TernaryTree[[TernaryTree]] end subgraph System System.ICloneable[[ICloneable]] end System.ICloneable --> iTextSharp.text.pdf.hyphenation.TernaryTree

Members

Properties

Public properties

Type

Name

Methods

Iterator

Keys

get

int

Size

get

Methods

Protected methods

Returns

Name

void

Init

()

void

InsertBalanced

(string``[] k, char``[] v, int offset, int n)

Public methods

Returns

Name

void

Balance

()

object

Clone

()

int

Find

(...)

void

Insert

(...)

bool

Knows

(string key)

void

PrintStats

()

void

TrimToSize

()

Public Static methods

Returns

Name

int

Strcmp

(...)

void

Strcpy

(char``[] dst, int di, char``[] src, int si)

int

Strlen

(...)

Details

Inheritance

  • ICloneable

Nested types

Classes
  • Iterator

Constructors

TernaryTree

Source code

internal TernaryTree()

Methods

Init

Source code

protected virtual void Init()

Insert [1/2]

Source code

public virtual void Insert(string key, char val)

Arguments

Type

Name

Description

string

key

char

val

Insert [2/2]

Source code

public virtual void Insert(char[] key, int start, char val)

Arguments

Type

Name

Description

char``[]

key

int

start

char

val

Strcmp [1/2]

Source code

public static int Strcmp(char[] a, int startA, char[] b, int startB)

Arguments

Type

Name

Description

char``[]

a

int

startA

char``[]

b

int

startB

Strcmp [2/2]

Source code

public static int Strcmp(string str, char[] a, int start)

Arguments

Type

Name

Description

string

str

char``[]

a

int

start

Strcpy

Source code

public static void Strcpy(char[] dst, int di, char[] src, int si)

Arguments

Type

Name

Description

char``[]

dst

int

di

char``[]

src

int

si

Strlen [1/2]

Source code

public static int Strlen(char[] a, int start)

Arguments

Type

Name

Description

char``[]

a

int

start

Strlen [2/2]

Source code

public static int Strlen(char[] a)

Arguments

Type

Name

Description

char``[]

a

Find [1/2]

Source code

public virtual int Find(string key)

Arguments

Type

Name

Description

string

key

Find [2/2]

Source code

public virtual int Find(char[] key, int start)

Arguments

Type

Name

Description

char``[]

key

int

start

Knows

Source code

public virtual bool Knows(string key)

Arguments

Type

Name

Description

string

key

Clone

Source code

public virtual object Clone()

InsertBalanced

Source code

protected virtual void InsertBalanced(string[] k, char[] v, int offset, int n)

Arguments

Type

Name

Description

string``[]

k

char``[]

v

int

offset

int

n

Balance

Source code

public virtual void Balance()

TrimToSize

Source code

public virtual void TrimToSize()

PrintStats

Source code

public virtual void PrintStats()

Properties

Size

public virtual int Size { get; }

Keys

public virtual Iterator Keys { get; }

Generated with ModularDoc