File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Java in General and the fly likes getting the int value Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of REST with Spring (video course) this week in the Spring forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "getting the int value" Watch "getting the int value" New topic

getting the int value

nicky sajdok

Joined: Jan 22, 2003
Posts: 14
How can i use int numbers[]={1,2,3,4,5,6,7,8,9,10};
and map them out the same way as i have done below with the string keys?
so the out come will be the string keys plus there corresponding numbers.
Dale DeMott
Ranch Hand

Joined: Nov 02, 2000
Posts: 515
Explain a bit more about what you need. I'm not quite sure what you are trying to accomplish.

By failing to prepare, you are preparing to fail.<br />Benjamin Franklin (1706 - 1790)
nicky sajdok

Joined: Jan 22, 2003
Posts: 14
I am having trouble using Integers 1 to 10
and mapping them out with the over two string arrays.
so that at the end of my code i want to print out the integer values, plus the String keys values (which i have already).
so if ben is at postion 1 and 2 i want the outcome to 1,2 = [firstname, lastname]
and so on with the keys.
hope this explains a bit better
I agree. Here's the link:
subject: getting the int value
It's not a secret anymore!