Code example for ConcurrentHashMap

Methods: isEmpty

0
		return new StockQuote(stocks.get(symbol));
	} 
 
	@Override 
	public boolean isEmpty() { 
		if (stocks.isEmpty()) return true;
		return false; 
	} 
 
	@Override 
	public int getSize() { 
		return stocks.size();
	} 
 
 
}