Solved

Sorting a simple array by 1 of its fields

Posted on 2004-04-09
3
185 Views
Last Modified: 2010-03-31
I'm really new to java (perhaps you can see that by my question) and i wanted to know how do i sort an array by one of the fields (Name). I'm using Netbeans 3.5.1. Thanks in advance!!!
0
Comment
Question by:hacktek
  • 2
3 Comments
 
LVL 2

Accepted Solution

by:
Thunder_scream earned 50 total points
ID: 10794690
Hi hacktek,
chech this link..might be helpful
http://www.javaalmanac.com/egs/java.util/coll_SortArray.html

Cheers!
0
 

Author Comment

by:hacktek
ID: 10794697
You just hit the spot!!! Thanks a bunch :)
0
 
LVL 2

Expert Comment

by:Thunder_scream
ID: 10794703
hehe.. :) glad I could help
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
even odd program using while loop 3 72
Way to decrease size of apk file 9 104
web application structure 18 111
hibernate insert example 13 37
After being asked a question last year, I went into one of my moods where I did some research and code just for the fun and learning of it all.  Subsequently, from this journey, I put together this article on "Range Searching Using Visual Basic.NET …
In this post we will learn different types of Android Layout and some basics of an Android App.
Viewers learn how to read error messages and identify possible mistakes that could cause hours of frustration. Coding is as much about debugging your code as it is about writing it. Define Error Message: Line Numbers: Type of Error: Break Down…
Viewers will learn about the regular for loop in Java and how to use it. Definition: Break the for loop down into 3 parts: Syntax when using for loops: Example using a for loop:

679 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question