Front will return the element that is the first (oldest Set element). If there are no elements this will return nil.
()
| 97 | // Front will return the element that is the first (oldest Set element). If |
| 98 | // there are no elements this will return nil. |
| 99 | func (m *OrderedMap) Front() *Element { |
| 100 | return m.ll.Front() |
| 101 | } |
| 102 | |
| 103 | // Back will return the element that is the last (most recent Set element). If |
| 104 | // there are no elements this will return nil. |
no outgoing calls