I'll try to examine strings more carefully hehe. (I had problem added that I may not understood how Vector Methods works. I only know a few methods at the moment).
Have a good day
Type: Posts; User: Rexshine
I'll try to examine strings more carefully hehe. (I had problem added that I may not understood how Vector Methods works. I only know a few methods at the moment).
Have a good day
OH MY GOD !
I would delete all my code ant start by zero using only arrays if you don't tell me this.
thank you very much
thank you for your time :rolleyes:
FIXED:
...
for(int i=0; i<vFrases.size() ;i++){
for(int j=0; j<vFrases.elementAt(i).length ;j++){
System.out.println("vFrases.elementat("+i+")["+j+"] "+vFrases.elementAt(i)[j]);...
do you mean this?
for(int k=0; k<v.size();k++)
System.out.println(v.elementAt(k));
the API says :
contains(Object o)
Returns true if this vector contains the specified element.
i was many hours debugging, my last step is posting here :P (i deleted the maaaany comments of printlns and fors that i have for you dont go crazy :P)
i even drawed it in a paper many times but...
I am java begginer, i don't know what is a map /hasmap i am training with vectors and solving problems with them :o
--- Update ---
sorry i edited first post with right code. i...
General explaination:
Hi, I want to fill a vector of an array of strings tokenized that I pass in the arguments, then. I must fill an array that contain only once each word that appear in all...