zero property
W
zero
final
The weight of an empty path.
- Used as the initial value when summing the weight of a path.
- Represents the additive identity of type
W
. - Has the property:
(w + zero) == w
, wherew
andzero
are of typeW
. - Examples:
int: 0
,double: 0.0
,String: ''
.
Implementation
final W zero;