code: public static List<Mango> getInstances() {
      List<Mango> mangos = new ArrayList<Mango>();
      for (Mango instance : instances) {
        mangos.add(instance);
      }
      return Collections.unmodifiableList(mangos);
    }
docs: 获得mango实例