aspose file tools*
The moose likes Distributed Java and the fly likes divide a message into two groups(even and odd groups) Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Java » Distributed Java
Bookmark "divide a message into two groups(even and odd groups)" Watch "divide a message into two groups(even and odd groups)" New topic
Author

divide a message into two groups(even and odd groups)

sudharani Savadi
Ranch Hand

Joined: Feb 23, 2011
Posts: 30

Hi buddies,

I have a requirement, in that I need to divide the whole data or message into two groups i.e. odd and even groups such as M1,M2..M2n represents even number of messages and M1,M3....M2n-1 represents odd number of messages so can anybody suggest me in finding out the solution. Thanks in advance.



With Regards
Sudha
Nitesh Kant
Bartender

Joined: Feb 25, 2007
Posts: 1638

You need to give more details about your environment.
If it is a messaging system and the queue is ordered, then order of receiving can help you determine the sequence.
However, you should explain more about the intentions of this division (partition)


apigee, a better way to API!
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: divide a message into two groups(even and odd groups)