ExpandableStringEnum<T>.<T>fromString(String name, Class<T> clazz) Method

Definition

Creates an instance of the specific expandable string enum from a String.

protected static T <T>fromString(String name, Class<T> clazz)

Parameters

name
java.lang.String

The value to create the instance from.

clazz
java.lang.Class<T>

The class of the expandable string enum.

Returns

T

The expandable string enum instance.

Applies to