The Artima Developer Community
Sponsored Link

Java Answers Forum
how to store addressbook values using Vectors

1 reply on 1 page. Most recent reply: Nov 24, 2002 7:08 AM by Charles Bell

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 1 reply on 1 page
avis_su

Posts: 1
Nickname: avis
Registered: Nov, 2002

how to store addressbook values using Vectors Posted: Nov 23, 2002 10:16 PM
Reply to this message Reply
Advertisement
Hi Iam creating an address book(with parameters like name,phone number,home address and some other 5fields)using vectors. Iam able to add just the name, how should I proceed to add the rest of the other fields connected to the same name?? Initially I thought of inserting the name and rest of the fields in to a vector but only one field can be added in one vector right(??).
Its crazy to have 5vectors to add those 5 parameters to hold the values..

so how can I implement it with vector or is it possible to do it with vector. what should I do?? Should I use any other data structure??

THANKYOU


Charles Bell

Posts: 519
Nickname: charles
Registered: Feb, 2002

Re: how to store addressbook values using Vectors Posted: Nov 24, 2002 7:08 AM
Reply to this message Reply
Look at the code posted at:
http://www.quantumhyperspace.com/SourceBank/AddressBook.java

It looks a lot like your problem.

Flat View: This topic has 1 reply on 1 page
Topic: I get this error... Previous Topic   Next Topic Topic: help with a loop to read every 10th word

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use