ObservedEnum
ObservedEnum
Kind: global class
- ObservedEnum
- new ObservedEnum(value, validSet)
- .getValidValueSet() ⇒
Object.<string, T>
- .set(value) ⇒
ObservedEnum
- .equals(other) ⇒
boolean
- .copy(other)
- .getValue() ⇒
T
- .process(processor)
new ObservedEnum(value, validSet)
Param | Type |
---|---|
value | T |
validSet | Object.<string, T> |
observedEnum.getValidValueSet() ⇒ Object.<string, T>
Kind: instance method of ObservedEnum
observedEnum.set(value) ⇒ ObservedEnum
Kind: instance method of ObservedEnum
Param | Type |
---|---|
value | T |
observedEnum.equals(other) ⇒ boolean
Kind: instance method of ObservedEnum
Param | Type |
---|---|
other | ObservedEnum.<X> |
observedEnum.copy(other)
Kind: instance method of ObservedEnum
Param | Type |
---|---|
other | ObservedEnum |
observedEnum.getValue() ⇒ T
Kind: instance method of ObservedEnum
observedEnum.process(processor)
Kind: instance method of ObservedEnum
Param | Type |
---|---|
processor | function |