HashTable

class HashTable<T : INode?>(wrapped: IHashTable)

Functions

getLength
Link copied to clipboard
fun getLength(): Int

The length of the array of nodes in this bag.

getSentinel
Link copied to clipboard
fun getSentinel(index: Int): T?

Get a node at a specific index in the bag

lookup
Link copied to clipboard
fun lookup(id: Long): T?

Properties

head
Link copied to clipboard
val head: T?

Get the first node in the bag.

next
Link copied to clipboard
val next: T?

Get the next node based on the current position in the bag.