Question: Add any import statement your program might need class Main { public static void main(String[] args) { // Implement the main method according the the

 Add any import statement your program might need

class Main {

public static void main(String[] args) {

// Implement the main method according the the progam specification

}

// // Add any methods, specific to the Main class // based on the problem set specification. //

} // end of Main class

SearchObject:

class SearchObject {

public static int linearSearch(Object[] inputArray, int arraySize, Object keySearch) {

}

public static int binarySearch(Object[] inputArray, int arraySize, Comparable keySearch) { } // end of binary search. }

Tweet:

class Tweet {

// private - Attributes public int tweetId; public String tweetSentiment; public String tweetText;

// Define a constructor public Tweet(int id, String sentiment, String msg) { this.tweetId = id; this.tweetSentiment = sentiment; this.tweetText = msg; }

// overwrite the toString method public String toString() { return String.format(\"%d (%s): %s\", this.tweetId,this.tweetSentiment, this.tweetText); } }

TweetLoader:

import java.io.BufferedReader; import java.io.FileReader; import java.io.IOException;

// // import any additional packages your program might need.

class TweetLoader {

// Implement the methods associated with the TweetLoader class // as described in the problem_set specification.

} // end of TweetLoader class.

This is an from an excel file:tweet_data_sorted.csv

Pos

1459

@Blackberry & @Facebook U R really about to make me throw this @Blackberry in the trash an get an @Apple iPhone! @Facebook upload issues!

Pos

1000

Now all @Apple has to do is get swype on the iphone and it will be crack. Iphone that is

Pos

1005

@Apple will be adding more carrier support to the iPhone 4S (just announced)

Pos

1008

Hilarious @youtube video - guy does a duet with @apple 's Siri. Pretty much sums up the love affair! http://t.co/8ExbnQjY

Pos

1012

@RIM you made it too easy for me to switch to @Apple iPhone. See ya!

Pos

1015

I just realized that the reason I got into twitter was ios5 thanks @apple

Pos

1018

I'm a current @Blackberry user little bit disappointed with it! Should I move to @Android or @Apple @iphone

Pos

1021

The 16 strangest things Siri has said so far. I am SOOO glad that @Apple gave Siri a sense of humor! http://t.co/TWAeUDBp via @HappyPlace

Pos

1026

Great up close & personal event @Apple tonight in Regent St store!

Pos

1028

From which companies do you experience the best customer service aside from @zappos and @apple?

Pos

1033

Just apply for a job at @Apple hope they call me lol

Pos

1036

RT @JamaicanIdler: laughing I think @apple is onto something magical! I am DYING!!! haha. Siri suggested where to find whores and where to h ...

Pos

1039

Laughing I think @apple is onto something magical! I am DYING!!! haha. Siri suggested where to find whores and where to hide a body lolol

Pos

1042

RT @PhillipRowntree: Just registered as an @apple developer... Here's hoping I can actually do it... Any help greatly appreciated!

Pos

1045

Wow. Great deals on refurbed #iPad (first gen) models. RT: Apple offers great deals on refurbished 1st-gen iPads http://t.co/ukWOKBGd @Apple





Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!