title: Getting error for generic interface: The interface Observer cannot be implemented more than once with different arguments:
body: <p>I am getting this error in Eclipse while writing a GWT app</p>
  
  <blockquote>
    <p>The interface Observer cannot be
    implemented more than once with
    different arguments:
    Observer&lt;CompositeListData &gt; and
    Observer&lt;DialogBoxAuthenticate&gt;</p>
  </blockquote>
  
  <pre><code>public class CompositeWordLists extends Composite implements Observer&lt;DialogBoxAuthenticate&gt;, Observer&lt;CompositeListData&gt;
  </code></pre>
  
  <p>Here is the interface</p>
  
  <pre><code>public interface Observer&lt;T&gt; {
      public void update(T o);
  }
  </code></pre>
  
  <p>Is this right?  How can I get around this problem without having to create a multitude of Observer classes for every possible event?</p>