GlassesType Enum

Definition

Defines values for GlassesType.

public enum GlassesType
Inheritance
java.lang.Object
java.lang.Enum<GlassesType>
GlassesType

Fields

NO_GLASSES

Enum value noGlasses.

READING_GLASSES

Enum value readingGlasses.

SUNGLASSES

Enum value sunglasses.

SWIMMING_GOGGLES

Enum value swimmingGoggles.

Methods

fromString(String value)

Parses a serialized value to a GlassesType instance.

public static GlassesType fromString(String value)

Parameters

value
String

the serialized value to parse.

Returns

the parsed GlassesType object, or null if unable to parse.

toString()

public String toString()

Parameters

value
String

the serialized value to parse.

Returns

String

Applies to