Package org.robovm.rt.bro
Class ValuedEnum.AsSignedIntMarshaler
java.lang.Object
org.robovm.rt.bro.ValuedEnum.AsSignedIntMarshaler
- Enclosing interface:
- ValuedEnum
public static class ValuedEnum.AsSignedIntMarshaler extends Object
Marshals a
ValuedEnum as a 32-bit signed value. This is the
default marshaler for ValuedEnums.-
Constructor Summary
Constructors Constructor Description AsSignedIntMarshaler() -
Method Summary
Modifier and Type Method Description static inttoNative(ValuedEnum v, long flags)static <T extends Enum<T> & ValuedEnum>
ValuedEnumtoObject(Class<T> cls, int value, long flags)
-
Constructor Details
-
AsSignedIntMarshaler
public AsSignedIntMarshaler()
-
-
Method Details
-
toObject
public static <T extends Enum<T> & ValuedEnum> ValuedEnum toObject(Class<T> cls, int value, long flags) -
toNative
-