Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
    Bookmark Topic Watch Topic
  • New Topic

Generic Java

 
Timothy Leong
Ranch Hand
Posts: 55
  • Mark post as helpful
  • send pies
  • Report post to moderator
hi guys,
I'm trying to use generic java
the code below is actually implementation of linked list. It has to insert in ascending order.
How do I handle the bold portion?
I got 2 linked list. Customer and Transaction. Both are requried to insert in ascending order. for customer, sort according to name and for transaction sort according to the date. How do I amend the bold portion?? thanks


[ September 22, 2005: Message edited by: Timothy Leong ]
 
Layne Lund
Ranch Hand
Posts: 3061
  • Mark post as helpful
  • send pies
  • Report post to moderator
Why do you think the bold portion needs to be changed? What does this code do and how does it differ from what you expect? As you can see from my questions, we need some more details in order to help you fix the problem.

Layne
 
Mark Spritzler
ranger
Sheriff
Posts: 17278
6
IntelliJ IDE Mac Spring
  • Mark post as helpful
  • send pies
  • Report post to moderator
Timothy, you know our policy about duplicate postings. Please do not post duplicate threads. You now have three threads with the same question. Two in this forum and one in the Intermediate forum. I am going to close both that are in this forum and leave it in the Intermediate forum.

Mark
 
    Bookmark Topic Watch Topic
  • New Topic