Class: Toybox.Lang.Method
- Inherits:
-
Toybox.Lang.Object
Overview
See Also:
Instance Method Summary collapse
-
hashCode() as Lang.Number
Get a hash code value for a Method.
-
initialize(aClass, aMethod as Lang.Symbol)
Method Constructor.
-
invoke(parameters...) Lang.Object
Invoke a Method.
Instance Method Details
hashCode() as Lang.Number
Get a hash code value for a Method. This computes a 32-bit Number that is typically used as an index when placing Objects into a Dictionary. Hash code values have the following characteristics:
-
The computed hash code is constant for the lifetime of an Object
-
If two Objects are equal, their hash codes will be equal
initialize(aClass, aMethod as Lang.Symbol)
Method Constructor.
invoke(parameters...) Lang.Object
Invoke a Method.