addEntry

abstract fun addEntry(entry: String): Boolean

向枚举中添加一个条目。

Return

如果添加成功,返回 true;否则返回 false。

Parameters

entry

要添加的条目。