yangyuexiang wrote:
>
> > Hi, Everyone
>
> This is an interesting problem.
>
> I add a list of nodes into a group.
>
> eg. suppose lst has n elements and then
>
> for(Iterator iter = lst.iterator; iter.hasNext(); )
> {
> group.addChild((Node)(iter.next()));
> }
>
> Then the two elements
> Hi, Everyone
This is an interesting problem.
I add a list of nodes into a group.
eg. suppose lst has n elements and then
for(Iterator iter = lst.iterator; iter.hasNext(); )
{
group.addChild((Node)(iter.next()));
}
Then the two elements: o1 and o2 are different:
o1 = group.getChild(n-1