API Docs for: 0.7.1
Show:

TupleDictionary Class

Constructor

TupleDictionary

()

Item Index

Properties

Methods

copy

(
  • dict
)

Copy another TupleDictionary. Note that all data in this dictionary will be removed.

Parameters:

get

(
  • i
  • j
)
Number

Parameters:

  • i Number
  • j Number

Returns:

Number:

getByKey

(
  • key
)
Object

Parameters:

  • key Number

Returns:

Object:

getKey

(
  • i
  • j
)
String

Generate a key given two integers

Parameters:

  • i Number
  • j Number

Returns:

String:

reset

()

Remove all data.

set

(
  • i
  • j
  • value
)

Set a value.

Parameters:

  • i Number
  • j Number
  • value Number

Properties

data

Object

The data storage

keys

Array

Keys that are currently used.