Class StringTable

Index

Constructor methods

Properties

Methods

Constructor methods

constructor(capacity: number): StringTable

Parameters

  • capacity: number

Returns

StringTable

Properties

private count: any

private entries: any

Methods

public addCharArray(key: Array<number>, start: number, len: number): string

Parameters

  • key: Array<number>
  • start: number
  • len: number

Returns

string

private addEntry(text: any, hashCode: any): any

Parameters

  • text: any
  • hashCode: any

Returns

any

private findCharArrayEntry(key: any, start: any, len: any, hashCode: any): any

Parameters

  • key: any
  • start: any
  • len: any
  • hashCode: any

Returns

any

private grow(): any

Returns

any

private static textCharArrayEquals(text: any, array: any, start: any, length: any): any

Parameters

  • text: any
  • array: any
  • start: any
  • length: any

Returns

any