public Object[] values() {
    Object[] values = new Object[size()];

    Entry[] table = this.table;
    int i = 0;
    for (final Entry entry : table) {
      for (Entry e = entry; e != null; e = e.next) {
        values[i++] = e.value;
      }
    }

    return values;
  }
Returns all of the objects in the map
geode-core/src/main/java/org/apache/geode/internal/admin/ListenerIdMap.java