question: @ SuppressWarnings ( "unchecked" ) public List < V > values ( ) { int found = 0 ; ArrayList < V > result = new ArrayList < V > ( m_size ) ; for ( OsmElement v : m_data ) { if ( v != FREE_KEY && v != removedKey ) { result . add ( ( V ) v ) ; found ++ ; if ( found >= m_size ) { break ; } } } return result ; }
target:  Return all values in the map. Note: they are returned unordered