Skip to content

Instantly share code, notes, and snippets.

@RdeWilde
Created September 22, 2010 15:42
Show Gist options
  • Save RdeWilde/591916 to your computer and use it in GitHub Desktop.
Save RdeWilde/591916 to your computer and use it in GitHub Desktop.
package my;
public interface IModel {}
package my;
public interface IWriter
{
public IWriter add( ?????????? target);
}
package my.other;
public class Model implements my.IModel {}
package my.second;
public class Model implements my.IModel {}
// etc.. etc.. etc.. etc.. etc.. etc..
package my;
public class Writer implements IWriter
{
public IWriter add(my.other.Model target)
{
return null;
}
public IWriter add(my.second.Model target)
{
return null;
}
// etc.. etc.. etc.. etc.. etc.. etc..
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment