![]() |
|
|
|
Thread Tools | Display Modes |
|
|
|
|
#11 |
|
Programmer
Join Date: Dec 2005
Posts: 40
Rep Power: 0
![]() |
If i had an array called List and was able to iterate through it, pulling out each element like this:
for(i = 0 ; i< List.size()-4 ; i++){
System.out.println(seqList.get(i));
}Is there any way to use this piece of code provided by titaniumdecoy: double x = map.get('A')[0];but like this: double x = map.get(seqList.get(i))[0]; So i don't have to check what value 'i' is before i assign it a value from the map? ^^^Thats giving me errors. |
|
|
|
| Bookmarks |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|