If this is your first visit, be sure to
check out the FAQ by clicking the
link above. You may have to register
before you can post: click the register link above to proceed. To start viewing messages,
select the forum that you want to visit from the selection below.

set & get functions

if anyone can help on this one.
i'm trying to create one function to consolidate all my set functions for
the attributes in my class, and one function for all the get methods. can
i do that? so far i was able to just send multiple arguments into the set
function and that worked. but no way can i fiugure out how to return more
than one value and one data type from the get function.
thanks in advance

Note that the return value must always be Object. Native types will need
to be wrapped by their class equivalents. eg. int = Integer, float = float.

Regards,
Kent

"maz" <mazenalie@yahoo.com> wrote:
>
>if anyone can help on this one.
>i'm trying to create one function to consolidate all my set functions for
>the attributes in my class, and one function for all the get methods. can
>i do that? so far i was able to just send multiple arguments into the set
>function and that worked. but no way can i fiugure out how to return more
>than one value and one data type from the get function.
>thanks in advance
>