Hi Everyone
I am doing some reflection work and go to a little problem.
I am trying to print objects to some GUI tree and have problem detecting arrays in a generic way.
I suggested that :
object instanceof Iterable
Would make the job ,but it does not, (obviously applies only to Lists and Set and whoever implements it.)
So how is that i would recognice an Array Some Object[] , Or long[] or Long[] .. ?
Thanks