Back will return the element that is the last (most recent Set element). If there are no elements this will return nil.
()
| 103 | // Back will return the element that is the last (most recent Set element). If |
| 104 | // there are no elements this will return nil. |
| 105 | func (m *OrderedMap) Back() *Element { |
| 106 | return m.ll.Back() |
| 107 | } |
| 108 | |
| 109 | // Copy returns a new OrderedMap with the same elements. |
| 110 | // Using Copy while there are concurrent writes may mangle the result. |
no outgoing calls