java inventory checker with contains with method
<blockquote>
  <p><strong>Possible Duplicate:</strong><br>
  <a href="http://stackoverflow.com/questions/6881596/android-game-rpg-inventory-system">Android game rpg inventory system</a>  </p>
</blockquote>



<p>Still stuck on making my rpg in java, there's one method I don't know how to implement. Right now, I want to make an inventory checker for the game, like for example it checks how many herbs are in my pack...how many candies I have in my pack and so on. </p>

<p>How can I implement an inventory for my game and how can I show the players what items are in the inventory present?</p>

<p>Is contains method necessary?</p>
