Class: MeasurementHashtable

MeasurementHashtable

new epiviz.measurements.MeasurementHashtable()

measurements/measurement-hashtable.js, line 14

Classes

Iterator

Methods

clear()

measurements/measurement-hashtable.js, line 123

contains(m){boolean}

measurements/measurement-hashtable.js, line 101
Name Type Description
m epiviz.measurements.Measurement
Returns:
Type Description
boolean

first(){Object}

measurements/measurement-hashtable.js, line 160
Returns:
Type Description
Object

foreach(func, predicate)

measurements/measurement-hashtable.js, line 149

Iterates through all pairs in the map, or until the given function returns something that evaluates to true.

Iterates through all pairs in the map, or until the given function returns something that evaluates to true.

Name Type Description
func function
predicate function optional

get(m){T}

measurements/measurement-hashtable.js, line 74
Name Type Description
m epiviz.measurements.Measurement
Returns:
Type Description
T

isEmpty(){boolean}

measurements/measurement-hashtable.js, line 132
Returns:
Type Description
boolean

iterator(){epiviz.utils.Iterator.<{key: epiviz.measurements.Measurement, value: T}>}

measurements/measurement-hashtable.js, line 197
Returns:
Type Description
epiviz.utils.Iterator.<{key: epiviz.measurements.Measurement, value: T}>

keys(){Array.<epiviz.measurements.Measurement>}

measurements/measurement-hashtable.js, line 186
Returns:
Type Description
Array.<epiviz.measurements.Measurement>

put(m, value)

measurements/measurement-hashtable.js, line 40
Name Type Description
m epiviz.measurements.Measurement
value T

remove(m){boolean}

measurements/measurement-hashtable.js, line 85
Name Type Description
m epiviz.measurements.Measurement
Returns:
Type Description
boolean true if the measurement was in the data structure and was removed and false if the measurement was not in the collection

size()

measurements/measurement-hashtable.js, line 139

returns {number}

.

returns {number}

sorted(comparer){epiviz.measurements.MeasurementHashtable}

measurements/measurement-hashtable.js, line 169

Creates a copy of this hashtable, ordered by keys (measurements)

.

Creates a copy of this hashtable, ordered by keys (measurements)

Name Type Description
comparer function
Returns:
Type Description
epiviz.measurements.MeasurementHashtable

toString(){string}

measurements/measurement-hashtable.js, line 204
Returns:
Type Description
string
comments powered by Disqus