"Variants" in Java
I'm wondering if Java offers a good way to simulate the Visual Basic / COM
Variant type. I don't suppose it is possible to have multiple return types
from a single named function, is it.
I've got some Visual Basic architecture that uses variants as return types,
typically for database columns in generic database classes where you don't
know ahead of time whether the column will contain a string, an integer
type, a date, etc.
President, SDA Consulting, Inc.
-- Android Development Center
-- Cloud Development Project Center
-- HTML5 Development Center
-- Windows Mobile Development Center