TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
Boblysan
NA
66
0
retrieving specific items from an ArrayList
Sep 4 2004 2:50 PM
I am really struggling with how to obtain the index of an object in an array list via a specific property value of said object. If anyone could provide me with a method for how to do this, it would be VERY much appreciated. I have an array list that contains several task objects. These objects can have a status of active, inactive, held, alerting, etc. If I have 3 task objects in my arrayList like the ones below... index0 = task.alerting index1 = task.active index2 = task.held How can I cycle through the array list looking for the one with a state of alerting??? Please help. Thank you. Bob
Reply
Answers (
1
)
numbers only
Exporting a dataSet to Excel