@SuppressWarnings("unchecked")
    protected static <T extends FastChatExpandableStringEnum<T>> Collection<T> values(Class<T> clazz) {
        return new ArrayList<T>((Collection<T>) VALUES.getOrDefault(clazz, new ConcurrentHashMap<>()).values());
    }
Gets a collection of all known values to an expandable string enum type.

@param clazz the class of the expandable string enum.
@param <T> the class of the expandable string enum.
@return A collection of all known values for the given {@code clazz}.
chat2db-server/chat2db-server-web/chat2db-server-web-api/src/main/java/ai/chat2db/server/web/api/controller/ai/fastchat/model/FastChatExpandableStringEnum.java