Don't know for sure.  I think that the list's string representation is
"nicer" in general, but the list doesn't know what view is on it, so it
can't give a nicer representation when sorted and/or filtered.

Is this code also used in XMLListCollection?

-Alex

On 5/15/13 9:35 PM, "Justin Mclean" <jus...@classsoftware.com> wrote:

>Hi,
>
>On ListCollectionVie we have this:
>
>    public function toString():String
>    {
>        if (localIndex != null)
>        {
>            return ObjectUtil.toString(localIndex);
>        }
>        else
>        {
>            if (list && Object(list).toString)
>                return Object(list).toString();
>            else
>                return getQualifiedClassName(this);
>        }
>    }
>
>Which means it uses a different toString if the collection is filtered or
>sorted. Anyone know why this might be the case?
>
>Thanks,
>Justin

Reply via email to