Searched refs:serializedValueFor (Results 1 – 4 of 4) sorted by relevance
33 assertEquals("A", values.serializedValueFor(ABC.A).toString()); in testConstructFromName()34 assertEquals("B", values.serializedValueFor(ABC.B).toString()); in testConstructFromName()35 assertEquals("C", values.serializedValueFor(ABC.C).toString()); in testConstructFromName()46 assertEquals("A", values.serializedValueFor(ABC.A).toString()); in testConstructWithToString()47 assertEquals("b", values.serializedValueFor(ABC.B).toString()); in testConstructWithToString()48 assertEquals("C", values.serializedValueFor(ABC.C).toString()); in testConstructWithToString()
99 public SerializableString serializedValueFor(Enum<?> key) { in serializedValueFor() method in EnumValues
131 gen.writeString(_values.serializedValueFor(en)); in serialize()
304 g.writeFieldName(_values.serializedValueFor(en)); in serialize()