枚举定义了一个叫nextElement 的方法,该方法用来得到一个包含多元素的数据结构的下一个元素。 参考:https://www.runoob.com/java/java-enumeration-interface.html