Skip to main content

WeightedElement

WeightedElement

Kind: global class

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

ParamType
otherT

weightedElement.hash() ⇒ number

Kind: instance method of WeightedElement

WeightedElement.from(element, weight) ⇒ WeightedElement.<T>

Kind: static method of WeightedElement

ParamType
elementT
weightnumber

WeightedElement.getWeight(object) ⇒ number

Kind: static method of WeightedElement

ParamType
objectWeightedElement.<X>