• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

can I add Vectors together?

 
Zoe Peng
Ranch Hand
Posts: 112
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
I have three vectors in my databean. My question is how can I make addressVector is equal to all the cityVector+ stateVector?
I got convert Vector to int error.
Thanks.
Vector addressVector = this.getAddressList();
Vector cityVector = this.getCityList();
vector stateVector = this.getStateList();
public Vector getAddressList(){return addressList; }
public Vector getCity(){return cityList; }
public Vector getStateList(){return stateList; }
public void setAddressList(Vector arg) { addressList = arg; }
public void setCityList(Vector arg) { cityList = arg; }
public void setStateList(Vector arg) { stateList = arg; }

 
Tony Alicea
Desperado
Sheriff
Posts: 3226
5
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am moving this question to the Java in General (beginner) Forum...
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic