Book a Demo

Author Topic: Java's Generics as attributes and return types  (Read 1937 times)

mraspe

  • EA Novice
  • *
  • Posts: 1
  • Karma: +0/-0
    • View Profile
Java's Generics as attributes and return types
« on: May 21, 2013, 08:45:13 pm »
Hi folks,

What is the best way to model/use Java's Generics (esp. with the Collection-API) as attributes and return types in EA? I would prefer to use the "template" approach over the modeling of dedicated classes (i.e. ArrayOfMyClass1, ArrayOfMyClass2 etc.), as it is seems to be an obvious, every-day problem...even for an EA novice ;)

Thanks for your comments
Matthias