func (mm *FastIntIntMap) OrderedSlice(keys []int) FastIntIntTuples {
	if mm == nil {
		return nil
	}

	s := make(FastIntIntTuples, 0, len(mm.m))
	for _, k := range keys {
		v, found := mm.m[k]
		if found {
			s = append(s, FastIntIntTuple{k, v})
		}
	}
	return s
}
// OrderedSlice returns the key/value pairs as a slice in the order specified by keys.
OrderedSlice returns the key/value pairs as a slice in the order specified by keys.
// OrderedSlice returns the key / value pairs as a slice in the order specified by keys .
func (mm *FastIntIntMap) OrderedSlice(keys []int) FastIntIntTuples {
	if mm == nil {
		return nil
	}
	s := make(FastIntIntTuples, 0, len(mm.m))
	for _, k := range keys {
		v, found := mm.m[k]
		if found {
			s = append(s, FastIntIntTuple{k, v})
		}
	}
	return s
}
func ( mm * FastIntIntMap ) OrderedSlice ( keys [ ] int ) FastIntIntTuples { if mm == nil { return nil } s := make ( FastIntIntTuples , 0 , len ( mm . m ) ) for _ , k := range keys { v , found := mm . m [ k ] if found { s = append ( s , FastIntIntTuple { k , v } ) } } return s }
OrderedSlice returns the key/value pairs as a slice in the order specified by keys.
OrderedSlice returns the key / value pairs as a slice in the order specified by keys .