Skip to main content

Timeline for Does apex support generics?

Current License: CC BY-SA 3.0

10 events
when toggle format what by license comment
Jul 21, 2017 at 2:12 comment added martin @RenatoOliveira I said that, but yes, that is correct.
Jul 21, 2017 at 2:11 comment added Renato Oliveira You got that "method does not exist" error because you tried to call toString method from Object, which doesn't exist. As Nick said, you should instead convert the object to a string using String.valueOf(obj).
Jul 21, 2017 at 1:59 history edited martin CC BY-SA 3.0
added 432 characters in body
Jul 21, 2017 at 1:54 history edited martin CC BY-SA 3.0
added 432 characters in body
Jul 21, 2017 at 1:38 history edited martin CC BY-SA 3.0
deleted 107 characters in body
Jul 21, 2017 at 1:29 history edited martin CC BY-SA 3.0
added 1137 characters in body
Jul 21, 2017 at 1:01 comment added Nick I'm not sure understand what you mean by handle other possibilities, can you show me number and date example in your answer?
Jul 21, 2017 at 0:59 comment added martin That's what I meant by the comment "handle other possibilities"
Jul 21, 2017 at 0:58 comment added Nick error: Method does not exist or incorrect signature: [Object].toString()
Jul 21, 2017 at 0:53 history answered martin CC BY-SA 3.0