WeightedElement
WeightedElement
Kind: global class
- WeightedElement
- instance
- .data :
T
- .isWeightedElement :
boolean
- .equals(other) ⇒
boolean
- .hash() ⇒
number
- .data :
- static
- .from(element, weight) ⇒
WeightedElement.<T>
- .getWeight(object) ⇒
number
- .from(element, weight) ⇒
- instance
weightedElement.data : T
Kind: instance property of WeightedElement
weightedElement.isWeightedElement : boolean
Kind: instance property of WeightedElement
Read only: true
weightedElement.equals(other) ⇒ boolean
Kind: instance method of WeightedElement
Param | Type |
---|---|
other | T |
weightedElement.hash() ⇒ number
Kind: instance method of WeightedElement
WeightedElement.from(element, weight) ⇒ WeightedElement.<T>
Kind: static method of WeightedElement
Param | Type |
---|---|
element | T |
weight | number |
WeightedElement.getWeight(object) ⇒ number
Kind: static method of WeightedElement
Param | Type |
---|---|
object | WeightedElement.<X> |