func RemoveByV_L(list L, v V) { keys := generic.MakeSlice(list.TypeK_L()).Interface() vs := generic.ValueOf(v) for i := 0; i < vs.Len(); i++ { val := vs.Index(i).Interface() key := KeyOf_L(list, val) if key != nil { keys = generic.Append(keys, key).Interface() } } list.Remove_L(keys) }
func Iterator_L(list L) V { v := generic.MakeSlice(list.Values_L()).Interface() return generic.Append(v, list.Values_L()).Interface() }
func KeySet_L(list L) K { k := generic.MakeSlice(list.Keys_L()).Interface() return generic.Append(k, list.Keys_L()).Interface() }