i have noticed something about collections, and i'd like to know if it's normal, and what can i do to avoid this.
i do have a Database object (from lotus.domino.* package)
i made a Hashtable "h" containing Database objects.
it seems that when i try to get back Database objects, the h.get(aKey) returns me a Object, not a Database object.
Is it always the same with collections ? do they transform all input in a simple object ? what can i do to keep a Database collection, and not a simple Object collection ? (i'd like to avoid a Database cast)
Best regards,
Elise, XML learning girl X-)
i do have a Database object (from lotus.domino.* package)
i made a Hashtable "h" containing Database objects.
it seems that when i try to get back Database objects, the h.get(aKey) returns me a Object, not a Database object.
Is it always the same with collections ? do they transform all input in a simple object ? what can i do to keep a Database collection, and not a simple Object collection ? (i'd like to avoid a Database cast)
Best regards,
Elise, XML learning girl X-)