Code example for Hashtable

Methods: values

0
	/** Get all tweets 
	 * 
	 * @return     All tweets 
	 */ 
	public ArrayList<Tweet> getAllTweets() {
		return new ArrayList<Tweet>(tweets.values());
	}	 
 
	/* Asynchronous fetching of tweets from twitter.com */ 
	private class FetchTweetsTask extends AsyncTask<Void, Void, Boolean> {
 
		@Override 
		protected Boolean doInBackground(Void... s) {
			return fetchTweets(); 
		} 
 
		@Override 
		protected void onPostExecute(Boolean result) {			
			if(result && observers != null)
				observers.notifyChanged();
		}