Searched refs:fromInt (Results 1 – 10 of 10) sorted by relevance
93 assertTrue(Enum1.fromInt(-101) == null); in testEnum1()95 assertTrue(Enum1.fromInt(-99) == null); in testEnum1()96 assertTrue(Enum1.fromInt(0) == null); in testEnum1()97 assertTrue(Enum1.fromInt(99) == null); in testEnum1()99 assertTrue(Enum1.fromInt(101) == null); in testEnum1()113 assertTrue(Enum2.fromInt(-1) == null); in testEnum2()114 assertTrue(Enum2.fromInt(0) == Enum2.VALUE0); in testEnum2()115 assertTrue(Enum2.fromInt(1) == Enum2.VALUE1); in testEnum2()116 assertTrue(Enum2.fromInt(2) == Enum2.VALUE2); in testEnum2()117 assertTrue(Enum2.fromInt(3) == null); in testEnum2()[all …]
44 public static DocumentType fromInt(int value) in fromInt() method in DocumentType
45 public static DocumentType fromInt(int value) in fromInt() method in DocumentType
47 public static DocumentType fromInt(int value) in fromInt() method in DocumentType
67 this.pageStyleLayout = PageStyleLayout.fromInt(styleValue); in CheckPageLayout()
72 this.shadowFormat.Location = ShadowLocation.fromInt(locationValue); in CheckShadowFormat()
110 TypeClass typeClass = TypeClass.fromInt(b & 0x7F); in readType()
281 _typeClass = TypeClass.fromInt(i); in Type()
265 adjust = ParagraphAdjust.fromInt(AnyConverter.toInt( in setAttribute()
2184 public static Enum1 fromInt(int value) { in fromInt() method in TestAny.Enum1
Completed in 45 milliseconds