Searched refs:fromInt (Results 1 – 9 of 9) sorted by relevance
95 assure(Enum1.fromInt(-101) == null); in testEnum1()97 assure(Enum1.fromInt(-99) == null); in testEnum1()98 assure(Enum1.fromInt(0) == null); in testEnum1()99 assure(Enum1.fromInt(99) == null); in testEnum1()101 assure(Enum1.fromInt(101) == null); in testEnum1()114 assure(Enum2.fromInt(-1) == null); in testEnum2()115 assure(Enum2.fromInt(0) == Enum2.VALUE0); in testEnum2()116 assure(Enum2.fromInt(1) == Enum2.VALUE1); in testEnum2()117 assure(Enum2.fromInt(2) == Enum2.VALUE2); in testEnum2()118 assure(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
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 63 milliseconds