A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Java in General
need to find index of element in multidimensional array
Joined: Aug 30, 2011
Aug 30, 2011 02:09:17
I have an array "arr" that is an array of objects. Each object has the same 7 properties.
I want to find the index of the object with a property that matches a certain value x in the array arr. How can i accomplish this?
The array has hash tables associated with it.
arr [ obj [ i ] . property1 + "_" + obj [ i ] . property2 ] = arr [ i ] ;
so whats the index of the object where .property1 = x ?
Education consultants in India
Did you see how Paul
cut 87% off of his electric heat bill with 82 watts of micro heaters
subject: need to find index of element in multidimensional array
Very Interesting Question
struts iterate tag
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2013