Hardballer's Posts
Nairaland Forum › Hardballer's Profile › Hardballer's Posts
1 2 3 4 5 6 7 8 ... 46 47 48 49 50 51 (of 51 pages)
yes |
CRUDE Yo Momma so fat, she went to the fat contest and came in 1st, 2nd, and 3rd! JUNIT Yo momma's so short, she jumped off the curb to commit suicide. |
dude people bin stealing from their parents (including school fees amongst other thingf) or robbing people (including "obtaining" juniors in sec. school) to buy jewelry's, jerseys, rocawear's, sean john's or snickers waaay b4 rap music you cant pin all of tht on hip hop just wanted to clear tht up |
maybe when nas,eminem and jay z die |
nas |
nasyl your spit so weak you praly have trouble when you tryin to eat |
ima lyrical mystery already makin history don’t be a foe nigga better be a freind of me /ur lyrics be offendin me but ima forgive you I aint gon go hard till this shit goes official/ go thru ma lines n**** im special/ u just a corny wannabe go sit your ass on the dresser/ u put me on blast like u kno I cld rap /but u spit a bunch of trash like u kno im gon ack up /nucca im cracked up /cheap ass lyrics like this wld normally get you whacked son/ u thot u cld diss huh/ so u pop some kris /kick it and relax a bit/ like this ma round i surely won this bitch/ I gave him the best I spit/ but ima swing tha battle axe and then take it from you like a pacifist/ this flows gon make u an activist/ protestin on the votes as if u didn kno or didn ask for it /this is the rap game I kno frm the front to the back of it /n**** go cop a bid cause u just got served u need some asprin/ I didn mean to astound you/ but I had to let you kno that in my name lyrics abound thru /and by this you are bound to lose /this aint a choice nucca /u don’t have to choose/ I just killed you with loose change /and if u wan go on homie then I mus say youre a bit deranged/ u cant win wit rhymes that lame /step up stop takin cheap shots cos i don’t don’t give a shit about the clips u popped /stupid ass n****s usin up rhymes I forgot/ punk n****s this flows a warning shot/ u come back for more then im sure u smoking pot |
your mother so dirty she took a bath and lost weight |
paris hilton for naturally annoying me amy winehouse dont need to explain tht one |
marry a ho?? no |
why the hell wld i call my girl mom?? |
ay mane thnx for the help ill clean up the rest |
i really appereciate the help mane but the teach is askin for like an address book maintenance application the adress book class already exists the app is just to update the adress book i.e add new person, delete a person and modify the data of a person he doesnt want the person class its alredy in the adress book code and dude specified that we must use files to save and read the data . will appreciate the help thnxs again |
Write a complete address book maintenance application. The user of the program has three options: add new person, delete a person and modify the data of a person. You have to decide how to allow the user to enter the values for a new person, and the other options. You must use files in order to save and read the data. Use the AddressBook class provided below. the address book class /* Introduction to OOP with Java 4th Ed, McGraw-Hill Wu/Otani Chapter 10 Sample Program: Address Book Maintenance File: AddressBook.java */ /** * This class is designed to manage an address book that contains * Person objects. The user can specify the size of the address book * when it is created. If no size is specified, then the default size * is set to 25 Person objects. * * @author Dr. Caffeine * */ class AddressBook { //Step 4: Implement the delete method //-------------------------------- // Data Members //-------------------------------- /** * Default size of the array */ private static final int DEFAULT_SIZE = 25; /** * Constant for signaling an unsuccessful search */ private static final int NOT_FOUND = -1; /** * The array of Person objects */ private Person[] entry; /** * The number of elements in the <code>entry</code> array, * which is also the position to add the next Person object */ private int count; //-------------------------------- // Constructors //-------------------------------- /** * Default constructor. * Creates an address book of size 25. */ public AddressBook( ) { this( DEFAULT_SIZE ); } /** * Creates an address book with the designated size. * * @param size the size of this address book. */ public AddressBook( int size ){ if (size <= 0 ) { throw new IllegalArgumentException("Size must be positive." ;} entry = new Person[size]; //System.out.println("Array of "+ size + " is created." ; //TEMP} //------------------------------------------------- // Public Methods: // // void add ( Person ) // void delete ( String ) // Person search ( String ) // //------------------------------------------------ /** * Adds a new Person to this address book. * If the overflow occurs, the array size * is increased by 50 percent. * * @param newPerson a new Person object to add */ public void add( Person newPerson ) { assert count >= 0 && count <= entry.length; if (count == entry.length) { //no more space left, enlarge( ); //create a new larger array } //at this point, entry refers to a new larger array entry[count] = newPerson; count++; } /** * Deletes the Person whose name is 'searchName'. * * @param searchName the name of a Person to delete * * @return true if removed successfully; false otherwise */ public boolean delete( String searchName ) { boolean status; int loc; loc = findIndex( searchName ); if (loc == NOT_FOUND) { status = false; } else { //found, pack the hole entry[loc] = entry[count-1]; status = true; count--; //decrement count, //since we now have one less element assert count >= 0 && count <= entry.length; } return status; } /** * Searches this address book for a Person * whose name is <code>searchName</code>. * * @param searchName the name to search * * @return a Person object if found; otherwise null */ public Person search( String searchName ) { Person foundPerson; int loc = 0; while ( loc < count && !searchName.equals( entry[loc].getName() ) ) { loc++; } if (loc == count) { foundPerson = null; } else { foundPerson = entry[loc]; } return foundPerson; } //------------------------------------------------- // Private Methods: // // void enlarge ( ) // //------------------------------------------------ /** * Enlarges the size of <code>entry</code> array to * eliminate the overflow condition. The new array * is 50 percent larger than the current array. */ private void enlarge( ) { //create a new array whose size is 150% of //the current array int newLength = (int) (1.5 * entry.length); Person[] temp = new Person[newLength]; //now copy the data to the new array for (int i = 0; i < entry.length; i++) { temp[i] = entry[i]; } //finally set the variable entry to point to the new array entry = temp; System.out.println("Inside the method enlarge" ; //TEMPSystem.out.println("Size of a new array: " + entry.length); //TEMP } /** * Finds the index in the array where <code>searchName</code> * is the name of a person to locate. * * @param searchName the name of person to find * * @return the index of the found Person in the array; NOT_FOUND * if the searched person is not found */ private int findIndex( String searchName ) { int loc = 0; while ( loc < count && !searchName.equals( entry[loc].getName() ) ) { loc++; } if (loc == count) { loc = NOT_FOUND; } return loc; } } |
lol |
see thts the thing the lecturer dint cover arrays and files in his lectures(he says we shd go and buy the txtbook) so i really dont know hw to go about it and this assignment is like 15% of the whole mark. I just need the solution to the question |
wld really appreciate help with this assignment im in a real fix Write a complete address book maintenance application. The user of the program has three options: add new person, delete a person and modify the data of a person. You have to decide how to allow the user to enter the values for a new person, and the other options. You must use files in order to save and read the data. Use the AddressBook class provided below. the address book class /* Introduction to OOP with Java 4th Ed, McGraw-Hill Wu/Otani Chapter 10 Sample Program: Address Book Maintenance File: AddressBook.java */ /** * This class is designed to manage an address book that contains * Person objects. The user can specify the size of the address book * when it is created. If no size is specified, then the default size * is set to 25 Person objects. * * @author Dr. Caffeine * */ class AddressBook { //Step 4: Implement the delete method //-------------------------------- // Data Members //-------------------------------- /** * Default size of the array */ private static final int DEFAULT_SIZE = 25; /** * Constant for signaling an unsuccessful search */ private static final int NOT_FOUND = -1; /** * The array of Person objects */ private Person[] entry; /** * The number of elements in the <code>entry</code> array, * which is also the position to add the next Person object */ private int count; //-------------------------------- // Constructors //-------------------------------- /** * Default constructor. * Creates an address book of size 25. */ public AddressBook( ) { this( DEFAULT_SIZE ); } /** * Creates an address book with the designated size. * * @param size the size of this address book. */ public AddressBook( int size ){ if (size <= 0 ) { throw new IllegalArgumentException("Size must be positive." ;} entry = new Person[size]; //System.out.println("Array of "+ size + " is created." ; //TEMP} //------------------------------------------------- // Public Methods: // // void add ( Person ) // void delete ( String ) // Person search ( String ) // //------------------------------------------------ /** * Adds a new Person to this address book. * If the overflow occurs, the array size * is increased by 50 percent. * * @param newPerson a new Person object to add */ public void add( Person newPerson ) { assert count >= 0 && count <= entry.length; if (count == entry.length) { //no more space left, enlarge( ); //create a new larger array } //at this point, entry refers to a new larger array entry[count] = newPerson; count++; } /** * Deletes the Person whose name is 'searchName'. * * @param searchName the name of a Person to delete * * @return true if removed successfully; false otherwise */ public boolean delete( String searchName ) { boolean status; int loc; loc = findIndex( searchName ); if (loc == NOT_FOUND) { status = false; } else { //found, pack the hole entry[loc] = entry[count-1]; status = true; count--; //decrement count, //since we now have one less element assert count >= 0 && count <= entry.length; } return status; } /** * Searches this address book for a Person * whose name is <code>searchName</code>. * * @param searchName the name to search * * @return a Person object if found; otherwise null */ public Person search( String searchName ) { Person foundPerson; int loc = 0; while ( loc < count && !searchName.equals( entry[loc].getName() ) ) { loc++; } if (loc == count) { foundPerson = null; } else { foundPerson = entry[loc]; } return foundPerson; } //------------------------------------------------- // Private Methods: // // void enlarge ( ) // //------------------------------------------------ /** * Enlarges the size of <code>entry</code> array to * eliminate the overflow condition. The new array * is 50 percent larger than the current array. */ private void enlarge( ) { //create a new array whose size is 150% of //the current array int newLength = (int) (1.5 * entry.length); Person[] temp = new Person[newLength]; //now copy the data to the new array for (int i = 0; i < entry.length; i++) { temp[i] = entry[i]; } //finally set the variable entry to point to the new array entry = temp; System.out.println("Inside the method enlarge" ; //TEMPSystem.out.println("Size of a new array: " + entry.length); //TEMP } /** * Finds the index in the array where <code>searchName</code> * is the name of a person to locate. * * @param searchName the name of person to find * * @return the index of the found Person in the array; NOT_FOUND * if the searched person is not found */ private int findIndex( String searchName ) { int loc = 0; while ( loc < count && !searchName.equals( entry[loc].getName() ) ) { loc++; } if (loc == count) { loc = NOT_FOUND; } return loc; } } please mail me at [email]push_thetempo@hotmail.com [/email] |
30 minutes ago when was the last time you watched the news |
damn there is some serious hateration goin on here |
christina milian is light years ahead in beauty but ill say ini edo has a bangin body(just needs to lose a little weight ) |
this kind of stuff you solve yourself whts dne is done nothin anybody sais will change if she is pregnant or not bet you sain i shuda used a condom |
AZ sosa Visualizin the realism of life and actuality Bleep who's the baddest a person's status depends on salary And my mentality is, money orientated I'm destined to live the dream for all my peeps who never made it cause yeah, we were beginners in the hood as five percenters But somethin must of got in us cause all of us turned to sinners Now some, restin in peace and some are sittin in San Quentin Others such as myself are tryin to carry on tradition Keepin the schwepervesence street ghetto essence inside us Cause it provides us with the proper insight to guide us Even though, we know somehow we all gotta go but as long as we leavin thievin we'll be leavin with some kind of dough so, and to that day we expire and turn to vapors me and my capers-ll be somewhere stackin plenty papers Keepin it real, packin steel, gettin high Cause life's a bitch and then you die |
i gotta bail so ill see you later but ill leave ya wit this Bleep you hater |
your flow sound tighter what you do hire a ghost writer |
honstly you have no talent if you run away now it wld be quite gallant |
, you a waste of keys put that keyboard down and be at ease |
i can diss you with ma eyed closed im the main event you just a side show |
nucca you straightup wack |
i grow tired of this you shd go hire a professional diss |
lol at your lyrics i condole mane you finished |
your lines sound a little better well wateva i cant be burnt by a grown bedwetter |
;