title: Equivalent of C# ObservableCollection in Java
body: <p>I was wondering if there is a data structure that acts like an OberservableCollection almost like in C# that is able to take a certain type.</p>
  
  <p>ex:</p>
  
  <p>In C# i am able to say..</p>
  
  <pre><code> ObservableCollection&lt;Beer&gt; Beer = new ObservableCollection&lt;Beer&gt;();
   Beer.add("Bud"); &lt;br&gt;
   Beer.add("Coors");
  </code></pre>
  
  <p>Assuming that the class Beer is made and we can change the alcohol content so that</p>
  
  <pre><code> Beer[1].content = 5;
  </code></pre>
  
  <p>I was wondering if anyone knows if there is such a data structure/s that work as well with Java.</p>
  
  <hr>
  
  <p>I am a C# programmer, not much of a Java programmer so just wondering. Also, it has to be able to take in a custom type, not generic.</p>