func (ns NodeState) String() string {
	var s []string
	for k, v := range nodeStateNames {
		if ns&k != 0 {
			s = append(s, v)
		}
	}
	return "[" + strings.Join(s, " ") + "]"
}
func (ns NodeState) String() string {
	var s []string
	for k, v := range nodeStateNames {
		if ns&k != 0 {
			s = append(s, v)
		}
	}
	return "[" + strings.Join(s, " ") + "]"
}
func ( ns NodeState ) String ( ) string { var s [ ] string for k , v := range nodeStateNames { if ns & k != 0 { s = append ( s , v ) } } return " " + strings . Join ( s , " " ) + " " }
// String satisfies stringer interface.
String satisfies stringer interface .