Are you sure that line FullTime David Jonathan FT1001 50000 gives FOUR Strings or it gives FIVE Strings? Depends on CSVReader.readTechnicians() Can understand that name is David AND Jonathan or it is just read name:David and id :Jonathan(wrong).. And in what line says exception occuring?
jimakoskx
Posts
-
Java assignmnent due tonigh!! error message "Index 1 out of bounds for length 1" -
Relative SortingSo,,, even if he mean that 2 must be first ,1 second ,8 3rd and 3 4th,,, then lets see steps from input 2 1 2 5 7 1 9 3 6 8 8 arr2[2 1 8 3] 2 ->[2] 1->[2,1] because 1 is after 2 in arr2 2->[2,2,1] or [2,1] depends if he wants/accept same that also didnt clarified. 5->[2,2,1,5] and now arr2->[21835] but if this is the case what will happen if after 5 come 0? will again start from beginning?..because say " add the these elements at the end of the array in sorted fashion" 'Sorted fashion' here mean sorted only for NEW numbers like ar2[21835]->ar2[218305] ???
-
Relative SortingYou gave the input but you didnt gave the output ,,for us to undertand exactly what he wants. What does he mean with 'relative order'? 2 1 2 5 7 1 9 3 6 8 8 will become 1,1,2,2,3,5,6,7,8,8,9 But i dont undertand what we want arr2 to become...so to help as i am resting in summer.
-
How to package Jar by copying ONLY USED classes from onother jar ?!Hi all, I am just an amateur javac user, buidling occasionally some simple applications. Meaning i dont know much of programming generally. I will try to express my problem as quick and clearly. Here it is. I am using Netbeans. I have a 'jimakoskx' Project trying to have there all my succesful/interesting classes that occasionally i may write....in years. Like my library Project. Lets say i have there a 'mess' of 200 classes (library classes meaning some of them importing 'some of them' ..others may be independent etc) ---- Now lets say that a friend ask me a simple application. And because of my Library Project i am ready to finish this application by just a)Create a new Project b)Import the Library project (Properties->Libraries->add) .......(Copy dependencies because i want to give the 'client' the jar file ) c)easy write the new application ... My problem is NOT that i must give to client the FOLDER containing the application.jar and the library jar. Ok..even if there be some solution ...this is not what made me come here to ask. My problem and my question is the following. My application jar use lets say only 1 class of my library jar. But because the library jar lets say is 2 MB then i am distributing (for the application) 2 MB (by importing library) ...plus...some KB of the actual ('new') application. Now...if this is a big problem .....i can solve this either by manually copy the interesting classes from library to actual project either by ...(lets say i have nothing to do)...by creating a program that do it for me. And the question is ... Is there a way doing this in Netbeans ??? Thank in advance...