Marcelo, I don't know any Java, however, just seems strange that it shuffles
the data. Even if it's "not ordered" and "not sorted", why wouldn't it just
return in the existing order?




Marcelo Andrade wrote:
> 
> On Wed, Nov 5, 2008 at 11:46 PM, RyOnLife <[EMAIL PROTECTED]> wrote:
>>
>> Anyone else experienced this problem? How can I get the elements in array
>> returned by Set::extract to be in the same order they're found in the
>> multi-dimensional array?
> 
> I'm still a beginner with CakePHP, but I suppose
> that the concept behind a "Set" of things does not
> imply in any order.
> 
> With an analogy, the "Set" interface in Java is
> called to be intrinsically "not ordered" and "not
> sorted".
> 
> Best regards.
> 
> --
> MARCELO DE F. ANDRADE (aka "eleKtron")
> Belem, PA, Amazonia, Brazil
> Linux User #221105
> 
> [EMAIL PROTECTED] ~]# links http://pa.slackwarebrasil.org/
> 
> > 
> 
> 

-- 
View this message in context: 
http://n2.nabble.com/Set%3A%3Aextract-is-shuffling-elements-in-the-return-array-tp1463184p1463527.html
Sent from the CakePHP mailing list archive at Nabble.com.


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to