S
Sam
Hello,
if I have something like
whatever_class inst = new whatever_class();
inst.member_1 = value_1;
...
inst.member_n = value_n;
is there any possibility to find out (without explizit asking) what the
types and/or values from inst ?
I have to say that I'm new to JAVA and I was wondering if there is something
similar that I know from Perl with the module Data:umper.
e.g. in Perl:
Data:umper($inst) would result in something like that
{ member_1 => value_1,
.....
member_n => value_n
}
I doubt that there is something similar available (or even possible) but I
just wanted to ask.
Thanks,
Sam
if I have something like
whatever_class inst = new whatever_class();
inst.member_1 = value_1;
...
inst.member_n = value_n;
is there any possibility to find out (without explizit asking) what the
types and/or values from inst ?
I have to say that I'm new to JAVA and I was wondering if there is something
similar that I know from Perl with the module Data:umper.
e.g. in Perl:
Data:umper($inst) would result in something like that
{ member_1 => value_1,
.....
member_n => value_n
}
I doubt that there is something similar available (or even possible) but I
just wanted to ask.
Thanks,
Sam