₦airaland Forum

Welcome, Guest: RegisterLoginWith GoogleTrendingRecentNew

Stats: 3,325,746 members, 8,423,560 topics. Date: Tuesday, 09 June 2026 at 10:02 PM

Toggle theme

Hardballer's Posts

Nairaland ForumHardballer's ProfileHardballer's Posts

1 2 3 4 5 6 7 8 ... 46 47 48 49 50 51 (of 51 pages)

RomanceRe: When You're On A Break Is It Ok To Sleep With Someone Else? by Hardballer(m): 10:29am On Jun 26, 2008
yes
Rap BattlesRe: Yo Mamma, by Hardballer(m): 11:11am On Jun 25, 2008
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.
Music/RadioRe: Rap Music Is Horrible. by Hardballer(m): 11:02am On Jun 25, 2008
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
Music/RadioRe: Is Lil Wayne The Greatest Rapper Alive? by Hardballer(m): 10:56am On Jun 25, 2008
maybe when nas,eminem and jay z die
Music/RadioRe: Nas Vs Jayz by Hardballer(m): 10:53am On Jun 25, 2008
nas
Rap BattlesRe: 2 Lines To Diss The Person Above You by Hardballer(m): 9:50am On Jun 17, 2008
nasyl your spit so weak
you praly have trouble when you tryin to eat
Rap BattlesRe: *Rap *Freestyle * Vol 2 by Hardballer(m): 9:47am On Jun 17, 2008
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
Rap BattlesRe: Yo Mamma, by Hardballer(m): 9:18am On Jun 17, 2008
your mother so dirty
she took a bath and lost weight
CelebritiesRe: Celebs You Wanna Slap? And Why? by Hardballer(m): 9:13am On Jun 17, 2008
paris hilton for naturally annoying me
amy winehouse dont need to explain tht one
RomanceRe: Can You Marry A Prostitute? by Hardballer(m): 9:10am On Jun 17, 2008
marry a ho?? no
RomanceRe: Is It Normal For Nigerian Men To Call Their Girlfriends "Mom"? by Hardballer(m): 8:57am On Jun 17, 2008
why the hell wld i call my girl mom??
ProgrammingRe: Java Peeps Hook Me Up With A Solution Pls by Hardballer(op): 7:10pm On May 28, 2008
ay mane thnx for the help ill clean up the rest
ProgrammingRe: Java Peeps Hook Me Up With A Solution Pls by Hardballer(op): 11:11am On May 25, 2008
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
ProgrammingJava Peeps Hook Me Up With A Solution Pls by Hardballer(op): 11:47pm On May 23, 2008
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."wink;
}

entry = new Person[size];

//System.out.println("Array of "+ size + " is created."wink; //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"wink; //TEMP
System.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;
}
}
ProgrammingRe: Wife Version 1.0 by Hardballer(m): 10:06am On May 22, 2008
lol
ProgrammingRe: Java World: Questions And Solutions (java Only Pls) by Hardballer(m): 10:02am On May 22, 2008
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
ProgrammingRe: Java World: Questions And Solutions (java Only Pls) by Hardballer(m): 11:25pm On May 21, 2008
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."wink;
}

entry = new Person[size];

//System.out.println("Array of "+ size + " is created."wink; //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"wink; //TEMP
System.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]
Forum GamesRe: When Was The Last Time You: by Hardballer(m): 11:44pm On May 02, 2008
30 minutes ago
when was the last time you watched the news
CelebritiesRe: Which Stars Do You Wanna See Go Broke? by Hardballer(m): 11:17pm On May 02, 2008
damn there is some serious hateration goin on here
CelebritiesRe: Christina Milian Vs Ini Edo: Who Is Da Bomb - Brains, Talent And Beauty by Hardballer(m): 5:22pm On May 02, 2008
christina milian is light years ahead in beauty but ill say ini edo has a bangin body(just needs to lose a  little weight )
RomanceRe: My Girlfriend Must Not Get Pregnant! by Hardballer(m): 5:14pm On May 02, 2008
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
Rap BattlesRe: Rap Lines You'll Never Forget by Hardballer(m): 7:28pm On Apr 23, 2008
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
Rap BattlesRe: 2 Lines To Diss The Person Above You by Hardballer(m): 8:27pm On Apr 22, 2008
i gotta bail so ill see you later
but ill leave ya wit this Bleep you hater
Rap BattlesRe: 2 Lines To Diss The Person Above You by Hardballer(m): 8:25pm On Apr 22, 2008
your flow sound tighter
what you do hire a ghost writer
Rap BattlesRe: 2 Lines To Diss The Person Above You by Hardballer(m): 8:22pm On Apr 22, 2008
honstly you have no talent
if you run away now it wld be quite gallant
Rap BattlesRe: 2 Lines To Diss The Person Above You by Hardballer(m): 8:19pm On Apr 22, 2008
, you a waste of keys
put that keyboard down and be at ease
Rap BattlesRe: 2 Lines To Diss The Person Above You by Hardballer(m): 8:17pm On Apr 22, 2008
i can diss you with ma eyed closed
im the main event you just a side show
Rap BattlesRe: 2 Lines To Diss The Person Above You by Hardballer(m): 8:15pm On Apr 22, 2008
nucca you straightup wack
Rap BattlesRe: 2 Lines To Diss The Person Above You by Hardballer(m): 8:15pm On Apr 22, 2008
i grow tired of this
you shd go hire a professional diss
Rap BattlesRe: 2 Lines To Diss The Person Above You by Hardballer(m): 8:07pm On Apr 22, 2008
lol at your lyrics
i condole mane you finished
Rap BattlesRe: 2 Lines To Diss The Person Above You by Hardballer(m): 8:03pm On Apr 22, 2008
your lines sound a little better well wateva
i cant be burnt by a grown bedwetter

1 2 3 4 5 6 7 8 ... 46 47 48 49 50 51 (of 51 pages)