byDescriptor

Lookup the State for a given descriptor code. Unlike valueOf, this method will return UNKNOWN is no matching State constant can be found.

Return

the requested State or UNKNOWN

Parameters

descriptor

a consistent descriptor of the state constant to lookup