@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;
}

@ 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 ; }
return all values in the map . note : they are returned unordered
